w:titlePg (Different First Page)

Enables a separate header and footer for the first page of the section.

Parent elements

Description

w:titlePg is an on/off toggle that, when present, enables a distinct first-page header and footer for the section. It is defined in ECMA-376 Part 1 §17.10.6.

When enabled, the section must include a w:headerReference and/or w:footerReference with w:type="first" for the first-page variant. The default (odd-page) header/footer is used from page 2 onward.

Attributes

Attribute Type Possible Values Description
w:val ST_OnOff true, 1, on / false, 0, off. Omitting w:val is equivalent to true. Enables a distinct first-page header/footer when true.

Examples

<w:sectPr>
  <w:titlePg/>
  <w:headerReference w:type="first" r:id="rId5"/>
  <w:headerReference w:type="default" r:id="rId6"/>
</w:sectPr>