Partager via


CommonSlideData Class

Common slide data for slide layouts.When the object is serialized out as xml, its qualified name is p:cSld.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.CommonSlideData

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ShapeTree))> _
<ChildElementInfoAttribute(GetType(Background))> _
<ChildElementInfoAttribute(GetType(CustomerDataList))> _
<ChildElementInfoAttribute(GetType(ControlList))> _
<ChildElementInfoAttribute(GetType(CommonSlideDataExtensionList))> _
Public Class CommonSlideData _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As CommonSlideData
[ChildElementInfoAttribute(typeof(ShapeTree))]
[ChildElementInfoAttribute(typeof(Background))]
[ChildElementInfoAttribute(typeof(CustomerDataList))]
[ChildElementInfoAttribute(typeof(ControlList))]
[ChildElementInfoAttribute(typeof(CommonSlideDataExtensionList))]
public class CommonSlideData : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Background <p:bg>

  • ShapeTree <p:spTree>

  • CustomerDataList <p:custDataLst>

  • ControlList <p:controls>

  • CommonSlideDataExtensionList <p:extLst>

[ISO/IEC 29500-1 1st Edition]

19.3.1.16 cSld (Common Slide Data)

This element specifies a container for slide information that is relevant to all of the slide types. All slides share a common set of properties that is independent of the slide type; the description of these properties for any particular slide is stored within the slide's cSld container. Slide data specific to the slide type indicated by the parent element is stored elsewhere.

[Note: The actual data in cSld describe only the particular parent slide; it is only the kind of information stored that is common across all slides. end note]

[Example: Consider the following PresentationML slide

<p:sld>
  <p:cSld>
    <p:spTree>
      …
    </p:spTree>
  </p:cSld>
  …
</p:sld>

As the above example shows, the shape tree of a slide (spTree) is a child element of cSld because all slide types can contain a shape tree. Other slide properties specific to the slide type (such as transitions for sld slides) are specified elsewhere. end example]

Parent Elements

handoutMaster (§19.3.1.24); notes (§19.3.1.26); notesMaster (§19.3.1.27); sld (§19.3.1.38); sldLayout (§19.3.1.39); sldMaster (§19.3.1.42)

Child Elements

Subclause

bg (Slide Background)

§19.3.1.1

controls (List of controls)

§19.3.1.15

custDataLst (Customer Data List)

§19.3.1.18

extLst (Extension List)

§19.2.1.12

spTree (Shape Tree)

§19.3.1.45

Attributes

Description

name (Name)

Specifies the slide name property that is used to further identify this unique configuration of common slide data. This might be used to aid in distinguishing different slide layouts or various other slide types.

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

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

© ISO/IEC29500: 2008.

Thread Safety

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

See Also

Reference

CommonSlideData Members

DocumentFormat.OpenXml.Presentation Namespace