Report templates are structured by the front page and chapter tags.
fp:frontpage tag
Each fp:reporttemplate can contain an fp:frontpage tag. The fp:frontpage tag is inserted before the table of contents, and its chapters are not included in the table of contents. Front page tags can contain tags that are similar to chapter tags, but front page tags do not contain attributes. The fp:frontpage tag is ignored in quick reports.
This example shows a front page tag:
<fp:frontpage> <fp:text>This is the front page</fp:text> </fp:frontpage>
fp:chapter tag
The fp:chapter tags build the structure of the report. Chapter tags have the following tags:
▪ any number of fp:chapter tags
▪ any number of simple components, for example: fp:text and fp:list
▪ any number of Focal Point® components, for example: fp:tree and fp:table
The fp:chapter tags have these attributes:
Attribute
Description
heading
Indicates the heading of the chapter.
Mandatory if hideheading="false"
Optional if hideheading="true"
hideheading
Optional. Shows or hides the heading.
false shows the heading
true hides the heading.
The default value is:
hideheading="false"
Example
<fp:chapter heading="Chapter 1"> <fp:text>This is chapter 1.</fp:text> <fp:chapter heading="Chapter 1.1"> <fp:text>This is chapter 1.1.</fp:text> </fp:chapter> </fp:chapter>