CustomShow Class

Custom Show.When the object is serialized out as xml, its qualified name is p:custShow.

Inheritance Hierarchy

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

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

Syntax

声明
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(SlideList))> _
Public Class CustomShow _
    Inherits OpenXmlCompositeElement
用法
Dim instance As CustomShow
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(SlideList))]
public class CustomShow : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • SlideList <p:sldLst>

  • ExtensionList <p:extLst>

[ISO/IEC 29500-1 第 1 个版本]

19.2.1.6 custShow (Custom Show)

This element specifies a custom show that defines a specific slide sequence that the slides are displayed in. This allows for many variants of the same set of slides to be presented.

[Example: Consider the following custom show using three slides.

<p:custShow name="Custom Show 1" id="0">
  <p:sldLst>
    <p:sld r:id="rId5"/>
    <p:sld r:id="rId2"/>
    <p:sld r:id="rId4"/>
  </p:sldLst>
</p:custShow>

Notice here that the custom show specifies a show, or presentation, where slide 5 is shown first, then slide 2 and finally slide 4. end example]

Parent Elements

custShowLst (§19.2.1.7)

Child Elements

Subclause

extLst (Extension List)

§19.2.1.12

sldLst (List of Presentation Slides)

§19.2.1.35

Attributes

Description

id (Custom Show ID)

Specifies the identification number for this custom show. This should be unique among all the custom shows within the corresponding presentation.

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

name (Custom Show Name)

Specifies a name for the custom show.

The possible values for this attribute are defined by the ST_Name simple type (§19.7.5).

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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

CustomShow Members

DocumentFormat.OpenXml.Presentation Namespace