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

Create Master Document

Whilst you can create Model Document elements separately and generate individual documents from each one, you have added flexibility and scope if you organize Model Documents under a Master Document (a package element, with a child Common diagram to which you add the Model Document elements).

You can then generate a document with a corporate template for the covers, contents, headers and footers, whilst each section (generated from a separate Model Document) has its own appearance defined by a template appropriate to the section content.

When you add Model Document elements to a Master Document, the Master Document element resembles the following:


The Master Document element and child diagram display in the Project Browser as shown below:


How to

To create a Master Document element



See also


Open or create the diagram (any type, although Documentation automatically provides the correct Toolbox page) in which to create the Master Document.




If the Toolbox Documentation page is not already shown, select More tools | Documentation.



Drag the Master Document icon onto the diagram.

The system prompts you for the name of the Master Document.




Type the element name and click on the OK button.

The system creates the Master Document element and a child Custom diagram of the same name.




If creating a Master Document for an HTML report, go to step 7.
Otherwise, open the Tagged Values window (View | Tagged Values) and click on the Master Document element.

The RTFTemplate Tagged Value displays in the window; this Tagged Value is filled with the valid template names.




The RTFTemplate Tagged Value defaults to (model document: master template).

If you want to use an alternative master template, click on the drop down arrow at the right of the field and click on that template in the list.




Return to the Project Browser and open the Master Document child diagram.

At this point, to provide the content for the generated document, you either:

Create the Model Document elements in the child diagram, or
Drag existing Model Document elements from the Project Browser into the child diagram




Create Model Document


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


Generate the Document (RTF)

Learn more

Learning Center topics

(Alt+F1) | Reporting | Virtual Documents Create a Master Document