com.aspose.slides
Class SlideShowTransition

java.lang.Object
  extended by com.aspose.slides.SlideShowTransition
All Implemented Interfaces:
ISlideShowTransition

public class SlideShowTransition
extends java.lang.Object
implements ISlideShowTransition

Represents slide show transition.


Method Summary
 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.
 boolean getBuiltInSound()
          Deprecated. 
 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.
 void setAdvanceAfterTime(long value)
           
 void setAdvanceOnClick(boolean value)
           
 void setBuiltInSound(boolean value)
          Deprecated. 
 void setSound(IAudio value)
           
 void setSoundIsBuiltIn(boolean value)
           
 void setSoundLoop(boolean value)
           
 void setSoundMode(int value)
           
 void setSoundName(java.lang.String value)
           
 void setSpeed(int value)
           
 void setType(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSound

public IAudio getSound()

Returns or sets the embedded audio data. Read-only byte[].

Specified by:
getSound in interface ISlideShowTransition

setSound

public void setSound(IAudio value)
Specified by:
setSound in interface ISlideShowTransition

getSoundMode

public int getSoundMode()

Set or returns sound mode for slide transition.

Specified by:
getSoundMode in interface ISlideShowTransition

setSoundMode

public void setSoundMode(int value)
Specified by:
setSoundMode in interface ISlideShowTransition

getBuiltInSound

@Deprecated
public boolean getBuiltInSound()
Deprecated. 

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.


setBuiltInSound

@Deprecated
public void setBuiltInSound(boolean value)
Deprecated. 


getSoundLoop

public boolean getSoundLoop()

This attribute specifies if the sound will loop until the next sound event occurs in slideshow.

Specified by:
getSoundLoop in interface ISlideShowTransition

setSoundLoop

public void setSoundLoop(boolean value)
Specified by:
setSoundLoop in interface ISlideShowTransition

getAdvanceOnClick

public 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

Specified by:
getAdvanceOnClick in interface ISlideShowTransition

setAdvanceOnClick

public void setAdvanceOnClick(boolean value)
Specified by:
setAdvanceOnClick in interface ISlideShowTransition

getAdvanceAfterTime

public 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.

Specified by:
getAdvanceAfterTime in interface ISlideShowTransition

setAdvanceAfterTime

public void setAdvanceAfterTime(long value)
Specified by:
setAdvanceAfterTime in interface ISlideShowTransition

getSpeed

public int getSpeed()

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

Specified by:
getSpeed in interface ISlideShowTransition

setSpeed

public void setSpeed(int value)
Specified by:
setSpeed in interface ISlideShowTransition

getValue

public ITransitionValueBase getValue()

Slide show transition value.

Specified by:
getValue in interface ISlideShowTransition

getType

public int getType()

Type of transition

Specified by:
getType in interface ISlideShowTransition

setType

public void setType(int value)
Specified by:
setType in interface ISlideShowTransition

getSoundIsBuiltIn

public 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 bool.

Specified by:
getSoundIsBuiltIn in interface ISlideShowTransition

setSoundIsBuiltIn

public void setSoundIsBuiltIn(boolean value)
Specified by:
setSoundIsBuiltIn in interface ISlideShowTransition

getSoundName

public java.lang.String getSoundName()

Specifies a human readable name for the sound of the transition. The Sound property must be assigned to get or set the sound name.

Read-write string.

Specified by:
getSoundName in interface ISlideShowTransition
Throws:
PptxException - When Sound property is not assigned.


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


setSoundName

public void setSoundName(java.lang.String value)
Specified by:
setSoundName in interface ISlideShowTransition