<headerFooter>
(Header Footer Settings)
Header and footer settings.
This example demonstrates "Header" at the top and "Footer" at the bottom of a page.
<headerFooter> <oddHeader>&CHeader</oddHeader> <oddFooter>&CFooter</oddFooter> </headerFooter>
The tokens in the header & footer elements can be localized. An application may decide which locales are supported. Even when a locale is not supported, the header and footer text must be loaded, and only the formatting is discarded.
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
|
|
|
|
|
|
|
|
Attributes |
Description |
---|---|
|
Align header footer margins with page margins. When The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Different first page header and footer. When The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Different odd and even page headers and footers. When The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Scale header and footer with document scaling. The possible values for this attribute are defined by the XML Schema boolean datatype. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_HeaderFooter">
<sequence>
<element name="oddHeader" type="ST_Xstring" minOccurs="0" maxOccurs="1"/>
<element name="oddFooter" type="ST_Xstring" minOccurs="0" maxOccurs="1"/>
<element name="evenHeader" type="ST_Xstring" minOccurs="0" maxOccurs="1"/>
<element name="evenFooter" type="ST_Xstring" minOccurs="0" maxOccurs="1"/>
<element name="firstHeader" type="ST_Xstring" minOccurs="0" maxOccurs="1"/>
<element name="firstFooter" type="ST_Xstring" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="differentOddEven" type="xsd:boolean" default="false"/>
<attribute name="differentFirst" type="xsd:boolean" default="false"/>
<attribute name="scaleWithDoc" type="xsd:boolean" default="true"/>
<attribute name="alignWithMargins" type="xsd:boolean" default="true"/>
</complexType>