This documentation is archived and is not being maintained.

HeaderFooter Class

Header/Footer information for a slide layout.When the object is serialized out as xml, its qualified name is p:hf.

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[ChildElementInfoAttribute(typeof(ExtensionListWithModification))]
public class HeaderFooter : OpenXmlCompositeElement

The following table lists the possible child types:

  • ExtensionListWithModification <p:extLst>


[ISO/IEC 29500-1 1st Edition]

19.3.1.25 hf (Header/Footer information for a slide master)

This element specifies the header and footer information for a slide. Headers and footers consist of placeholders for text that should be consistent across all slides and slide types, such as a date and time, slide numbering, and custom header and footer text.

Parent Elements

handoutMaster (§19.3.1.24); notesMaster (§19.3.1.27); sldLayout (§19.3.1.39); sldMaster (§19.3.1.42)

Child Elements

Subclause

extLst (Extension List with Modification Flag)

§19.3.1.20

Attributes

Description

dt (Date/Time Placeholder)

Specifies whether the Date/Time placeholder is enabled for this master. If this attribute is not specified, a value of true should be assumed by the generating application.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

ftr (Footer Placeholder)

Specifies whether the Footer placeholder is enabled for this master. If this attribute is not specified, a value of true should be assumed by the generating application.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

hdr (Header Placeholder)

Specifies whether the Header placeholder is enabled for this master. If this attribute is not specified, a value of true should be assumed by the generating application.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

sldNum (Slide Number Placeholder)

Specifies whether the slide number placeholder is enabled. If this attribute is not specified, a value of true should be assumed by the generating application.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_HeaderFooter) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: