Presentation

Presentation class

Represents a Microsoft PowerPoint presentation.

Presentation

NameDescription
Presentation()This function creates new presentation from scratch. Created presentation has one empty slide.

Returns: Presentation


Presentation

NameDescription
Presentation(LoadOptions)This function creates new presentation from scratch. Created presentation has one empty slide.

Parameters:

NameTypeDescription
loadOptionsLoadOptionsAdditional load options.

Returns: Presentation


Presentation

NameDescription
Presentation(InputStream)This function is the primary mechanism for reading an existing Presentation.

Parameters:

NameTypeDescription
streamInputStreamInput stream.

Returns: Presentation


Presentation

NameDescription
Presentation(InputStream, LoadOptions)This function is the primary mechanism for reading an existing Presentation.

Parameters:

NameTypeDescription
streamInputStreamInput stream.
loadOptionsLoadOptionsAdditional load options.

Returns: Presentation


Presentation

NameDescription
Presentation(String)This function gets a source file path from which the contents of the Presentation are read.

Parameters:

NameTypeDescription
fileStringInput file.

Returns: Presentation

Error

ErrorCondition
com.aspose.ms.System.ArgumentExceptionThrown when input file has zero length

Presentation

NameDescription
Presentation(String, LoadOptions)This function gets a source file path from which the contents of the Presentation are read.

Parameters:

NameTypeDescription
fileStringInput file.
loadOptionsLoadOptionsAdditional load options.

Returns: Presentation

Error

ErrorCondition
ArgumentExceptionThrown when input file has zero length

dispose

NameDescription
dispose ()Releases all resources used by this Presentation object.

Returns: void


getAllCustomXmlParts

NameDescription
getAllCustomXmlParts ()Returns all custom data parts in the presentaion. Read-only ICustomXmlPart[].

Returns: CustomXmlPart


getAudios

NameDescription
getAudios ()Returns the collection of all embedded audio files in the presentation. Read-only IAudioCollection.

Returns: AudioCollection


getCommentAuthors

NameDescription
getCommentAuthors ()Returns the collection of comments autors. Read-only ICommentAuthorCollection.

Returns: CommentAuthorCollection


getCurrentDateTime

NameDescription
getCurrentDateTime ()Returns or sets date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Read/write java.util.Date.

Returns: Date


getCustomData

NameDescription
getCustomData ()Returns the presentation’s custom data. Read-only ICustomData.

Returns: CustomData


getDefaultTextStyle

NameDescription
getDefaultTextStyle ()Returns default text style for shapes. Read-only ITextStyle.

Returns: TextStyle


getDigitalSignatures

NameDescription
getDigitalSignatures ()Returns the collection of signatures used to sign the presentation. Read-only IDigitalSignatureCollection.

Returns: DigitalSignatureCollection


getDocumentProperties

NameDescription
getDocumentProperties ()Returns DocumentProperties object which contains standard and custom document properties. Read-only IDocumentProperties.

Returns: DocumentProperties


getFirstSlideNumber

NameDescription
getFirstSlideNumber ()Represents the first slide number in the presentation

Returns: int


getFontsManager

NameDescription
getFontsManager ()Returns fonts manager. Read-only IFontsManager.

Returns: FontsManager


getHeaderFooterManager

NameDescription
getHeaderFooterManager ()Returns actual HeaderFooter manager. Read-only IPresentationHeaderFooterManager.

Returns: PresentationHeaderFooterManager


getHyperlinkQueries

NameDescription
getHyperlinkQueries ()Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides). Read-only IHyperlinkQueries.

Returns: HyperlinkQueries


getImages

NameDescription
getImages ()Returns the collection of all images in the presentation. Read-only IImageCollection.

Returns: ImageCollection


getImages

NameDescription
getImages (RenderingOptions)Returns a Image objects for all slides of a presentation.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.

Returns: IImage


getImages

NameDescription
getImages (RenderingOptions, int[])Returns a Thumbnail Image objects for specified slides of a presentation.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
slidesint[]Array with slide positions, starting from 1.

Returns: IImage


getImages

NameDescription
getImages (RenderingOptions, float, float)Returns a Thumbnail Image objects for all slides of a presentation with custom scaling.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
scaleXfloatThe value by which to scale this Thumbnail in the x-axis direction.
scaleYfloatThe value by which to scale this Thumbnail in the y-axis direction.

Returns: IImage


getImages

