Book a Demo

Author Topic: Customizing Table of Contents  (Read 3295 times)

Francisco

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Customizing Table of Contents
« on: December 04, 2008, 03:02:26 pm »
Hi everyone,

I wonder if there is a way to customize the table of contents from the template.

I'm looking for a way to only show two levels in the the Table of Contents instead of listing down every single item that is in the generated document.

Although I delete the {Element.Name} from the Table of Contents the generated document lists down all the items like if I wouldn't have deleted the {Element.Name} level.

Did anyone have the same experience?

Below an example of what I did.

[edit]

Table of Contents (Original)

User Requirements..................................3
    {Pkg.Name}..........................................3
       {Element.Name}.................................3

[/edit]


[edit]
Table of Contents (What I tried)

User Requirements.................................3
    {Pkg.Name}.........................................3

[/edit]

Thanks,
Francisco

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Customizing Table of Contents
« Reply #1 on: December 05, 2008, 03:39:03 pm »
EA RTF reporting is setup to work with the incremented Heading Fonts. These are incremented for each level of Package/Element that is parsed. If you want to set this as a fixed increment you can try either:
 - In the Contents Area - Change the line with the {Element.name} field from a Heading font to a Normal font.
OR
 - Setting: F8 | Advanced | Adjust Heading Levels - to heading 2 - to restrict the incrementation.
OR
- You can set up a TOC in a Word document with levels set to 2 and import this as a starter for a new template in EA.

I would suggest you have a look at more details on this in the Whitepaper on RTF report generation available from:
http://www.sparxsystems.com.au/resources/whitepapers/index.html