com.aspose.slides.pptx
Class SlideEx

java.lang.Object
  extended by com.aspose.slides.pptx.BaseSlideEx
      extended by com.aspose.slides.pptx.SlideEx
All Implemented Interfaces:
IPresentationComponent, ISlideComponent

public final class SlideEx
extends BaseSlideEx

Represents a slide in a presentation.


Method Summary
 LayoutSlideEx getLayoutSlide()
          Returns the layout slide for the current slide.
 NotesSlideEx getNotesSlide()
          Returns the notes slide for the current slide.
 CommentEx[] getSlideComments(CommentAuthorEx author)
          Returns all slide comments added by specific author.
 int getSlideNumber()
          Returns the number of a slide.
 com.aspose.slides.pptx.slideshow.TransitionEx getSlideShowTransition()
          Returns the TransitionEx object which contains information about how the specified slide advances during a slide show.
 ThemeEx getTheme()
          Returns the theme object from master.
 java.awt.image.BufferedImage getThumbnail(float scaleX, float scaleY)
          Returns a Thumbnail Bitmap object with custom scaling.
 boolean isHidden()
          Determines whether the specified slide is hidden during a slide show.
 void setHidden(boolean value)
          Sets whether the specified slide is hidden during a slide show.
 void setLayoutSlide(LayoutSlideEx value)
          Sets the layout slide for the current slide.
 void setSlideNumber(int value)
          Sets the number of a slide.
 
Methods inherited from class com.aspose.slides.pptx.BaseSlideEx
addNotes, findShapeByAltText, getBackground, getName, getParent, getPresentation, getShapes, getSlide, getSlideDocument, getSlideId, getTags, getTimeline, ppt2003AfterLoad, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTheme

public ThemeEx getTheme()
Returns the theme object from master.

Specified by:
getTheme in class BaseSlideEx

getSlideNumber

public int getSlideNumber()
Returns the number of a slide. Index of slide in PresentationEx.getSlides() collection is always equal to getSlideNumber() - 1.


setSlideNumber

public void setSlideNumber(int value)
Sets the number of a slide.


getSlideShowTransition

public com.aspose.slides.pptx.slideshow.TransitionEx getSlideShowTransition()
Returns the TransitionEx object which contains information about how the specified slide advances during a slide show.

Overrides:
getSlideShowTransition in class BaseSlideEx

isHidden

public boolean isHidden()
Determines whether the specified slide is hidden during a slide show.


setHidden

public void setHidden(boolean value)
Sets whether the specified slide is hidden during a slide show.


getThumbnail

public java.awt.image.BufferedImage getThumbnail(float scaleX,
                                                 float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.

Parameters:
scaleX - The value by which to scale this Thumbnail in the x-axis direction.
scaleY - The value by which to scale this Thumbnail in the y-axis direction.
Returns:
Bitmap object.

getLayoutSlide

public LayoutSlideEx getLayoutSlide()
Returns the layout slide for the current slide.

Returns:
See LayoutSlideEx.

setLayoutSlide

public void setLayoutSlide(LayoutSlideEx value)
Sets the layout slide for the current slide.

Parameters:
value - See LayoutSlideEx.

getNotesSlide

public NotesSlideEx getNotesSlide()
Returns the notes slide for the current slide.

Returns:
See NotesSlideEx.

getSlideComments

public CommentEx[] getSlideComments(CommentAuthorEx author)
Returns all slide comments added by specific author.

Parameters:
author - Author of comments to find or null to return all comments.
Returns:
Array of CommentEx