Overview of Documentor : Designing a Document Using Templates : Reusing Templates

Reusing Templates

You can generate different documents from the same template using parameters within the template. By changing the values of these parameters, you can change the information that is written, while maintaining the overall structure and format of the document.

For example, the template produces a plot of an activity-chart and a property report for the activity MEASURE. Instead of writing the name MEASURE directly into the template, the template uses the parameter act_name. This way, you can specify the name of the activity in a form at the time of template execution.

You can use the template repeatedly, specifying a different activity name each time you execute the template. This enables you to produce uniform reports for as many activities as desired.