NameDescription
getImages (RenderingOptions, int[], float, float)Returns a Thumbnail Image objects for specified slides of a presentation with custom scaling.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
slidesint[]Array with slide positions, starting from 1.
scaleXfloatThe value by which to scale this Thumbnail in the x-axis direction.
scaleYfloatThe value by which to scale this Thumbnail in the y-axis direction.

Returns: IImage


getImages

NameDescription
getImages (RenderingOptions, Dimension)Returns a Thumbnail Image objects for all slides of a presentation with specified size.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
imageSizeDimensionSize of the image to create.

Returns: IImage


getImages

NameDescription
getImages (RenderingOptions, int[], Dimension)Returns a Thumbnail Image objects for specified slides of a presentation with specified size.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
slidesint[]Array with slide positions, starting from 1.
imageSizeDimensionSize of the image to create.

Returns: IImage


getLayoutSlides

NameDescription
getLayoutSlides ()Returns a list of all layout slides that are defined in the presentation. Read-only IGlobalLayoutSlideCollection. You can access to alternative API for adding/inserting/removing/cloning layout slides by using IMasterSlide.LayoutSlides property.

Returns: GlobalLayoutSlideCollection


getMasterHandoutSlideManager

NameDescription
getMasterHandoutSlideManager ()Returns handout master manager. Read-only IMasterHandoutSlideManager.

Returns: MasterHandoutSlideManager


getMasterNotesSlideManager

NameDescription
getMasterNotesSlideManager ()Returns notes master manager. Read-only IMasterNotesSlideManager.

Returns: MasterNotesSlideManager


getMasterTheme

NameDescription
getMasterTheme ()Returns master theme. Read-only IMasterTheme.

Returns: MasterTheme


getMasters

NameDescription
getMasters ()Returns a list of all master slides that are defined in the presentation. Read-only IMasterSlideCollection.

Returns: MasterSlideCollection


getNotesSize

NameDescription
getNotesSize ()Returns notes slide size object. Read-only INotesSize.

Returns: NotesSize


getPresentation

NameDescription
getPresentation ()Returns the parent presentation of a text. Read-only IPresentation.

Returns: Presentation


getProtectionManager

NameDescription
getProtectionManager ()Gets manager of the permissions for this presentation. Read-only IProtectionManager.

Returns: ProtectionManager


getSections

NameDescription
getSections ()Returns a list of all slides sections that are defined in the presentation. Read-only ISectionCollection.

Returns: SectionCollection


getSlideById

NameDescription
getSlideById (long)Returns a Slide, MasterSlide or LayoutSlide by Id.

Parameters:

NameTypeDescription
idlongId of a slide.

Returns: MasterHandoutSlide, BaseSlide, LayoutSlide, Slide, MasterSlide, NotesSlide, MasterNotesSlide


getSlideShowSettings

NameDescription
getSlideShowSettings ()Returns the slide show settings for the presentation.

Returns: SlideShowSettings


getSlideSize

NameDescription
getSlideSize ()Returns slide size object. Read-only ISlideSize.

Returns: SlideSize


getSlides

NameDescription
getSlides ()Returns a list of all slides that are defined in the presentation. Read-only ISlideCollection.

Returns: SlideCollection


getSourceFormat

NameDescription
getSourceFormat ()Returns information about from which format presentation was loaded. Read-only SourceFormat.

Returns: int


getThumbnails

NameDescription
getThumbnails (RenderingOptions)Returns a Thumbnail BufferedImage objects for all slides of a presentation.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.

Returns: BufferedImage


getThumbnails

NameDescription
getThumbnails (RenderingOptions, int[])Returns a Thumbnail BufferedImage objects for specified slides of a presentation.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
slidesint[]Array with slide positions, starting from 1.

Returns: BufferedImage


getThumbnails

NameDescription
getThumbnails (RenderingOptions, float, float)Returns a Thumbnail BufferedImage objects for all slides of a presentation with custom scaling.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
scaleXfloatThe value by which to scale this Thumbnail in the x-axis direction.
scaleYfloatThe value by which to scale this Thumbnail in the y-axis direction.

Returns: BufferedImage


getThumbnails

NameDescription
getThumbnails (RenderingOptions, int[], float, float)Returns a Thumbnail BufferedImage objects for specified slides of a presentation with custom scaling.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
slidesint[]Array with slide positions, starting from 1.
scaleXfloatThe value by which to scale this Thumbnail in the x-axis direction.
scaleYfloatThe value by which to scale this Thumbnail in the y-axis direction.

Returns: BufferedImage


getThumbnails

NameDescription
getThumbnails (RenderingOptions, Dimension)Returns a Thumbnail BufferedImage objects for all slides of a presentation with specified size.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
imageSizeDimensionSize of the image to create.

