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.
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.
You can control the sequence in which information is presented in the document; see the Document Order topic.
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.
The template in the Master Document overrides the templates in the Model Documents. For example, headers and footers in the Master Document template override any header and footer definitions in the Model Document templates. This enables you to apply consistent and continuous styles and page numbering throughout the report generated through the Master Document.
If you want the Model Documents to have their own styles, applied through their own RTFTemplate Tagged Values, either leave the Master Document RTFTemplate Tagged Value blank (for completely separate overall styles) or remove the definition of specific styles from the Master Document template.
The Master Document and Model Document elements are available from the Documentation page of the Toolbox; on the Toolbox, select More Tools | Documentation. (This Toolbox page also provides the Document Artifact element, used for linked documents.)
When you drag the Master Document and Model Document elements onto a diagram, the following symbols display, respectively: