![]() ![]() |
The SimpleMasterPage element 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 page header and footer can include any element except the following elements:
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 are used on all subsequent pages. The one exception is the page number, which is shown on each page.
BIRT FO output format maps page header to region-before, and page footer to region-after.
DesignElement->ReportElement->MasterPage
None
bottomMargin, comments, customXml, extends, footerHeight, headerHeight, height, leftMargin, name, orientation, rightMargin, style, topMargin, type, userProperties width
backgroundColor, backgroundImage, borderBottomColor, borderBottomStyle, borderBottomWidth, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRightColor, borderRightStyle, borderRightWidth, borderTopColor, borderTopStyle, borderTopWidth, canShrink, color, dateTimeFormat, display, fontFamily, fontSize, fontStyle, fontVariant, fontWeight, highlightRules, highlightTestExpr, letterSpacing, lineHeight, mapRules, mapTestExpr, marginBottom, marginLeft, marginRight, marginTop, masterPage, numberAlign, numberFormat, orphans, paddingBottom, paddingLeft, paddingRight, paddingTop, pageBreakAfter, pageBreakBefore, pageBreakInside, showIfBlank, stringFormat, textAlign, textIndent, textLineThrough, textOverline, textTransform, textUnderline, verticalAlign, whiteSpace, widows, wordSpacing
The following sections describe the properties of the SimpleMasterPage element.
The height of the page footer
The height of the page header
A boolean value that determines whether to show the page footer on the last page of the report. The default value for this property is true.
A boolean value that determines whether to show the page header on the first page of the report. This property contains an element to display at the top of each page. It contains any report item that is not variable size or is bound to data. The following elements are not allowed:
The following are allowed:
The following section describes the slots of the SimpleMasterPage element
Contains an element to display at the top of each page. This element can be any report item that is not variable size or is bound to data. The same elements are allowed and prohibited as for the showHeaderOnFirst property.
Element to display at the bottom of each page. Contains any report item that is not variable size or is bound to data. The same elements are allowed and prohibited as for the showHeaderOnFirst property.
![]() ![]() |