7.8.3 Configuring page header and footer formats

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: 

format

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.

content

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

Previous Topic:  7.8.2 Configuring output section formats

Next Topic:  7.8.4 Forcing page and column breaks

Parent Topic:  7.8 Defining page layouts for RTF output

Sibling Topics:

7.8.1 Establishing default properties for output pages

7.8.2 Configuring output section formats

7.8.4 Forcing page and column breaks

7.8.5 Configuring border formats for output pages

7.8.6 Configuring a title page (an example)