com.aspose.slides
Class SlideEx

java.lang.Object
  extended by com.aspose.slides.BaseSlideEx
      extended by com.aspose.slides.SlideEx

public final class SlideEx
extends BaseSlideEx

Represents a slide in a presentation.


Method Summary
 NotesSlideEx addNotesSlide()
           Returns the notes slide for the current slide, creating one if there isn't.
 void applyColorScheme(ExtraColorSchemeEx scheme)
           Applies extra color scheme to a slide.
 boolean getHidden()
           Determines whether the specified slide is hidden during a slide show.
 LayoutSlideEx getLayoutSlide()
           Returns or sets the layout slide for the current slide.
 NotesSlideEx getNotesSlide()
           Returns the notes slide for the current slide.
 OverrideThemeEx getOverrideTheme()
           Returns the overriding theme object.
 CommentEx[] getSlideComments(CommentAuthorEx author)
           Returns all slide comments added by specific author.
 int getSlideNumber()
           Returns a number of slide.
 ThemeEx getTheme()
           Returns the theme object.
 java.awt.image.BufferedImage getThumbnail(java.awt.Dimension imageSize)
           
 java.awt.image.BufferedImage getThumbnail(float scaleX, float scaleY)
           Returns a Thumbnail Bitmap object with custom scaling.
 java.awt.image.BufferedImage getThumbnail(TiffOptions options)
           Returns a Thumbnail tiff bitmap object with specified parameters.
 void setHidden(boolean value)
           
 void setLayoutSlide(LayoutSlideEx value)
           
 void setSlideNumber(int value)
           
 void writeAsSvg(java.io.OutputStream stream)
           
 void writeAsSvg(java.io.OutputStream stream, SVGOptions svgOptions)
           
 
Methods inherited from class com.aspose.slides.BaseSlideEx
findShapeByAltText, getBackground, getControls, getName, getParent, getPresentation, getShapes, getSlide, getSlideId, getSlideShowTransition, getTags, getTimeline, 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.

Specified by:
getTheme in class BaseSlideEx

getOverrideTheme

public OverrideThemeEx getOverrideTheme()

Returns the overriding theme object.


getSlideNumber

public int getSlideNumber()

Returns a number of slide. Index of slide in PresentationEx.Slides collection is always equal to SlideNumber - 1.


setSlideNumber

public void setSlideNumber(int value)

getHidden

public boolean getHidden()

Determines whether the specified slide is hidden during a slide show. Read/write bool.


setHidden

public void setHidden(boolean value)

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.

getThumbnail

public java.awt.image.BufferedImage getThumbnail(java.awt.Dimension imageSize)

getThumbnail

public java.awt.image.BufferedImage getThumbnail(TiffOptions options)

Returns a Thumbnail tiff bitmap object with specified parameters.

Parameters:
options - Tiff options.
Returns:
Bitmap object.

writeAsSvg

public void writeAsSvg(java.io.OutputStream stream)

writeAsSvg

public void writeAsSvg(java.io.OutputStream stream,
                       SVGOptions svgOptions)

getLayoutSlide

public LayoutSlideEx getLayoutSlide()

Returns or sets the layout slide for the current slide. Read/write LayoutSlideEx.


setLayoutSlide

public void setLayoutSlide(LayoutSlideEx value)

getNotesSlide

public NotesSlideEx getNotesSlide()

Returns the notes slide for the current slide. Read-only NotesSlideEx.


addNotesSlide

public NotesSlideEx addNotesSlide()

Returns the notes slide for the current slide, creating one if there isn't.

Returns:
NotesSlideEx for this slide.

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.

applyColorScheme

public void applyColorScheme(ExtraColorSchemeEx scheme)

Applies extra color scheme to a slide.

Specified by:
applyColorScheme in class BaseSlideEx
Parameters:
scheme -