The Document View is the mode of a published project that allows you to view it as a continuous document. Essentially, by using the Document View, you can scroll through the entire content of a project view instead of jumping from one navigation tree element to another as in the Model View. The Document View can be enabled for individual views of a project. After selecting a view, you are presented with the document containing information from that view. The sections of the document are numbered hierarchically both in the Navigation pane and the content pane.
The Document View can be enabled by customizing the template that will be used for publishing or from the title bar of a published project.
If you experience scrolling issues in Firefox after enabling the Document View, see the section about Troubleshooting.
To enable the Document View in the template used for publishing
- Open the View Diagram of the template that you intend to use for publishing.
Double-click the element with the «view» stereotype.
In the View Diagram of the template, each element with the «view» stereotype represents a separate navigation tree of a published project. If your template has more than one such element, you can enable the Document View for each of them separately.
In the open Specification window, set the Document View property as true.
The figure shows the Specification window of the element with the «view» stereotype with the Document View enabled.Click the Close button.
- Save the template file.
The Document View is enabled for the selected view of a published project.
Important
The Document View property can also be enabled in the Specification window of the element with the «Document» stereotype. Doing this overrides the property values set for individual elements with the «view» stereotype.
To enable the Document View from the title bar of a published project
- In the title bar of a published project, click and select the navigation tree for which you want to enable the Document View.
- On the right side of the title bar, click the More button and select Document View.
The Document View is enabled for the selected navigation tree of a published project.
When the mode is set from the title bar, it's only valid until the refresh of a web portal.