[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
ST_HdrFtr (Header or Footer Type)
This simple type specifies the possible types of headers and footers which may be specified for a given header or footer reference in a document. This value determines the page(s) on which the current header or footer shall be displayed.
[Example: Consider a WordprocessingML section which specifies the following header reference:
<w:headerReference r:id="rId10" w:type="first" />
The resulting section shall use the specified header part for the first page. end example]
This simple type's contents are a restriction of the XML Schema string datatype.
The following are possible enumeration values for this type:
Enumeration Value |
Description |
default (Default Header or Footer) |
Specifies that this header or footer shall appear on every page in this section which is not overridden with a specific even or first page header/footer.
In a section with all three types specified, this type shall be used on all odd numbered pages (counting from the first page in the section, not the section numbering). |
even (Even Numbered Pages Only) |
Specifies that this header or footer shall appear on all even numbered pages in this section (counting from the first page in the section, not the section numbering).
The appearance of this header or footer is contingent on the setting of the evenAndOddHeaders element (§2.10.1). |
first (First Page Only) |
Specifies that this header or footer shall appear on the first page in this section.
The appearance of this header or footer is contingent on the setting of the titlePg element (§2.10.6). |
Referenced By |
footerReference@type (§2.10.2); headerReference@type (§2.10.5) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_HdrFtr">
<restriction base="xsd:string">
<enumeration value="even"/>
<enumeration value="default"/>
<enumeration value="first"/>
</restriction>
</simpleType>