Compartir a través de


Transition Class

Slide Transition for a Slide Layout.When the object is serialized out as xml, its qualified name is p:transition.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(WipeTransition))> _
<ChildElementInfoAttribute(GetType(ZoomTransition))> _
<ChildElementInfoAttribute(GetType(ExtensionListWithModification))> _
<ChildElementInfoAttribute(GetType(BlindsTransition))> _
<ChildElementInfoAttribute(GetType(CheckerTransition))> _
<ChildElementInfoAttribute(GetType(CircleTransition))> _
<ChildElementInfoAttribute(GetType(DissolveTransition))> _
<ChildElementInfoAttribute(GetType(CombTransition))> _
<ChildElementInfoAttribute(GetType(CoverTransition))> _
<ChildElementInfoAttribute(GetType(CutTransition))> _
<ChildElementInfoAttribute(GetType(DiamondTransition))> _
<ChildElementInfoAttribute(GetType(FadeTransition))> _
<ChildElementInfoAttribute(GetType(NewsflashTransition))> _
<ChildElementInfoAttribute(GetType(PlusTransition))> _
<ChildElementInfoAttribute(GetType(PullTransition))> _
<ChildElementInfoAttribute(GetType(PushTransition))> _
<ChildElementInfoAttribute(GetType(RandomTransition))> _
<ChildElementInfoAttribute(GetType(RandomBarTransition))> _
<ChildElementInfoAttribute(GetType(SplitTransition))> _
<ChildElementInfoAttribute(GetType(StripsTransition))> _
<ChildElementInfoAttribute(GetType(WedgeTransition))> _
<ChildElementInfoAttribute(GetType(WheelTransition))> _
<ChildElementInfoAttribute(GetType(FlashTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(VortexTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(SwitchTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(FlipTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(RippleTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(GlitterTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(HoneycombTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(PrismTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(DoorsTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(WindowTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ShredTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(FerrisTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(FlythroughTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(WarpTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(GalleryTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ConveyorTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(PanTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(RevealTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(WheelReverseTransition), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(SoundAction))> _
Public Class Transition _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Transition
[ChildElementInfoAttribute(typeof(WipeTransition))]
[ChildElementInfoAttribute(typeof(ZoomTransition))]
[ChildElementInfoAttribute(typeof(ExtensionListWithModification))]
[ChildElementInfoAttribute(typeof(BlindsTransition))]
[ChildElementInfoAttribute(typeof(CheckerTransition))]
[ChildElementInfoAttribute(typeof(CircleTransition))]
[ChildElementInfoAttribute(typeof(DissolveTransition))]
[ChildElementInfoAttribute(typeof(CombTransition))]
[ChildElementInfoAttribute(typeof(CoverTransition))]
[ChildElementInfoAttribute(typeof(CutTransition))]
[ChildElementInfoAttribute(typeof(DiamondTransition))]
[ChildElementInfoAttribute(typeof(FadeTransition))]
[ChildElementInfoAttribute(typeof(NewsflashTransition))]
[ChildElementInfoAttribute(typeof(PlusTransition))]
[ChildElementInfoAttribute(typeof(PullTransition))]
[ChildElementInfoAttribute(typeof(PushTransition))]
[ChildElementInfoAttribute(typeof(RandomTransition))]
[ChildElementInfoAttribute(typeof(RandomBarTransition))]
[ChildElementInfoAttribute(typeof(SplitTransition))]
[ChildElementInfoAttribute(typeof(StripsTransition))]
[ChildElementInfoAttribute(typeof(WedgeTransition))]
[ChildElementInfoAttribute(typeof(WheelTransition))]
[ChildElementInfoAttribute(typeof(FlashTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(VortexTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SwitchTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(FlipTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(RippleTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(GlitterTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(HoneycombTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(PrismTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(DoorsTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(WindowTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ShredTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(FerrisTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(FlythroughTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(WarpTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(GalleryTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ConveyorTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(PanTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(RevealTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(WheelReverseTransition), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SoundAction))]
public class Transition : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • BlindsTransition <p:blinds>

  • CheckerTransition <p:checker>

  • CircleTransition <p:circle>

  • DissolveTransition <p:dissolve>

  • CombTransition <p:comb>

  • CoverTransition <p:cover>

  • CutTransition <p:cut>

  • DiamondTransition <p:diamond>

  • FadeTransition <p:fade>

  • NewsflashTransition <p:newsflash>

  • PlusTransition <p:plus>

  • PullTransition <p:pull>

  • PushTransition <p:push>

  • RandomTransition <p:random>

  • RandomBarTransition <p:randomBar>

  • SplitTransition <p:split>

  • StripsTransition <p:strips>

  • WedgeTransition <p:wedge>

  • WheelTransition <p:wheel>

  • WipeTransition <p:wipe>

  • ZoomTransition <p:zoom>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.FlashTransition <p14:flash>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.VortexTransition <p14:vortex>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.SwitchTransition <p14:switch>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.FlipTransition <p14:flip>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.RippleTransition <p14:ripple>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.GlitterTransition <p14:glitter>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.HoneycombTransition <p14:honeycomb>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.PrismTransition <p14:prism>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.DoorsTransition <p14:doors>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.WindowTransition <p14:window>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.ShredTransition <p14:shred>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.FerrisTransition <p14:ferris>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.FlythroughTransition <p14:flythrough>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.WarpTransition <p14:warp>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.GalleryTransition <p14:gallery>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.ConveyorTransition <p14:conveyor>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.PanTransition <p14:pan>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.RevealTransition <p14:reveal>

  • DocumentFormat.OpenXml.Office2010.PowerPoint.WheelReverseTransition <p14:wheelReverse>

  • SoundAction <p:sndAc>

  • ExtensionListWithModification <p:extLst>

[ISO/IEC 29500-1 1st Edition]

19.3.1.50 transition (Slide Transition for a Slide Layout)

This element specifies the kind of slide transition that should be used to transition to the current slide from the previous slide. That is, the transition information is stored on the slide that appears after the transition is complete.

Parent Elements

sld (§19.3.1.38); sldLayout (§19.3.1.39); sldMaster (§19.3.1.42)

Child Elements

Subclause

blinds (Blinds Slide Transition)

§19.5.18

checker (Checker Slide Transition)

§19.5.24

circle (Circle Slide Transition)

§19.5.26

comb (Comb Slide Transition)

§19.5.30

cover (Cover Slide Transition)

§19.5.32

cut (Cut Slide Transition)

§19.5.34

diamond (Diamond Slide Transition)

§19.5.35

dissolve (Dissolve Slide Transition)

§19.5.36

extLst (Extension List with Modification Flag)

§19.3.1.20

fade (Fade Slide Transition)

§19.5.41

newsflash (Newsflash Slide Transition)

§19.5.50

plus (Plus Slide Transition)

§19.5.54

pull (Pull Slide Transition)

§19.5.58

push (Push Slide Transition)

§19.5.59

random (Random Slide Transition)

§19.5.60

randomBar (Random Bar Slide Transition)

§19.5.61

sndAc (Sound Action)

§19.5.69

split (Split Slide Transition)

§19.5.71

strips (Strips Slide Transition)

§19.5.74

wedge (Wedge Slide Transition)

§19.5.94

wheel (Wheel Slide Transition)

§19.5.95

wipe (Wipe Slide Transition)

§19.5.96

zoom (Zoom Slide Transition)

§19.5.97

Attributes

Description

advClick (Advance on Click)

Specifies whether a mouse click advances the slide or not. If this attribute is not specified then a value of true is assumed.

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

advTm (Advance after time)

Specifies the time, in milliseconds, after which the transition should start. This setting can be used in conjunction with the advClick attribute. If this attribute is not specified then it is assumed that no auto-advance occurs.

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

spd (Transition Speed)

Specifies the transition speed that is to be used when transitioning from the current slide to the next.

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

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

Transition Members

DocumentFormat.OpenXml.Presentation Namespace