Hi,
I got that you can use Attr.getHTMLFormattedValue().getHTML() to get what the format users will enter in an object's attributes (so to keep bold , underline, color ).
But can you have a mixed solution that keeps those formats, but still define the font and size ?
Because if I use Attr.getHTMLFormattedValue().getHTML() with Output.outputFormattedText()
I may end up with some "Times New Roman" where I actually don't want.
Can Output.DefineF() only define a format with the font and size while keeping the rest ?
Many thanks.
Ok, I tried to
Output.outputFormattedText (Attr.getHTMLFormattedValue().getHTML());
INSIDE a fomated paragraph ( beginParagraphF() ).
and i got an error telling me that it's not allowed. So i'm kinda stuck here.
Not able to fix a font for an attribute's text while keeping the remaining formatting used in Designer.
There must be a simple solution I am overlooking because I am new to Aris Script.
Any help appreciated.