Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Apply User-Defined Section Numbering

In your report template, you might want to number the section levels, with a numbering format of your own design. For example:

     1. Package level 1

     1.1 Package level 2 (child Package)

     1.1.1 Element Level 1

     1.1.1.1 Element (child element)

To define the numbering format you:

  • First create a numbering list, then
  • Create a set of list overrides for this list

In the overrides, you change the initial 1.0.0 setting to 1.1.1. You can then apply the numbering list to the headings set for Packages and elements, using paragraph numbering.

Access

Ribbon

Document-Edit > Edit > Edit > List and Overrides

Define the numbering format

Step

Action

See also

1

To create the numbering list, select the 'Create List Item' menu option.

The 'List Properties' dialog displays:

  • In the 'List Name' field, type a name for the list
  • Leave the 'Multi-level list' checkbox selected
  • If you have added sections to your document and want to restart numbering for each new section, select the 'Restart at section break' checkbox
  • Click on the OK button to close the dialog

2

To create the list override, select the 'Create List Override' menu option.

The 'List Override Properties' dialog displays:

  • In the 'List to Override' field, type or select the name of the list you have just created
  • Leave the 'Override Levels' checkbox selected
  • Click on the OK button to close the dialog

3

To set up the list level properties for a level, select the 'Edit List Level' menu option.

The 'List Level properties' dialog displays.

  • Select the 'List item' radio button and type or select the list item you have just created
  • Set the 'List Level' field to '1' (for the Package Section) and the 'Number text' field to '~1~'
  • Click on the OK button to save the values and close the dialog

4

Select the 'Edit List Level' menu option again to re-open the dialog:

  • Select the 'List item' radio button and type or select the list item you have just created
  • Set 'List Level' to '2' (for the 'Element Section' or 'Child Package Section', for example)
  • Set 'Start at' to '1' (to ensure that numbering at this level begins at 1.1 rather than 1.0)
  • Click on the OK button to close the dialog and save the changes

5

Repeat steps 3 and 4 for each additional list level to need, incrementing the List Level number and resetting Start at to 1 each time.

Apply the defined numbering levels

Step

Action

See also

1

In the 'Content' panel of the Document Editor, select the first item of text to be numbered (for example, Package).

A simpe report template for reporting on models in Sparx Systems Enterprise Architect.

2

Set the text style to one of the Heading styles (Heading 1 to Heading 9), using the 'Style' drop-down field in the Document Editor toolbar.

Setting the Heading style to be used in numbering on an Enterprise Architect report template.

3

Right-click on the text and select the 'Paragraph | List Numbering' menu option.

The 'Apply paragraph numbering using Lists' dialog displays.

  • In the 'List' panel, select the required List and Override combination
  • Set the 'Level' field to the required level (1, for the top level)
  • Click on the OK button to close the dialog, and check that the required level has been applied to the selected text

A simple example of setting Numbering using the Heading Style in Sparx Systems Enterprise Architect.

4

Repeat step 3 for the next level (Element), but change the 'Level' field to 2.

Setting numbering on Element section in Sparx Systems Enterprise Architect.

5

Continue applying the overrides for each lower section level as necessary, then generate your document.

The output will be numbered and formatted, as illustrated by the example.

Numbering Level Example

The generated output from a simple Template using numbering.