Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: imjorge on May 14, 2007, 09:57:21 am

Title: Generate report wih heading hierarchy
Post by: imjorge on May 14, 2007, 09:57:21 am
Hi,

I have a structure like the following:

+ Package 1
  + Package 1.1
     + Package 1.1.1
  + Package 1.2
+ Package 2

And when i generate a report I would like something like the following:

1. Package 1
<everything under Package 1>
1.1. Package 1.1
<everything under Package 1.1>
1.1.1. Package 1.1.1
<everything under Package 1.1.1>
1.2. Package 1.2
<everything under Package 1.2>
2. Package 2
<everything under Package 2>

The problem is that I don't seem to be able to set the numbering correctly, it always generates Level 2 headings. Is there any template that already ships with EA that does this, or do you have any hints that can put me into the right direction or even a working template?
Title: Re: Generate report wih heading hierarchy
Post by: Graham_Moir on May 16, 2007, 12:21:59 am
Have you looked at the white paper on using the RTF generator which includes some info on numbering ?

If not,  see

http://www.sparxsystems.com.au/downloads/whitepapers/Working_with_the_RTF_generator.pdf