|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISlide
Represents standard slide's properties.
Method Summary | |
---|---|
void |
addNotes()
Adds the empty notes to a slide. |
void |
changeMaster(Slide newMaster)
Replaces the master slide for a slide and changes placeholder's style. |
void |
changeMaster(Slide newMaster,
boolean changeStyle)
Replaces the master slide for a slide and optionally changes placeholder's style. |
Shape |
findShape(java.lang.String altText)
Search and return the shape with defined alternative text. |
Background |
getBackground()
Returns the background of a slide. |
HeaderFooter |
getHeaderFooter()
Returns the header and footer settings for a slide. |
int |
getLayout()
Returns the slide layout. |
long |
getMasterId()
Returns the Id of a master slide. |
java.lang.String |
getName()
Returns the name of a slide. |
Notes |
getNotes()
Returns the notes of a slide. |
Presentation |
getParent()
Returns the parent presentation. |
Placeholders |
getPlaceholders()
Returns the placeholders of a slide. |
Shapes |
getShapes()
Returns the shapes of a slide. |
SlideComments |
getSlideComments()
Returns the collection of slide comments. |
long |
getSlideId()
Returns the Id of a slide. |
int |
getSlidePosition()
Returns the position of a slide. |
SlideShowTransition |
getSlideShowTransition()
Returns the SlideShowTransition object which contains information about how the specified slide advances during a slide show. |
Tags |
getTags()
Returns the tags of a slide. |
java.awt.image.BufferedImage |
getThumbnail(java.util.Collection elementsToDraw,
java.awt.Dimension imageSize,
java.awt.geom.Rectangle2D.Float window)
Returns a Thumbnail Image of specified elements with specified size. |
java.awt.image.BufferedImage |
getThumbnail(java.util.Collection elementsToDraw,
float scaleX,
float scaleY,
java.awt.geom.Rectangle2D.Float window)
Returns a Thumbnail Image of specified elements with specified size. |
java.awt.image.BufferedImage |
getThumbnail(java.awt.Dimension imageSize,
java.awt.geom.Rectangle2D.Float window,
IDrawingControl drawingControl)
Returns the thumbnail image object with specified size. |
java.awt.image.BufferedImage |
getThumbnail(float scaleX,
float scaleY)
Returns the thumbnail image object with custom scaling. |
java.awt.image.BufferedImage |
getThumbnail(float scaleX,
float scaleY,
java.awt.geom.Rectangle2D.Float window,
IDrawingControl drawingControl)
Returns a Thumbnail Image object with custom scaling. |
boolean |
isFollowMasterBackground()
Determines whether the slide follows the master slide background. |
boolean |
isFollowMasterObjects()
Determines whether the slide objects follow the master slide objects style. |
boolean |
isFollowMasterScheme()
Determines whether the slide follows the master slide color scheme. |
boolean |
isMasterSlide()
Determines whether the slide is a master slide. |
void |
saveToSVG(java.io.OutputStream stream)
Creates image of a slide in SVG (vector graphics) format and writes it to a stream. |
void |
saveToSVG(java.io.OutputStream stream,
com.aspose.slides.SVGOptions svgOptions)
Creates image of a slide in SVG (vector graphics) format and writes it to a stream. |
void |
setFollowMasterBackground(boolean value)
Sets whether the slide follows the master slide background. |
void |
setFollowMasterObjects(boolean value)
Sets whether the slide objects follow the master slide objects style. |
void |
setFollowMasterScheme(boolean value)
Sets whether the slide follows the master slide color scheme. |
void |
setLayout(int value)
Sets the slide layout. |
void |
setMasterId(long value)
Sets the ID of a master slide. |
void |
setName(java.lang.String value)
Sets the name of a slide. |
void |
setSlidePosition(int value)
Sets the position of a slide. |
Method Detail |
---|
void addNotes() throws PptEditException
PptEditException
- on notes adding errors.Notes getNotes()
Presentation getParent()
Shapes getShapes()
Placeholders getPlaceholders()
Background getBackground()
long getSlideId()
long getMasterId()
void setMasterId(long value)
value
- the new Id of a master slide.boolean isMasterSlide()
int getSlidePosition()
void setSlidePosition(int value)
value
- new slide position.int getLayout()
SlideLayout
.void setLayout(int value)
value
- new slide layout. See SlideLayout
.boolean isFollowMasterObjects()
void setFollowMasterObjects(boolean value)
value
- true to force slide objects follow the master slide objects style.boolean isFollowMasterScheme()
void setFollowMasterScheme(boolean value)
value
- true to force slide follow the master slide color scheme.boolean isFollowMasterBackground()
void setFollowMasterBackground(boolean value)
value
- true to force slide follow the master slide background.java.lang.String getName()
void setName(java.lang.String value)
value
- the name of a slide.java.awt.image.BufferedImage getThumbnail(float scaleX, float scaleY) throws PptException
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.
PptException
java.awt.image.BufferedImage getThumbnail(java.util.Collection elementsToDraw, java.awt.Dimension imageSize, java.awt.geom.Rectangle2D.Float window) throws PptException
elementsToDraw
- a list of elements to draw.imageSize
- size of a new Image.window
- a part of slide to draw.
PptException
java.awt.image.BufferedImage getThumbnail(java.util.Collection elementsToDraw, float scaleX, float scaleY, java.awt.geom.Rectangle2D.Float window) throws PptException
elementsToDraw
- a list of elements to draw.scaleX
- value by which to scale thumbnail in the x-axis direction.scaleY
- value by which to scale thumbnail in the y-axis direction.window
- a part of slide to draw.
PptException
java.awt.image.BufferedImage getThumbnail(float scaleX, float scaleY, java.awt.geom.Rectangle2D.Float window, IDrawingControl drawingControl) throws PptException
scaleX
- value by which to scale thumbnail in the x-axis direction.scaleY
- value by which to scale thumbnail in the y-axis direction.window
- a part of slide to draw.drawingControl
- an object which determines which slide elements to draw or null to draw all.
PptException
java.awt.image.BufferedImage getThumbnail(java.awt.Dimension imageSize, java.awt.geom.Rectangle2D.Float window, IDrawingControl drawingControl) throws PptException
imageSize
- size of a new Image.window
- a part of slide to draw.drawingControl
- an object which determines which slide elements to draw or null to draw all.
PptException
void saveToSVG(java.io.OutputStream stream) throws PptException, AsposeLicenseException
stream
- output stream.
PptException
AsposeLicenseException
void saveToSVG(java.io.OutputStream stream, com.aspose.slides.SVGOptions svgOptions) throws PptException, AsposeLicenseException
stream
- output stream.svgOptions
- options to create SVG file.
PptException
AsposeLicenseException
SlideShowTransition getSlideShowTransition()
void changeMaster(Slide newMaster) throws PptEditException
newMaster
- New master slide.
PptEditException
void changeMaster(Slide newMaster, boolean changeStyle) throws PptEditException
newMaster
- New master slide.changeStyle
- true to change style of placeholders.
PptEditException
HeaderFooter getHeaderFooter()
HeaderFooter
.Tags getTags()
Tags
.Shape findShape(java.lang.String altText)
altText
- Alternative text to find.
SlideComments getSlideComments()
SlideComments
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |