|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.slides.Slide
public class Slide
Represents the slide in a presentation.
| 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 alt_text)
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. |
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.awt.Dimension size)
Returns the thumbnail image object with specified size. |
java.awt.image.BufferedImage |
getThumbnail(double scaleX,
double scaleY)
Returns the 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void addNotes()
throws PptEditException
PptEditException - on notes adding errors.public Presentation getParent()
public Notes getNotes()
public Shapes getShapes()
public Placeholders getPlaceholders()
public Background getBackground()
public long getSlideId()
public long getMasterId()
public void setMasterId(long value)
value - the new Id of a master slide.public boolean isMasterSlide()
public int getSlidePosition()
0 for master slides.
public void setSlidePosition(int value)
value - new slide position.public int getLayout()
SlideLayout.public void setLayout(int value)
value - new slide layout. See SlideLayout.public boolean isFollowMasterObjects()
public void setFollowMasterObjects(boolean value)
value - true to force slide objects follow the master slide objects
style.public boolean isFollowMasterScheme()
public void setFollowMasterScheme(boolean value)
value - true to force slide follow the master slide color scheme.public boolean isFollowMasterBackground()
public void setFollowMasterBackground(boolean value)
value - true to force slide follow the master slide background.public java.lang.String getName()
String.public void setName(java.lang.String value)
value - the name of a slide. See String.
public java.awt.image.BufferedImage getThumbnail(double scaleX,
double 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
public java.awt.image.BufferedImage getThumbnail(java.awt.Dimension size)
throws PptException
size - of new Image.
PptException
public void saveToSVG(java.io.OutputStream stream)
throws PptException,
AsposeLicenseException
stream - output stream.
PptException
AsposeLicenseException
public void saveToSVG(java.io.OutputStream stream,
com.aspose.slides.SVGOptions svgOptions)
throws PptException,
AsposeLicenseException
stream - output stream.svgOptions - options to create SVG file.
PptException
AsposeLicenseExceptionpublic SlideShowTransition getSlideShowTransition()
public void changeMaster(Slide newMaster)
throws PptEditException
newMaster - New master slide.
PptEditException
public void changeMaster(Slide newMaster,
boolean changeStyle)
throws PptEditException
newMaster - New master slide.changeStyle - true to change style of placeholders.
PptEditExceptionpublic HeaderFooter getHeaderFooter()
HeaderFooter.public Tags getTags()
Tags.public Shape findShape(java.lang.String alt_text)
alt_text - Alternative text to find.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||