The simple master page provides a header and footer that appear on every page.
The page margins define the position of the content area on the page. The page header and footer reside within the content area. The page header is at the top on each page, and the page footer is at the bottom.
The following crude picture gives an idea of the parts of a simple master page:
The page header and footer can include any element except the following:
The header and footer can display data from global variables, from report parameters or other sources. Such expressions are evaluated once early in the report, and the same values will be used on all subsequent pages. The one exception is the page number, which is shown as expected on each page.
BIRT FO output format maps page header to
region-before
, and page footer to
region-after.
A very common construction for a page header or footer is to include a three-cell grid in which the first cell is left-aligned, the second cell is centered and the third is right-aligned. For example:
ABC Corp. Sales Summary Report   Page 1 of 4
Or,
Sales Summary Report — 1 —   Run Date: 12/13/04
Page header and page footer are elements, and each element defines its own style. So, to set the style of the page header or footer, set the style on the page header or footer element itself.
Whether to show the page header on the first page of the report.
Whether to show the page header on the first page of the report. Default is true.
Whether to show the page footer on the last page of the report.
Whether to show the page footer on the last page of the report. Default is true.
Height of the page footer.
Height of the page footer.
Height of the page header.
Height of the page header.
If true, the footer "floats" after the last content on each page.
If true, the footer "floats" after the last content on each page. If false, the footer is always at the bottom of the content area. Default is false.
Element to display at the top of each page.
Contains an element to display at the top of each page. Contains any report item that is not variable size or is bound to data. The following elements are not allowed: Chart, List, Table, Matrix. The following are allowed: Data, Label, Text, Grid, Image.
showHeaderOnFirst
property
headerHeight
property
Element to display at the bottom of each page.
Contains an element to display at the bottom of each page. Contains any report item that is not variable size or is bound to data. The following elements are not allowed: Chart, List, Table, Matrix. The following are allowed: Data, Label, Text, Grid, Image.
showHeaderOnLast
property
floatingFooter
property
footerHeight
property