HeaderFooter class
Header and Footer. When the object is serialized out as xml, its qualified name is c:headerFooter.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Charts.HeaderFooter
Namespace: DocumentFormat.OpenXml.Drawing.Charts
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
headerFooter (Header and Footer)
This element specifies the headers and footers that shall be used when the chart is printed.
Parent Elements |
|---|
printSettings (§21.2.2.148) |
Child Elements | Subclause |
|---|---|
evenFooter (Even Footer) | §21.2.2.59 |
evenHeader (Even Header) | §21.2.2.60 |
firstFooter (First Footer) | §21.2.2.66 |
firstHeader (First Header) | §21.2.2.67 |
oddFooter (Odd Footer) | §21.2.2.124 |
oddHeader (Odd Header) | §21.2.2.125 |
Attributes | Description |
|---|---|
alignWithMargins (Align With Margins) | Specifies the header and footer should align with the left and right margins of the chart. A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted. A value of 0 or false specifies that the property is not applied. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
differentFirst (Different First) | Specifies the header and footer are different for the first page. A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted. A value of 0 or false specifies that the property is not applied. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
differentOddEven (Different Odd Even) | Specifies the header and footer are different on odd-numbered pages and even-numbered pages. A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted. A value of 0 or false specifies that the property is not applied. 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.5.1. end note]
© ISO/IEC29500: 2008.