Generate Document Reports

When you want to generate a document report on part of your model, you have a number of options for selecting the object to document, and for defining how your document is to be generated.

A document report describes an element or, more usually, a Package in the model; therefore, your first step is to select the Package or element to generate the document for, from the:

·Project Browser
·Package Browser
·Specification Manager
·Diagram List or
·Model Search

For a Package, you can also define how any diagrams in the Package are to be set out in the document; you do this in the Diagram Properties dialog for each diagram. When you have prepared and selected your Package, you open the Generate Documentation dialog and configure the parameters for generating the document.

A tutorial for quickly creating a basic document from the Example model is provided in the second of these two tables. Repeat the tutorial with different selections in the drop-down fields, to see what the system can generate for you automatically.

Access    Project Browser | Click on Package: F8 or
Diagram element: F8

Generating reports



See also

Alternative ways to open the Generate Documentation dialog

Use one of the following methods:

·Click on a Package, then select the Package | Documentation | Document Generator (RTF/PDF/DOCX) menu option
·Right-click on the Package and select the Documentation | Generate  Documentation context menu option
·In a diagram, click on a specific element and select the Element | Generate Documentation menu option
·In the Specification Manager, click on the Reporting icon drop-down arrow and select the Generate Documentation (RTF/PDF/DOCX) menu option
·In the Diagram List, Package Browser or Model Search, select one or more items, right-click and, from the context menu, select either Documentation | Generate Documentation for each selected Item or Documentation | Generate Documentation for selected Items


Generate Documentation

Generate report on elements from Package Browser or Model Search

When you select to create a report from the Diagram List, Package Browser or Model Search tools, you can generate an element-level report rather than a Package-level report, and you have additional flexibility in selecting:

·The type of element to report on
·The specific elements to report on, together or separately, whether in the same Package or not

For example, you might want to find all elements with test cases, with the intention of reporting on some or possibly all such elements; with the Diagram List or Package Browser, you would identify these elements yourself within the list of all elements in a selected diagram or Package, but with the Model Search you can automatically pick out the elements across a section of the model or across the whole model, as required.

The search filtering could be for specific test cases; however, the results are by element so if there are test cases outside the range in any element that has a filtered test, these elements are listed as well.

Having generated the list of elements, you can select individual elements, blocks of elements, or all elements from it and then use the context menu to generate one report on all of the selected elements, or a separate report on each element.


Diagram List

Package Browser

Model Search


Generate and view an example report immediately



See also


Open the EAExample project.




In the Project Browser, expand the Testing View and right-click on the Testing Package.




Select the Documentation | Generate Documentation context menu option.

The Generate Documentation dialog displays.




In the Output to file field, click on the ( ... ) button and browse for a convenient file location in which to hold the generated report.




In the Template field, click on the drop-down arrow and select Basic Report.




In the Table of Contents field, click on the drop-down arrow and select TOC (portrait).




In the Stylesheet field, click on the drop-down arrow and select Styles - Print Medium.




In the Cover Page field, click on the drop-down arrow and select Cover Page (portrait).




In the Output Format field, click on the drop-down arrow and select Portable Document Format (PDF).




Click on the Generate button.




When the report has been generated, click on the View button and examine the report.




·Reports can be configured to include all Packages within a parent Package, or just the top level

Learn more

Learning Center topics

·Alt+F1 | Enterprise Architect | Reporting | Rich Text Reports | Generate an RTF Report