w:footerReference (Footer Reference)
Links a footer part to the section and specifies its type (default, first, or even).
Parent elements
Description
w:footerReference links a footer part (stored as a relationship) to a section and specifies which page type it applies to. It is defined in ECMA-376 Part 1 §17.10.3.
The r:id attribute is an OPC relationship ID pointing to a footer{n}.xml part. The w:type attribute controls which page type the footer serves. Works identically to w:headerReference but for footers.
Attributes
| Attribute | Type | Possible Values | Description |
|---|---|---|---|
w:type |
ST_HdrFtr |
default (odd pages), first (first page), even (even pages) |
Specifies which page type this footer applies to. |
r:id |
ST_RelationshipId |
A relationship ID (e.g. rId3) referencing a wordprocessingml/footer part. |
Points to the footer XML part. |
Examples
<w:footerReference w:type="default" r:id="rId3"/>
<w:footerReference w:type="first" r:id="rId4"/>
new FooterReference { Type = HeaderFooterValues.Default, Id = "rId3" };
new FooterReference { Type = HeaderFooterValues.First, Id = "rId4" };