<titlePg>
(Different First Page Headers and Footers)
This element specifies whether the parent section in this document shall have a different header and footer for its first page.
If the @val
attribute is set to true
, then the parent section in the document shall use a first page header for the first page in the section. If the @val
attribute is set to false
, then the first page in the parent section shall use the odd page header.
This setting does not affect the presence of even and odd page header on all sections, which is specified using the <evenAndOddHeaders>
element (§2.10.1).
If this element is set to false
and a first 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 the first page header type is omitted for the 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:sectPr>
…
<w:<titlePg>
/>
…
</w:sectPr>
Since the <titlePg>
property is present (and its default attribute value is true
), this document will now have a different header and footer for its first page. ]
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>