This class represents header and footer data to be passed to the RichTextPrinting and
RichTextPrintout classes.
Headers and footers can be specified independently for odd, even or both page sides. Different text can be specified
for left, centre and right locations on the page, and the font and text colour can also
be specified. You can specify the following keywords in header and footer text, which will
be substituted for the actual values during printing and preview.
DATE
: the current date.PAGESCNT
: the total number of pages.PAGENUM
: the current page number.TIME
: the current time.TITLE
: the title of the document, as passed to the RichTextPrinting or RichTextLayout constructor.These are the header and footer page identifiers, passed to functions such as SetFooterText to specify
the odd or even page for the text:
These are the location identifiers for passing to functions such as SetFooterText, to specify
whether the text is on the left, centre or right of the page:
Constructors.
Clears all text.
Copies the data.
Returns the font specified for printing the header and footer.
Returns the margin between the text and the footer.
Returns the footer text on odd or even pages, and at a given position on the page (left, centre or right).
Returns the margin between the text and the header.
Returns the header text on odd or even pages, and at a given position on the page (left, centre or right).
Returns if the header and footer will be shown on the first page.
Helper function for getting the header or footer text, odd or even pages, and at a given position on the page (left, centre or right).
Returns the text colour for drawing the header and footer.
Initialises the object.
Sets the font for drawing the header and footer.
Sets the footer text on odd or even pages, and at a given position on the page (left, centre or right).
Sets the header text on odd or even pages, and at a given position on the page (left, centre or right).
Sets the margins between text and header or footer, in tenths of a millimeter.
Pass to show the header or footer on first page (the default).
Helper function for setting the header or footer text, odd or even pages, and at a given position on the page (left, centre or right).
Sets the text colour for drawing the header and footer.
Assignment operator.
[This page automatically generated from the Textile source at 2023-06-13 21:31:36 +0000]