This topic has not yet been rated - Rate this topic

HeaderFooterType class

Defines the HeaderFooterType class.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Wordprocessing.HeaderFooterType

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ChildElementInfoAttribute(typeof(RunConflictDeletion), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(AltChunk))]
[ChildElementInfoAttribute(typeof(CustomXmlBlock))]
[ChildElementInfoAttribute(typeof(SdtBlock))]
[ChildElementInfoAttribute(typeof(Paragraph))]
[ChildElementInfoAttribute(typeof(Table))]
[ChildElementInfoAttribute(typeof(ProofError))]
[ChildElementInfoAttribute(typeof(PermStart))]
[ChildElementInfoAttribute(typeof(PermEnd))]
[ChildElementInfoAttribute(typeof(BookmarkStart))]
[ChildElementInfoAttribute(typeof(BookmarkEnd))]
[ChildElementInfoAttribute(typeof(CommentRangeStart))]
[ChildElementInfoAttribute(typeof(CommentRangeEnd))]
[ChildElementInfoAttribute(typeof(MoveFromRangeStart))]
[ChildElementInfoAttribute(typeof(MoveFromRangeEnd))]
[ChildElementInfoAttribute(typeof(MoveToRangeStart))]
[ChildElementInfoAttribute(typeof(MoveToRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlInsRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlInsRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlDelRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlDelRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveFromRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveFromRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveToRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveToRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlConflictInsertionRangeStart), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(CustomXmlConflictInsertionRangeEnd), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(CustomXmlConflictDeletionRangeStart), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(CustomXmlConflictDeletionRangeEnd), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(InsertedRun))]
[ChildElementInfoAttribute(typeof(DeletedRun))]
[ChildElementInfoAttribute(typeof(MoveFromRun))]
[ChildElementInfoAttribute(typeof(MoveToRun))]
[ChildElementInfoAttribute(typeof(ContentPart), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(RunConflictInsertion), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
public abstract class HeaderFooterType : OpenXmlCompositeElement

The following table lists the possible child types:CustomXmlBlock <w:customXml>SdtBlock <w:sdt>Paragraph <w:p>Table <w:tbl>ProofError <w:proofErr>PermStart <w:permStart>PermEnd <w:permEnd>BookmarkStart <w:bookmarkStart>BookmarkEnd <w:bookmarkEnd>MoveFromRangeStart <w:moveFromRangeStart>MoveFromRangeEnd <w:moveFromRangeEnd>MoveToRangeStart <w:moveToRangeStart>MoveToRangeEnd <w:moveToRangeEnd>CommentRangeStart <w:commentRangeStart>CommentRangeEnd <w:commentRangeEnd>CustomXmlInsRangeStart <w:customXmlInsRangeStart>CustomXmlInsRangeEnd <w:customXmlInsRangeEnd>CustomXmlDelRangeStart <w:customXmlDelRangeStart>CustomXmlDelRangeEnd <w:customXmlDelRangeEnd>CustomXmlMoveFromRangeStart <w:customXmlMoveFromRangeStart>CustomXmlMoveFromRangeEnd <w:customXmlMoveFromRangeEnd>CustomXmlMoveToRangeStart <w:customXmlMoveToRangeStart>CustomXmlMoveToRangeEnd <w:customXmlMoveToRangeEnd>InsertedRun <w:ins>DeletedRun <w:del>MoveFromRun <w:moveFrom>MoveToRun <w:moveTo>DocumentFormat.OpenXml.Math.Paragraph <m:oMathPara>DocumentFormat.OpenXml.Math.OfficeMath <m:oMath>AltChunk <w:altChunk>

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.