PresetTransition class
Defines the PresetTransition Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is p15:prstTrans.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2013.PowerPoint.PresetTransition
Namespace: DocumentFormat.OpenXml.Office2013.PowerPoint
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.3.40 prstTrans
Target namespace: http://schemas.microsoft.com/office/powerpoint/2012/main
A CT_PresetTransition element (section 2.5.38) that specifies a preset transition.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="prstTrans" type="CT_PresetTransition"/>
See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.38 CT_PresetTransition
Target namespace: http://schemas.microsoft.com/office/powerpoint/2012/main
Referenced by: prstTrans
A complex type that specifies the parameters of a preset transition.
Attributes:
prst: A xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of the preset transition. This name specifies the internal resource to use for the transition.
prst Value | Meaning |
pageCurlDouble | A double page curl transition. See Figure 22. |
pageCurlSingle | A single page curl transition. See Figure 23. |
The following figures are samples of all values for this attribute.
5f2e0abc-4727-4c6f-b506-3b48ff1f5b55
Figure 22: Sample with prst equal to "pageCurlDouble"
ab451d14-3c41-4c3e-ad6f-c8203ab1618a
Figure 23: Sample with prst equal to "pageCurlSingle"
invX: A xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies that the X coordinates of the transition should be inverted. This can be used to make a left direction-based transition preset into a right direction-based transition.
invY: A xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies that the Y coordinates of the transition should be inverted. This can be used to make an up direction-based transition preset into a down direction-based transition preset.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_PresetTransition">
<xsd:attribute name="prst" type="xsd:string"/>
<xsd:attribute name="invX" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="invY" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).