As a convention, the name of any header format should end in Header, and the name of any footer format should end in Footer. The default header and footer formats are named Header and Footer.
The properties you can specify for header and footer formats are as follows:
Name of a block format defined in the formats file; see §7.6.4 Specifying inline properties for paragraph and character formats. Specify any desired borders and shading in the format definition. |
|
Can contain text and macros; follows the same rules as for macro content (such as start and end) in other formats. Macros must be defined in a macro library, or in a configuration file, not in a formats file. |
To define header and footer formats:
[Header] format = Header content = <$$_basename> \\tab <$_Styleref(Heading2)>
[Footer] format = Footer content = \\chdate \\tab \\chpgn
[LeftHeader] format = Header content = <$_Styleref(Heading2)> \\tab <$$_basename>
[LeftFooter] format = Footer content = \\chpgn \\tab \\chdate
[FirstHeader] format = Header content = \~
[FirstFooter] format = Footer content= Copyright \\'A9 2009 Your Company \\tab \\chpgn