|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.BaseSlide
com.aspose.slides.Slide
public final class Slide
Represents a slide in a presentation.
Method Summary | |
---|---|
INotesSlide |
addNotesSlide()
Deprecated. |
void |
applyColorScheme(ExtraColorScheme scheme)
Deprecated. |
boolean |
getHidden()
Determines whether the specified slide is hidden during a slide show. |
ILayoutSlide |
getLayoutSlide()
Returns or sets the layout slide for the current slide. |
INotesSlide |
getNotesSlide()
Deprecated. |
INotesSlideManager |
getNotesSlideManager()
Allow to access notes slide, add and remove it. |
OverrideTheme |
getOverrideTheme()
Deprecated. |
IComment[] |
getSlideComments(ICommentAuthor author)
Returns all slide comments added by specific author. |
int |
getSlideNumber()
Returns a number of slide. |
IOverrideThemeManager |
getThemeManager()
Returns the overriding theme manager. |
java.awt.image.BufferedImage |
getThumbnail()
Returns a Thumbnail Image object (20% of real size). |
java.awt.image.BufferedImage |
getThumbnail(java.awt.Dimension imageSize)
Returns a Thumbnail Bitmap object with specified size. |
java.awt.image.BufferedImage |
getThumbnail(float scaleX,
float scaleY)
Returns a Thumbnail Bitmap object with custom scaling. |
java.awt.image.BufferedImage |
getThumbnail(ITiffOptions options)
Returns a Thumbnail tiff bitmap object with specified parameters. |
void |
joinPortionsWithSameFormatting()
Joins runs with same formatting in all paragraphs in all acceptable shapes. |
void |
remove()
Removes slide from presentation. |
void |
renderToGraphics(boolean withNotes,
java.awt.Graphics2D graphics)
Renders certain slide to a Graphics object. |
void |
renderToGraphics(boolean withNotes,
java.awt.Graphics2D graphics,
float scale)
Renders certain slide to a Graphics object. |
void |
renderToGraphics(boolean withNotes,
java.awt.Graphics2D graphics,
int width,
int height)
Renders certain slide to a Graphics object. |
void |
setHidden(boolean value)
Determines whether the specified slide is hidden during a slide show. |
void |
setLayoutSlide(ILayoutSlide value)
Returns or sets the layout slide for the current slide. |
void |
setSlideNumber(int value)
Returns a number of slide. |
void |
writeAsSvg(java.io.OutputStream stream)
Saves content of slide as SVG file. |
void |
writeAsSvg(java.io.OutputStream stream,
ISVGOptions svgOptions)
Saves content of slide as SVG file. |
Methods inherited from class com.aspose.slides.BaseSlide |
---|
createThemeEffective, findShapeByAltText, getBackground, getControls, getCustomData, getHyperlinkQueries, getName, getParent_Immediate, getParentPresentation, getPresentation, getShapes, getSlide, getSlideId, getSlideShowTransition, getTags, getTimeline, joinPortionsWithSameFormatting, setName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.aspose.slides.IBaseSlide |
---|
findShapeByAltText, getBackground, getControls, getCustomData, getHyperlinkQueries, getName, getShapes, getSlideId, getSlideShowTransition, getTimeline, setName |
Methods inherited from interface com.aspose.slides.IThemeable |
---|
createThemeEffective |
Methods inherited from interface com.aspose.slides.ISlideComponent |
---|
getSlide |
Methods inherited from interface com.aspose.slides.IPresentationComponent |
---|
getPresentation |
Method Detail |
---|
public IOverrideThemeManager getThemeManager()
Returns the overriding theme manager.
Read-only IOverrideThemeManager
.
getThemeManager
in interface IOverrideThemeable
@Deprecated public OverrideTheme getOverrideTheme()
Returns the overriding theme object.
Read-only OverrideTheme
.
public final int getSlideNumber()
Returns a number of slide.
Index of slide in Presentation.Slides
collection is always equal to SlideNumber - 1.
Read/write int
.
getSlideNumber
in interface ISlide
public final void setSlideNumber(int value)
Returns a number of slide.
Index of slide in Presentation.Slides
collection is always equal to SlideNumber - 1.
Read/write int
.
setSlideNumber
in interface ISlide
public boolean getHidden()
Determines whether the specified slide is hidden during a slide show.
Read/write boolean
.
getHidden
in interface ISlide
public void setHidden(boolean value)
Determines whether the specified slide is hidden during a slide show.
Read/write boolean
.
setHidden
in interface ISlide
public java.awt.image.BufferedImage getThumbnail(float scaleX, float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.
getThumbnail
in interface ISlide
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.
public java.awt.image.BufferedImage getThumbnail()
Returns a Thumbnail Image object (20% of real size).
getThumbnail
in interface ISlide
public java.awt.image.BufferedImage getThumbnail(java.awt.Dimension imageSize)
Returns a Thumbnail Bitmap object with specified size.
getThumbnail
in interface ISlide
imageSize
- Size of the image to create.
public java.awt.image.BufferedImage getThumbnail(ITiffOptions options)
Returns a Thumbnail tiff bitmap object with specified parameters.
getThumbnail
in interface ISlide
options
- Tiff options.
public void renderToGraphics(boolean withNotes, java.awt.Graphics2D graphics, int width, int height)
Renders certain slide to a Graphics object.
renderToGraphics
in interface ISlide
withNotes
- True to render slide notes as well. False otherwise.graphics
- The object where to render to.width
- The maximum width (in pixels) that can be occupied by the rendered slide.height
- The maximum height (in pixels) that can be occupied by the rendered slide.public void renderToGraphics(boolean withNotes, java.awt.Graphics2D graphics, float scale)
Renders certain slide to a Graphics object.
renderToGraphics
in interface ISlide
withNotes
- True to render slide notes as well. False otherwise.graphics
- The object where to render to.scale
- The scale for rendering the slide (1.0 is 100%).public void renderToGraphics(boolean withNotes, java.awt.Graphics2D graphics)
Renders certain slide to a Graphics object.
renderToGraphics
in interface ISlide
withNotes
- True to render slide notes as well. False otherwise.graphics
- The object where to render to.public void writeAsSvg(java.io.OutputStream stream)
Saves content of slide as SVG file.
writeAsSvg
in interface ISlide
stream
- Target streampublic void writeAsSvg(java.io.OutputStream stream, ISVGOptions svgOptions)
Saves content of slide as SVG file.
writeAsSvg
in interface ISlide
stream
- Target streamsvgOptions
- SVG generation optionspublic void remove()
Removes slide from presentation.
remove
in interface ISlide
PptxEditException
- Thrown if slide is already removed from presentation.public ILayoutSlide getLayoutSlide()
Returns or sets the layout slide for the current slide.
Read/write ILayoutSlide
.
getLayoutSlide
in interface ISlide
public void setLayoutSlide(ILayoutSlide value)
Returns or sets the layout slide for the current slide.
Read/write ILayoutSlide
.
setLayoutSlide
in interface ISlide
@Deprecated public INotesSlide getNotesSlide()
Returns the notes slide for the current slide.
Read-only INotesSlide
.
getNotesSlide
in interface ISlide
@Deprecated public INotesSlide addNotesSlide()
Returns the notes slide for the current slide, creating one if there isn't.
addNotesSlide
in interface ISlide
NotesSlide
for this slide.public INotesSlideManager getNotesSlideManager()
Allow to access notes slide, add and remove it.
Read-only INotesSlideManager
.
getNotesSlideManager
in interface ISlide
public IComment[] getSlideComments(ICommentAuthor author)
Returns all slide comments added by specific author.
getSlideComments
in interface ISlide
author
- Author of comments to find or null to return all comments.
Comment
.@Deprecated public void applyColorScheme(ExtraColorScheme scheme)
Applies extra color scheme to a slide.
applyColorScheme
in class BaseSlide
scheme
- public void joinPortionsWithSameFormatting()
Joins runs with same formatting in all paragraphs in all acceptable shapes.
joinPortionsWithSameFormatting
in interface IBaseSlide
joinPortionsWithSameFormatting
in class BaseSlide
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |