com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class SlideShowTransition

  • java.lang.Object
    • com.aspose.slides.SlideShowTransition
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj)
      Determines whether the two SlideShowTransition instances are equal.
      long getAdvanceAfterTime()
      Specifies the time, in milliseconds, after which the transition should start.
      boolean getAdvanceOnClick()
      Specifies whether a mouse click will advance the slide or not.
      com.aspose.slides.IDOMObject getParent_Immediate()
      Returns Parent_Immediate object.
      IAudio getSound()
      Returns or sets the embedded audio data.
      boolean getSoundIsBuiltIn()
      Specifies whether or not this sound is a built-in sound.
      boolean getSoundLoop()
      This attribute specifies if the sound will loop until the next sound event occurs in slideshow.
      int getSoundMode()
      Set or returns sound mode for slide transition.
      java.lang.String getSoundName()
      Specifies a human readable name for the sound of the transition.
      int getSpeed()
      Specifies the transition speed that is to be used when transitioning from the current slide to the next.
      int getType()
      Type of transition.
      ITransitionValueBase getValue()
      Slide show transition value.
      int hashCode()
      Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
      void setAdvanceAfterTime(long value)
      Specifies the time, in milliseconds, after which the transition should start.
      void setAdvanceOnClick(boolean value)
      Specifies whether a mouse click will advance the slide or not.
      void setSound(IAudio value)
      Returns or sets the embedded audio data.
      void setSoundIsBuiltIn(boolean value)
      Specifies whether or not this sound is a built-in sound.
      void setSoundLoop(boolean value)
      This attribute specifies if the sound will loop until the next sound event occurs in slideshow.
      void setSoundMode(int value)
      Set or returns sound mode for slide transition.
      void setSoundName(java.lang.String value)
      Specifies a human readable name for the sound of the transition.
      void setSpeed(int value)
      Specifies the transition speed that is to be used when transitioning from the current slide to the next.
      void setType(int value)
      Type of transition.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSoundLoop

        public final boolean getSoundLoop()

        This attribute specifies if the sound will loop until the next sound event occurs in slideshow. Read/write boolean.

        Specified by:
        getSoundLoop in interface ISlideShowTransition
      • setSoundLoop

        public final void setSoundLoop(boolean value)

        This attribute specifies if the sound will loop until the next sound event occurs in slideshow. Read/write boolean.

        Specified by:
        setSoundLoop in interface ISlideShowTransition
      • getAdvanceOnClick

        public final boolean getAdvanceOnClick()

        Specifies whether a mouse click will advance the slide or not. If this attribute is not specified then a value of true is assumed. Read/write boolean.

        Specified by:
        getAdvanceOnClick in interface ISlideShowTransition
      • setAdvanceOnClick

        public final void setAdvanceOnClick(boolean value)

        Specifies whether a mouse click will advance the slide or not. If this attribute is not specified then a value of true is assumed. Read/write boolean.

        Specified by:
        setAdvanceOnClick in interface ISlideShowTransition
      • getAdvanceAfterTime

        public final long getAdvanceAfterTime()

        Specifies the time, in milliseconds, after which the transition should start. This setting may be used in conjunction with the advClick attribute. If this attribute is not specified then it is assumed that no auto-advance will occur. Read/write long.

        Specified by:
        getAdvanceAfterTime in interface ISlideShowTransition
      • setAdvanceAfterTime

        public final void setAdvanceAfterTime(long value)

        Specifies the time, in milliseconds, after which the transition should start. This setting may be used in conjunction with the advClick attribute. If this attribute is not specified then it is assumed that no auto-advance will occur. Read/write long.

        Specified by:
        setAdvanceAfterTime in interface ISlideShowTransition
      • getSpeed

        public final int getSpeed()

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

        Specified by:
        getSpeed in interface ISlideShowTransition
      • setSpeed

        public final void setSpeed(int value)

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

        Specified by:
        setSpeed in interface ISlideShowTransition
      • getSoundIsBuiltIn

        public final boolean getSoundIsBuiltIn()

        Specifies whether or not this sound is a built-in sound. If this attribute is set to true then the generating application is alerted to check the name attribute specified for this sound in it's list of built-in sounds and can then surface a custom name or UI as needed. Read-write boolean.

        Specified by:
        getSoundIsBuiltIn in interface ISlideShowTransition
      • setSoundIsBuiltIn

        public final void setSoundIsBuiltIn(boolean value)

        Specifies whether or not this sound is a built-in sound. If this attribute is set to true then the generating application is alerted to check the name attribute specified for this sound in it's list of built-in sounds and can then surface a custom name or UI as needed. Read-write boolean.

        Specified by:
        setSoundIsBuiltIn in interface ISlideShowTransition
      • getSoundName

        public final java.lang.String getSoundName()

        Specifies a human readable name for the sound of the transition. The Sound(getSound()/setSound(IAudio)) property must be assigned to get or set the sound name. Read-write String.

        Specified by:
        getSoundName in interface ISlideShowTransition
        Throws:
        PptxException - When Sound(getSound()/setSound(IAudio)) property is not assigned.


        This name appears in the PowerPoint user interface when configuring the transition sound manually.

      • setSoundName

        public final void setSoundName(java.lang.String value)

        Specifies a human readable name for the sound of the transition. The Sound(getSound()/setSound(IAudio)) property must be assigned to get or set the sound name. Read-write String.

        Specified by:
        setSoundName in interface ISlideShowTransition
        Throws:
        PptxException - When Sound(getSound()/setSound(IAudio)) property is not assigned.


        This name appears in the PowerPoint user interface when configuring the transition sound manually.

      • equals

        public boolean equals(java.lang.Object obj)

        Determines whether the two SlideShowTransition instances are equal. Read/write boolean.

        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The SlideShowTransition to compare with the current SlideShowTransition.
        Returns:
        <b>true</b> if the specified SlideShowTransition is equal to the current SlideShowTransition; otherwise, <b>false</b>.
      • hashCode

        public int hashCode()

        Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

        Overrides:
        hashCode in class java.lang.Object
        Returns:
        23454


        Overriden to make compiler happy. Always returns constant because object is mutable.

      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.