Export (0) Print
Expand All

CustomShowReference class

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

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.CustomShowReference

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

public class CustomShowReference : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

custShow (Custom Show)

This element specifies a custom show which is an ordered list of a group of slides that are contained within the presentation. The custom show element allows for the specification of a presentation order that is different from the order in which the slides themselves are stored.

[Example: Consider the following custom show list that outlines a couple custom shows for a given set of slides.

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

In the above example there are two custom shows specified. The first specifies to present the slides in the order of 4, 3, 2 then 5 while the second specifies to play only slide 4 then 5. end example]

Parent Elements

showPr (§19.2.1.30)

Attributes

Description

id (Custom Show Identifier)

This attribute specifies the custom show identification number. This is a number given that should be unique within the presentation document.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_CustomShowId) 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.

Community Additions

Show:
© 2014 Microsoft