Footer Part
Content Type: |
application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml |
Root Namespace: |
http://schemas.openxmlformats.org/wordprocessingml/2006/main |
Source Relationship: |
http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer |
An instance of this part type contains the information about a footer displayed for one or more sections.
A package is permitted to contain zero or one Footer part for each kind of footer (first page, odd page, or even page) in each section of the document. Each Footer part shall be the target of an explicit relationship in the part-relationship item for the Main Document (§11.3.10) part, or the Glossary Document (§11.3.8) part.
<Relationships xmlns="…"> <Relationship Id="rId91" Type="http://…/footer" Target="footer3.xml"/> </Relationships>
The root element for a Footer part type shall be <ftr>
.
<w:ftr xmlns:w="…" …> … </w:ftr>
The XML markup for a footer in a section of a Main Document part involves the <footerReference >
element in that section's <sectPr>
element which explicitly references the relationship for the header.
<w:document xmlns:w="…"> … <w:sectPr> <w:footerReference w:val="rId89" w:type="default"/> <w:footerReference w:val="rId90" w:type="even"/> <w:footerReference w:val="rId91" w:type="first"/> <w:type w:val="oddPage"/> <w:pgSz w:w="11909" w:h="16834" w:code="9"/> <w:pgMar w:top="1440" w:right="1152" w:bottom="1440" w:left="1152" w:header="720" w:footer="720" w:gutter="0"/> <w:lnNumType w:countBy="1"/> <w:pgNumType w:numFmt="lowerRoman"/> <w:cols w:space="720"/> </w:sectPr> </w:document>
Each footer has a corresponding <ftr>
element in a Footer part, which contains the text of the footer.
<w:ftr xmlns:w="…"> <w:p> <w:pPr> <w:pStyle w:val="Centered"/> </w:pPr> <w:fldSimple w:instr="PAGE"> <w:r> <w:rPr> <w:noProof/> </w:rPr> <w:t>i</w:t> </w:r> </w:fldSimple> </w:p> </w:ftr>
A Footer part shall be located within the package containing the source relationship (expressed syntactically, the @TargetMode
attribute of the <Relationship>
element shall be Internal
).
A Footer part is permitted to have explicit relationships to the following parts defined by this Standard:
Alternative Format Import (§11.3.1)
Chart (§14.2.1)
Diagrams: Diagram Colors(§14.2.3), Diagram Data(§14.2.4), Diagram Layout Definition(§14.2.5) and Diagram Styles (§14.2.6)
Embedded Control Persistence (§15.2.8)
Embedded Object (§15.2.9)
Embedded Package (§15.2.10)
Hyperlinks (§15.3)
Images (§15.2.13)
Video (§15.2.16)
A Footer part shall not have any implicit or explicit relationships to any other part defined by this Standard.