Profile picture for user S_Schulz

Hello everyone, 
I have created a report with which I can insert a header into a new, empty BPMN process.
However, the individual attributes that are to be displayed in the header remain in one line and do not adapt to the length of the header. No line break is created. How do I adjust this?

as an example for an attribut which is placed: 

       //Prozessbeschreibung Text
       var prozessbeschreibungText = "Prozessbeschreibung: ";  // Fester Textbaustein
       var prozessbeschreibungTextObj = model.CreateTextOcc(x+1050,y+355,prozessbeschreibungText)
       prozessbeschreibungTextObj.AttrOccList()[0].setFontStyleSheet(fontAttrFU)        
       //Prozessbeschreibung405
       var prozessbeschreibungTypeNum = ArisData.ActiveFilter().UserDefinedAttributeTypeNum("AT_DESC");
       var prozessbeschreibungObj = model.CreateTextOcc(x+1500,y+355,prozessbeschreibungTypeNum)
       prozessbeschreibungObj.AttrOccList()[0].SetPortOptions(Constants.ATTROCC_PORT_FREE, 4)
       prozessbeschreibungObj.AttrOccList()[0].setFontStyleSheet(fontAttr)   

The content of the "prozessbeschreibungTypeNum" attribute varies in length and can therefore be very long. It is only not displayed with a line break.

Many thanks in advance

by Stephan Schulz Author
Posted on Thu, 06/20/2024 - 08:55

Update: I have solved the problem with the size limitation of the text box. If the end of the TextBox is reached, a line break is automatically created.

prozessbeschreibungObj.AttrOccList()[0].setTextBoxSize(1470,45)

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CP
  • BZ
  • Profile picture for user TEF_Bernd
  • ПЦ
  • CR
  • 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