Auto-includes
Projects, folders and document can be configured with an auto-include. An auto-include is a component of a model document and is included to the beginning or to the end of the document when the model is created.
Basically, auto-includes serve the same purpose as include documents. There are some important differences:
- Auto-includes are always included at the beginning or end of a document where an include document can be included everywhere.
- Auto-includes are configured on a project, folder or document where an include document should be included with the instruction
__INC. - Model documents using auto-includes don't need an instruction
#BEGIN…END#.
In general, auto-includes offer a means to hide more complex ITP components.
The Auto-includes tab of a document only allows you to select include documents to insert before or append after the document. Therefore the Auto-includes tab of the configuration dialog of projects and folders allows you to;
- indicate whether auto-includes are used by documents residing below it,
- to select include documents to insert before or append after the documents residing below it.
Whether auto-includes are used at all is determined by the setting on the folder.
- A document with the name Project begin has been configured on the Auto-includes tab of the project at Add to begin.
- A document with the name Folder begin has been configured on the Auto-includes tab of the folder at Add to the begin.
- A document with the name Document begin has been configured on the Auto-includes tab of the document at Add to the begin.
- A document with the name Document end has been configured on the Auto-includes tab of the document at Add to the end.
- A document with the name Folder end has been configured on the Auto-includes tab of the document at Add to the end.
- The Check box Use auto-includes has been checked on the Auto-includes tab of the document.
When the ITP Model is created the following model document is composed:
#BEGIN
Contents project begin
Contents folder begin
Contents document begin
#
Contents document
#
Contents document end
Contents folder end
END#