|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.PresentationEx
public final class PresentationEx
Represents a Microsoft PowerPoint 2007 PPTX presentation.
Field Summary | |
---|---|
com.aspose.slides.pptx.PptxFile |
m_package
|
Constructor Summary | |
---|---|
PresentationEx()
This constructor creates new presentation from scratch. |
|
PresentationEx(java.io.InputStream stream)
This constructor is the primary mechanism for reading an existing presentation. |
|
PresentationEx(java.lang.String file)
This constructor gets a source file path from which the contents of the Presentation are read. |
Method Summary | |
---|---|
DocumentPropertiesEx |
getDocumentProperties()
Returns DocumentPropertiesEx object which contains standard and custom document properties. |
ImagesEx |
getImages()
Returns the collection of all images used in the presentation. |
LayoutSlidesEx |
getLayoutSlides()
Returns a list of all layout slides that are defined in the presentation. |
MasterSlidesEx |
getMasters()
Returns a list of all master slides that are defined in the presentation. |
SlideEx |
getSlideById(long id)
Returns a slide by Id. |
SlidesEx |
getSlides()
Returns a list of all slides that are defined in the presentation. |
SlideSizeEx |
getSlideSize()
Returns the slide size. |
TagsEx |
getTags()
|
void |
save(java.io.OutputStream stream,
SaveFormat format)
Saves all slides of a presentation to a stream in the specified format. |
void |
save(java.io.OutputStream stream,
SaveFormat format,
SaveOptions options)
Saves all slides of a presentation to a stream in the specified format and with additional options. |
void |
save(java.lang.String fname,
SaveFormat format)
Saves all slides of a presentation to a file with the specified format. |
void |
save(java.lang.String fname,
SaveFormat format,
SaveOptions options)
Saves all slides of a presentation to a file with the specified format and with additional options. |
void |
write(java.io.OutputStream stream)
Writes the contents of a presentation to an output stream. |
void |
write(java.lang.String file)
Writes the contents of the Presentation to a file specified by the file name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public com.aspose.slides.pptx.PptxFile m_package
Constructor Detail |
---|
public PresentationEx()
public PresentationEx(java.io.InputStream stream) throws java.io.IOException
stream
- input stream to read presentation from.
java.io.IOException
public PresentationEx(java.lang.String file) throws java.io.IOException
file
- input file name.
java.io.IOException
Method Detail |
---|
public void write(java.lang.String file) throws java.io.IOException
file
- output file name.
java.io.IOException
public void write(java.io.OutputStream stream) throws java.io.IOException
stream
- output stream to write presentation.
java.io.IOException
public SlidesEx getSlides()
SlidesEx
.public SlideSizeEx getSlideSize()
public LayoutSlidesEx getLayoutSlides()
LayoutSlidesEx
.public MasterSlidesEx getMasters()
MasterSlidesEx
.public DocumentPropertiesEx getDocumentProperties()
public ImagesEx getImages()
ImagesEx
public TagsEx getTags()
public SlideEx getSlideById(long id)
id
- Id of a slide.
SlideEx
.public void save(java.lang.String fname, SaveFormat format) throws java.io.IOException
fname
- Path to the created file.format
- Format of the exported data.
java.io.IOException
public void save(java.io.OutputStream stream, SaveFormat format) throws java.io.IOException
stream
- Output stream.format
- Format of the exported data.
java.io.IOException
public void save(java.lang.String fname, SaveFormat format, SaveOptions options) throws java.io.IOException
fname
- Path to the created file.format
- Format of the exported data.options
- Additional format options.
java.io.IOException
public void save(java.io.OutputStream stream, SaveFormat format, SaveOptions options) throws java.io.IOException
stream
- Output stream.format
- Format of the exported data.options
- Additional format options.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |