Report structure

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.

The following 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: The fp:chapter tags have the following attributes:
Table 1. fp:chapter attributes
Attribute Description
heading A mandatory attribute that indicates the heading of the chapter. This attribute is not mandatory if hideheading="true".
hideheading An optional attribute that determines if the heading has to be displayed or hidden. 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>

Feedback