Class HeaderFooter
A header or footer part's content (w:hdr / w:ftr). Owned by HeaderFooters and referenced by sections; one part can be shared by several sections, matching the package structure.
public sealed class HeaderFooter : DomNode
- Inheritance
-
HeaderFooter
- Inherited Members
- Extension Methods
Constructors
- HeaderFooter(HeaderFooterKind)
Initializes an empty header or footer.
Properties
- Blocks
Gets the block content in document order.
- Children
Gets this node's children in document order. Nodes without children return an empty list. The list is a live view; mutate through the typed collections (for example Inlines), not through this property.
- Kind
Gets whether this is a header or a footer.
- PartUri
Gets or sets the source part URI (for example "/word/header1.xml"), or null for new content.
Methods
- Accept(DomVisitor)
Dispatches to the visitor method for this node's concrete type.
- CloneCore()
Creates the deep copy for Clone(). Implementations copy all owned state, deep-clone children and copy unknown-XML islands.
- RemoveChildCore(DomNode)
Removes
childfrom this node's child collections.