Author Topic: Headings and document generation  (Read 2580 times)

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Headings and document generation
« on: September 27, 2020, 09:34:25 pm »
With 'Levels', EA means the level of 'nesting' correct or not?
Thus in this case below:
Package = Level 1 (the parent of all)
Element = Level 2 (child of package)
Diagram = Level 3 (child diagram of element)

Code: [Select]
package >
element >
{Element.Name}
Description
{Element.Notes}

diagram >
Diagram
{Diagram.DiagramImg}
< diagram
< element
< package

I defined some heading styles to use in my templates for document generation (heading 1, heading 2, ...)

My goal is to print the Element.Name in heading 1, and the Element.Notes (description) and die diagram image (Diagram) in heading 2. 
I applied the correct heading styles to the titles and fields in my template. But after generating, the diagram title is always in heading 3. In one way or another this sounds 'logic', because I'm lowering a level... But when I define this heading explicit as heading 2, I expect that EA uses heading 2 and not heading 3...

When I use heading 1 for the diagram, the generation is correct and the title for Diagram is displayed in heading 2. Geert told me that this is normal behaviour in EA, but is there really no other way to solve this cleanly without defining a higher heading?

I experimented a bit with 'Lists and Overrides' but it seems this is only do deal with the numbering levels, but you can't manipulate the heading levels, right?

« Last Edit: September 27, 2020, 09:36:11 pm by MatthiasVDE »