Overview of Documentor : Designing a Document Using Templates : Template Sections

Template Sections

The example template is divided into three parts:

Initiation section—Extracts the activity ID number (act_id) from the database. This number is used later in the template to call the appropriate activity-chart plot and to extract the subactivities for the property report.
SEGMENT seg1—Contains instructions to produce the title of the document and chapter 1. In this case, chapter 1 is text contained in an include file, sys_overview.
SEGMENT seg2—Contains instructions for producing a plot of an activity-chart and a property report of subactivities.