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
Step |
Action |
See also |
||||
---|---|---|---|---|---|---|
1 |
Open or create the diagram (any type, although Documentation automatically provides the correct Toolbox page) in which to create the Master Document.
|
|
||||
2 |
If the Toolbox Documentation page is not already shown, select More tools | Documentation. |
|
||||
3 |
Drag the Master Document icon onto the diagram. The system prompts you for the name of the Master Document.
|
|
||||
4 |
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.
|
|
||||
5 |
If creating a Master Document for an HTML report, go to step 7. The RTFTemplate Tagged Value displays in the window; this Tagged Value is filled with the valid template names.
|
|
||||
6 |
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.
|
|
||||
7 |
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:
|
|
||||
8 |
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.
|
Learn more
Learning Center topics
• | (Alt+F1) | Reporting | Virtual Documents Create a Master Document |