Export (0) Print
Expand All

HeadingPairs class

Heading Pairs. When the object is serialized out as xml, its qualified name is ap:HeadingPairs.

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

public class HeadingPairs : VectorVariantType

[ISO/IEC 29500-1 1st Edition]

HeadingPairs (Heading Pairs)

Heading pairs indicates the grouping of document parts and the number of parts in each group. These parts are not document parts but conceptual representations of document sections.

[Example: A presentation composing of three slides with an applied theme can have the following HeadingPairs representation:

<HeadingPairs>
  <vt:vector size="4" baseType="variant">
    <vt:variant>
      <vt:lpstr>Theme</vt:lpstr>
    </vt:variant>
    <vt:variant>
      <vt:i4>1</vt:i4>
    </vt:variant>
    <vt:variant>
      <vt:lpstr>Slide Titles</vt:lpstr>
    </vt:variant>
    <vt:variant>
      <vt:i4>3</vt:i4>
    </vt:variant>
  </vt:vector>
</HeadingPairs>

end example]

Parent Elements

Properties (§22.2.2.21)

Child Elements

Subclause

vector (Vector)

§22.4.2.33

[Note: The W3C XML Schema definition of this element’s content model (CT_VectorVariant) is located in §A.6.2. 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.

Community Additions

Show:
© 2014 Microsoft