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

Prev Next

Create Report Packages

If you want to create a series of documents - or sections of a document - that are individually tailored but are generated and organized as a single unit, you can design each document in its own Model Document element but organize these elements under a Report Package. This is a Package element with a child Common diagram to which you add the Model Document elements. You can then generate a document with common contents and the headers and footers, and each section having its own appearance defined by a template appropriate to the section content. When you add Model Document elements to a Report Package, the Report Package element resembles this:

A Virtual Report Package used for generating a virtual document in Sparx Systems Enterprise Architect.

The Report Package element and child diagram are listed in the Browser window as shown:

A Virtual Report Package viewed from the Project Browsed that is used for generating a virtual document in Sparx Systems Enterprise Architect.

Create a Report Package



See also


Open or create a diagram in which to create the Report Package. The diagram can be of any type, although 'Documentation' automatically provides the correct Toolbox page.

Add New Diagrams


If the Toolbox 'Documentation' page is not already shown, click on Search to display the 'Find Toolbox Item' dialog and specify 'Documentation'.

Diagram Toolbox Virtual Documents


Drag the 'Report Package' icon onto the diagram.

The system prompts you for the name of the Report Package element.


Type the element name and click on the OK button.

The system creates the Report Package element and a child Custom diagram of the same name.


If creating a Report Package for an HTML report, go to step 6.

Otherwise, open the 'Tags' tab of the Properties window (the 'Start > Desktop > Design > Properties' ribbon option) and click on the Report Package element. A number of Tagged Values are available, the first set of which you can use to define the Report Constants for the document cover page details:

  • ReportAlias
  • ReportAuthor
  • ReportClipboard
  • ReportDateLong
  • ReportDateShort
  • ReportFilename
  • ReportFilenameShort
  • ReportKeywords
  • ReportName
  • ReportSource
  • ReportStatus
  • ReportSummary
  • ReportTitle
  • ReportVersion
Tagged Values


Return to the Browser window and open the Report Package child diagram. At this point, you can provide the content for the generated document, by creating Model Document elements on the child diagram

Create Model Document


Having set up the Report Package, and created or added and set up its Model Documents as required, you can generate the document report on the Report Package Document; this pulls in the contents of the Model Documents.

Generate the Document