Next / Previous / Contents / Shipman's homepage

4.10. regionBefore(): Define the header area

This function returns a region-before node that is a child of the simple-page-master; it describes the layout of the page header. Its calling sequence:

regionBefore(pageDim, regName)

The pageDim argument is a PageDim instance that defines the page layout. The pageDim.frameMargins.top value will be used to define the extent (height) of the header.

Use the regName argument to assign a name to this region. The name will be used by staticContent() to route the static content to the header of the correct simple page master.