Outputting
a template means using it in your product, for example, printing
a report or adding project details to a plan. It consists of the
following phases:
- Based
on the content types and the global attributes used in the template,
the product prepares a list of identifiers. The list contains an
id for all the objects that are to be processed. This phase does
not appear to the user.
- The
header and the optional page header are output.
- The
first object in the identifier list is chosen for processing.
All
rows in the template are output, and value field references to global
attributes are resolved using the first object. Each row appears
as a line in the output template.
If
a row has a hierarchy the rows below it are processed before continuing
to the next row.
If
a new page is needed, page headers and page footers are printed
according to their output settings.
- Step
3 is repeated for all objects in the identifier list.
- The
optional page footer and the footer are output.