<evenAndOddHeaders>
(Different Even/Odd Page Headers and Footers)
This element specifies whether sections in this document shall have different headers and footers for even and odd pages (an odd page header/footer and an even page header/footer).
If the @val
attribute is set to true
, then each section in the document shall use an odd page header for all odd numbered pages in the section, and an even page header for all even numbered pages in the section (counting each page in the section starting from one, regardless of the page numbering settings for the section). If the @val
attribute is set to false
, then all pages in a section shall use the odd page header.
This setting does not affect the presence of a first page header on each section, which is specified using the <titlePg>
element (§2.10.6). If a first page header is specified, then all subsequent pages shall have this setting applied, including the first page in the odd/even page count.
If this element is set to false
and an even page header is specified , then it shall be ignored and only the odd page header shall be displayed. Conversely, if this element is set to true and either header type is omitted for a given section, then a blank header shall be created as needed (another header type shall not be used in its place).
If this element is omitted, then its value shall be assumed to be false
.
<w:settings>
…
<w:<evenAndOddHeaders>
/>
…
</w:setttings>
Since the <evenAndOddHeaders>
property is set (and its default value is true
), this document will now have different headers and footers for even and odd pages. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies a binary value for the property defined by the parent XML element. A value of A value of <w:… w:val="off"/> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>