Returns: BufferedImage


getThumbnails

NameDescription
getThumbnails (RenderingOptions, int[], Dimension)Returns a Thumbnail BufferedImage objects for specified slides of a presentation with specified size.

Parameters:

NameTypeDescription
optionsRenderingOptionsTiff options.
slidesint[]Array with slide positions, starting from 1.
imageSizeDimensionSize of the image to create.

Returns: BufferedImage


getVbaProject

NameDescription
getVbaProject ()Gets or sets VBA project with presentation macros. Read/write IVbaProject.

Returns: VbaProject


getVideos

NameDescription
getVideos ()Returns the collection of all embedded video files in the presentation. Read-only IVideoCollection.

Returns: VideoCollection


getViewProperties

NameDescription
getViewProperties ()Gets presentation wide view properties. Read-only IViewProperties.

Returns: ViewProperties


joinPortionsWithSameFormatting

NameDescription
joinPortionsWithSameFormatting ()Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides.

Returns: void


save

NameDescription
save (String, int)Saves all slides of a presentation to a file with the specified format.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.

Returns: void


save

NameDescription
save (OutputStream, int)Saves all slides of a presentation to a stream in the specified format.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.

Returns: void


save

NameDescription
save (String, int, RenderingOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsRenderingOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, PptOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsPptOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, XamlOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsXamlOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, SVGOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsSVGOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, MarkdownSaveOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsMarkdownSaveOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, PdfOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsPdfOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, HtmlOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsHtmlOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, SwfOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsSwfOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, TiffOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsTiffOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, Html5Options)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsHtml5OptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, XpsOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsXpsOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, SaveOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsSaveOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, GifOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsGifOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int, PptxOptions)Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
formatintFormat of the exported data.
optionsPptxOptionsAdditional format options.

Returns: void


save

NameDescription
save (OutputStream, int, RenderingOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsRenderingOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, PptOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsPptOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, XamlOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsXamlOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, SVGOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsSVGOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, MarkdownSaveOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsMarkdownSaveOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, PdfOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsPdfOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, HtmlOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsHtmlOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, SwfOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsSwfOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, TiffOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsTiffOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, Html5Options)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsHtml5OptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, XpsOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsXpsOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, SaveOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsSaveOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, GifOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsGifOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (OutputStream, int, PptxOptions)Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
formatintFormat of the exported data.
optionsPptxOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

save

NameDescription
save (XamlOptions)Saves all slides of a presentation to a set of files representing XAML markup.

Parameters:

NameTypeDescription
optionsXamlOptionsThe XAML format options.

Returns: void


save

NameDescription
save (String, int[], int)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (String, int[], int, RenderingOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsRenderingOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, PptOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsPptOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, XamlOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsXamlOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, SVGOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsSVGOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, MarkdownSaveOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsMarkdownSaveOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, PdfOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsPdfOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, HtmlOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsHtmlOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, SwfOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsSwfOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, TiffOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsTiffOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, Html5Options)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsHtml5OptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, XpsOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsXpsOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, SaveOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsSaveOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, GifOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsGifOptionsAdditional format options.

Returns: void


save

NameDescription
save (String, int[], int, PptxOptions)Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters:

NameTypeDescription
fnameStringPath to the created file.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsPptxOptionsAdditional format options.

Returns: void


save

NameDescription
save (OutputStream, int[], int)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.

Returns: void


save

NameDescription
save (OutputStream, int[], int, RenderingOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsRenderingOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, PptOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsPptOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, XamlOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsXamlOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, SVGOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsSVGOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, MarkdownSaveOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsMarkdownSaveOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, PdfOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsPdfOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, HtmlOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsHtmlOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, SwfOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsSwfOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, TiffOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsTiffOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, Html5Options)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsHtml5OptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, XpsOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsXpsOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, SaveOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsSaveOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, GifOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsGifOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

NameDescription
save (OutputStream, int[], int, PptxOptions)Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters:

NameTypeDescription
streamOutputStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.
optionsPptxOptionsAdditional format options.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

setCurrentDateTime

NameDescription
setCurrentDateTime (Date)Returns or sets date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Read/write java.util.Date.

Returns: void


setFirstSlideNumber

NameDescription
setFirstSlideNumber (int)Represents the first slide number in the presentation

Returns: void


setVbaProject

NameDescription
setVbaProject (VbaProject)Gets or sets VBA project with presentation macros. Read/write IVbaProject.

Returns: void