ARIS User Group Deutschland (German only)
Register
ARIS Process Mining in action - Live Demo
Register
AGNL Thema-sessie Architectuur (Dutch only)
Register

View all
AS

Hi!

The problem of this code is: the FontList[0].Font(nLocale) just overwrites the font of the attribute, but I want them to be merge. For example: I would like to change only font size of an attribute when it's printed out. Looking forward to hear from you. Thanks

var nLocale = Context.getSelectedLanguage()

var p_aModel = ArisData.getSelectedModels()

var p_StyledValue = p_aModel[0].Attribute(Constants.AT_NAME, nLocale).getHTMLFormattedValue())

var FontList = ArisData.getActiveDatabase().FontStyleList()

p_StyledValue = p_StyledValue.getMergedFormatting(FontList[0].Font(nLocale) )

p_output.OutputFormattedText( p_StyledValue.getHTML() )

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • Profile picture for user syarafuddinhilmi
  • 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