DD

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.



 

by David Dierick Author
Posted on Wed, 11/16/2011 - 14:28

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.

0
by Albina Schupak
Posted on Mon, 12/07/2015 - 14:26

Hi,

I'm also doing some work around in order to have the same effect. I tried to parse the HTML string and get the results but I'm not sure this is right way to do.

Any suggestions?

Thanks.

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CR
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock