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


createPresentationFromStream

NameDescription
createPresentationFromStream (ReadStream, Function)This function is the primary mechanism for reading an existing Presentation.

Parameters:

NameTypeDescription
streamReadStreamInput stream.
callbackFunctioncallback(error, item) - Callback to be called when the class is created, item is the new instance of the Presentation

Returns: Presentation


createPresentationFromStream

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

Parameters:

NameTypeDescription
streamReadStreamInput stream.
loadOptionsLoadOptionsAdditional load options.
callbackFunctioncallback(error, item) - Callback to be called when the class is created, item is the new instance of the Presentation

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.

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: SlidesImage


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: SlidesImage


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: SlidesImage


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: SlidesImage


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: SlidesImage


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: SlidesImage


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: Slide, MasterSlide, LayoutSlide, NotesSlide, BaseSlide, MasterNotesSlide, MasterHandoutSlide


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


highlightRegex

NameDescription
highlightRegex (Pattern, Color, IFindResultCallback)Highlights all matches of the regular expression with the specified color.

Parameters:

NameTypeDescription
regexPatternThe regular expression java.util.regex.Pattern to get strings to highlight.
highlightColorColorThe color to highlight the text.
callbackIFindResultCallbackThe callback object for receiving search results IFindResultCallback.

highlightText

NameDescription
highlightText (String, Color)Highlights all matches of the sample text with the specified color.

Parameters:

NameTypeDescription
textStringThe text to highlight.
highlightColorColorThe color to highlight the text.

highlightText

NameDescription
highlightText (String, Color, TextSearchOptions, IFindResultCallback)Highlights all matches of the sample text with the specified color.

Parameters:

NameTypeDescription
textStringThe text to highlight.
highlightColorColorThe color to highlight the text.
optionsTextSearchOptionsText search options ITextSearchOptions.
callbackIFindResultCallbackThe callback object for receiving search results IFindResultCallback.

joinPortionsWithSameFormatting

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

replaceRegex

NameDescription
replaceRegex (Pattern, String, IFindResultCallback)Replaces all matches of the regular expression with the specified string.

Parameters:

NameTypeDescription
regexPatternThe regular expression java.util.regex.Pattern to get strings to replace.
newTextStringThe string to replace all occurrences of the strings to be replaced.
callbackIFindResultCallbackThe callback object for receiving search results IFindResultCallback.

replaceText

NameDescription
replaceText (String, String, TextSearchOptions, IFindResultCallback)Replaces all occurrences of the specified text with another specified text.

Parameters:

NameTypeDescription
oldTextStringThe string to be replaced.
newTextStringThe string to replace all occurrences of oldText.
optionsTextSearchOptionsText search options ITextSearchOptions.
callbackIFindResultCallbackThe callback object for receiving search results IFindResultCallback.

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.

saveToStream

NameDescription
saveToStream (Presentation, WriteStream, int)Saves all slides of a presentation to a stream in the specified format.

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsPptOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsPdfOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsXamlOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsTiffOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsPptxOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsSaveOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsHtml5OptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsGifOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsHtmlOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsXpsOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsSVGOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsRenderingOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsMarkdownSaveOptionsAdditional format options.

Error

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

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
formatintFormat of the exported data.
optionsSwfOptionsAdditional format options.

Error

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.

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.

Error

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

saveToStream

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

Parameters:

NameTypeDescription
presentationPresentationlink to self
streamWriteStreamOutput stream.
slidesint[]Array with slide positions, starting from 1.
formatintFormat of the exported data.

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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

saveToStream

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

Parameters:

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

Error

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.

setFirstSlideNumber

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

setVbaProject

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