MCPcopy Index your code
hub / github.com/python-openxml/python-docx / CT_HdrFtrRef

Class CT_HdrFtrRef

src/docx/oxml/section.py:51–57  ·  view source on GitHub ↗

`w:headerReference` and `w:footerReference` elements.

Source from the content-addressed store, hash-verified

49
50
51class CT_HdrFtrRef(BaseOxmlElement):
52 """`w:headerReference` and `w:footerReference` elements."""
53
54 type_: WD_HEADER_FOOTER = RequiredAttribute( # pyright: ignore[reportAssignmentType]
55 "w:type", WD_HEADER_FOOTER
56 )
57 rId: str = RequiredAttribute("r:id", XsdString) # pyright: ignore[reportAssignmentType]
58
59
60class CT_PageMar(BaseOxmlElement):

Callers

nothing calls this directly

Calls 1

RequiredAttributeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…