Virtual Documents

Virtual documents enable you to structure and filter your RTF reports by selecting, grouping and ordering individual packages independent of the organization of the Project Browser. You can create separate virtual documents defining, say, Requirements, Use Cases or Design elements of a project, or you can combine these separate reports - retaining their own different formats - into a single generated document with common headers and footers and a central contents list. This combined document could apply your corporate standards.
You generate virtual documents in Enterprise Architect from individual Model Document elements. You can also, if required, combine several Model Documents under a Master Document package element.
Each Model Document element identifies its own template; for example, a specifically-designed Requirements template for a Requirements document, or a Use Case template for a section on Use Cases. The template is identified in a Tagged Value, and defines the content as either:
- A list of packages (defined as attributes) in whatever order or combination is most appropriate to your requirements - you can easily add or delete packages as necessary; or
- A standard model search (defined as Tagged Values) created within the Model Search facility (note that diagram searches are not supported); when you generate the document, this search captures the required data throughout the model, and populates the document.
Notes: |
|
You can control the sequence in which information is presented in the document; see the Document Order topic.
Tip: |
You can create as many Model Documents as required, for as many combinations of information as required. |
The Master Document element contains its own template Tagged Value, which defines the headers, footers and central contents list. You can import your corporate standards template and edit the Tagged Value to identify that.
Document Elements
Along with the Document Artifact element, the Master Document and Model Document elements are available from the Documentation page of the Enterprise Architect UML Toolbox (on the Toolbox, select More Tools | Documentation).

When you drag the Master Document and Model Document elements onto a diagram, the following symbols display, respectively:
