Book a Demo

Author Topic: RTF docgen bookmarks  (Read 2876 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
RTF docgen bookmarks
« on: March 14, 2019, 11:25:28 pm »
This section is from the help page about the usage of bookmarks in RTF template
Quote
All .Start and .End bookmarks that enclose a labeled field will hide the label in the report if the field has no content; for example:
     -  The bookmarks Element.Keywords.Start and Element.Keywords.End enclose the Keywords
       {Element.Keywords} report field, but if an element has no keywords, the Keywords label in the
        generated report is hidden and the space closed up
All Begin and End bookmarks containing the string _LIST_ will add a comma to the enclosed section, so that all values extracted from the model for that section will be presented in a comma-separated list; for example:
     -  The bookmarks Pkg_Element_Meth_MethParameter_LIST_Begin and
        Pkg_Element_Meth_MethParameter_LIST_End in the parameter section set a comma that, in the
        report, is inserted between the multiple parameter name/type pairs in the section
All Begin and End bookmarks containing the string _TITLE_ will add a line break and a value title to the field, and present the values extracted from the model as a vertical list underneath the title; for example:
     -  The bookmarks Pkg_Element_Meth_FeatTagVal_TITLE_Begin and
        Pkg_Element_Meth_FeatTagVal_TITLE_End in the Tagged Value section insert a line space and
        the heading 'Properties', underneath which is printed, in the report, the names and values of the
        parameter Tagged Values
I know how to use the simple Start/End bookmarks to hide some text, but I'm clueless on how to use the LIST and TITLE bookmarks.
I'm trying to hide the title "Restrictions" in case i don't have any constraints on my element.

How do I know the name of the bookmark to use? I didn't find any explanation on how to make a string like "Pkg_Element_Meth_FeatTagVal" or "Pkg_Element_Meth_MethParameter"

Geert