Presentation
Presentation class
Represents a Microsoft PowerPoint presentation.
Presentation
Name | Description |
---|---|
Presentation() | This function creates new presentation from scratch. Created presentation has one empty slide. |
Returns: Presentation
Presentation
Name | Description |
---|---|
Presentation(LoadOptions) | This function creates new presentation from scratch. Created presentation has one empty slide. |
Parameters:
Name | Type | Description |
---|---|---|
loadOptions | LoadOptions | Additional load options. |
Returns: Presentation
Presentation
Name | Description |
---|---|
Presentation(InputStream) | This function is the primary mechanism for reading an existing Presentation. |
Parameters:
Name | Type | Description |
---|---|---|
stream | InputStream | Input stream. |
Returns: Presentation
Presentation
Name | Description |
---|---|
Presentation(InputStream, LoadOptions) | This function is the primary mechanism for reading an existing Presentation. |
Parameters:
Name | Type | Description |
---|---|---|
stream | InputStream | Input stream. |
loadOptions | LoadOptions | Additional load options. |
Returns: Presentation
Presentation
Name | Description |
---|---|
Presentation(String) | This function gets a source file path from which the contents of the Presentation are read. |
Parameters:
Name | Type | Description |
---|---|---|
file | String | Input file. |
Returns: Presentation
Error
Error | Condition |
---|---|
com.aspose.ms.System.ArgumentException | Thrown when input file has zero length |
Presentation
Name | Description |
---|---|
Presentation(String, LoadOptions) | This function gets a source file path from which the contents of the Presentation are read. |
Parameters:
Name | Type | Description |
---|---|---|
file | String | Input file. |
loadOptions | LoadOptions | Additional load options. |
Returns: Presentation
Error
Error | Condition |
---|---|
ArgumentException | Thrown when input file has zero length |
dispose
Name | Description |
---|---|
dispose () | Releases all resources used by this Presentation object. |
Returns: void
getAllCustomXmlParts
Name | Description |
---|---|
getAllCustomXmlParts () | Returns all custom data parts in the presentaion. Read-only ICustomXmlPart[]. |
Returns: CustomXmlPart
getAudios
Name | Description |
---|---|
getAudios () | Returns the collection of all embedded audio files in the presentation. Read-only IAudioCollection. |
Returns: AudioCollection
getCommentAuthors
Name | Description |
---|---|
getCommentAuthors () | Returns the collection of comments autors. Read-only ICommentAuthorCollection. |
Returns: CommentAuthorCollection
getCurrentDateTime
Name | Description |
---|---|
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
Name | Description |
---|---|
getCustomData () | Returns the presentation’s custom data. Read-only ICustomData. |
Returns: CustomData
getDefaultTextStyle
Name | Description |
---|---|
getDefaultTextStyle () | Returns default text style for shapes. Read-only ITextStyle. |
Returns: TextStyle
getDigitalSignatures
Name | Description |
---|---|
getDigitalSignatures () | Returns the collection of signatures used to sign the presentation. Read-only IDigitalSignatureCollection. |
Returns: DigitalSignatureCollection
getDocumentProperties
Name | Description |
---|---|
getDocumentProperties () | Returns DocumentProperties object which contains standard and custom document properties. Read-only IDocumentProperties. |
Returns: DocumentProperties
getFirstSlideNumber
Name | Description |
---|---|
getFirstSlideNumber () | Represents the first slide number in the presentation |
Returns: int
getFontsManager
Name | Description |
---|---|
getFontsManager () | Returns fonts manager. Read-only IFontsManager. |
Returns: FontsManager
getHeaderFooterManager
Name | Description |
---|---|
getHeaderFooterManager () | Returns actual HeaderFooter manager. Read-only IPresentationHeaderFooterManager. |
Returns: PresentationHeaderFooterManager
getHyperlinkQueries
Name | Description |
---|---|
getHyperlinkQueries () | Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides). Read-only IHyperlinkQueries. |
Returns: HyperlinkQueries
getImages
Name | Description |
---|---|
getImages () | Returns the collection of all images in the presentation. Read-only IImageCollection. |
Returns: ImageCollection
getImages
Name | Description |
---|---|
getImages (RenderingOptions) | Returns a Image objects for all slides of a presentation. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
Returns: IImage
getImages
Name | Description |
---|---|
getImages (RenderingOptions, int[]) | Returns a Thumbnail Image objects for specified slides of a presentation. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
slides | int[] | Array with slide positions, starting from 1. |
Returns: IImage
getImages
Name | Description |
---|---|
getImages (RenderingOptions, float, float) | Returns a Thumbnail Image objects for all slides of a presentation with custom scaling. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Returns: IImage
getImages
Name | Description |
---|---|
getImages (RenderingOptions, int[], float, float) | Returns a Thumbnail Image objects for specified slides of a presentation with custom scaling. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
slides | int[] | Array with slide positions, starting from 1. |
scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Returns: IImage
getImages
Name | Description |
---|---|
getImages (RenderingOptions, Dimension) | Returns a Thumbnail Image objects for all slides of a presentation with specified size. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
imageSize | Dimension | Size of the image to create. |
Returns: IImage
getImages
Name | Description |
---|---|
getImages (RenderingOptions, int[], Dimension) | Returns a Thumbnail Image objects for specified slides of a presentation with specified size. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
slides | int[] | Array with slide positions, starting from 1. |
imageSize | Dimension | Size of the image to create. |
Returns: IImage
getLayoutSlides
Name | Description |
---|---|
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
Name | Description |
---|---|
getMasterHandoutSlideManager () | Returns handout master manager. Read-only IMasterHandoutSlideManager. |
Returns: MasterHandoutSlideManager
getMasterNotesSlideManager
Name | Description |
---|---|
getMasterNotesSlideManager () | Returns notes master manager. Read-only IMasterNotesSlideManager. |
Returns: MasterNotesSlideManager
getMasterTheme
Name | Description |
---|---|
getMasterTheme () | Returns master theme. Read-only IMasterTheme. |
Returns: MasterTheme
getMasters
Name | Description |
---|---|
getMasters () | Returns a list of all master slides that are defined in the presentation. Read-only IMasterSlideCollection. |
Returns: MasterSlideCollection
getNotesSize
Name | Description |
---|---|
getNotesSize () | Returns notes slide size object. Read-only INotesSize. |
Returns: NotesSize
getPresentation
Name | Description |
---|---|
getPresentation () | Returns the parent presentation of a text. Read-only IPresentation. |
Returns: Presentation
getProtectionManager
Name | Description |
---|---|
getProtectionManager () | Gets manager of the permissions for this presentation. Read-only IProtectionManager. |
Returns: ProtectionManager
getSections
Name | Description |
---|---|
getSections () | Returns a list of all slides sections that are defined in the presentation. Read-only ISectionCollection. |
Returns: SectionCollection
getSlideById
Name | Description |
---|---|
getSlideById (long) | Returns a Slide, MasterSlide or LayoutSlide by Id. |
Parameters:
Name | Type | Description |
---|---|---|
id | long | Id of a slide. |
Returns: MasterHandoutSlide, BaseSlide, LayoutSlide, Slide, MasterSlide, NotesSlide, MasterNotesSlide
getSlideShowSettings
Name | Description |
---|---|
getSlideShowSettings () | Returns the slide show settings for the presentation. |
Returns: SlideShowSettings
getSlideSize
Name | Description |
---|---|
getSlideSize () | Returns slide size object. Read-only ISlideSize. |
Returns: SlideSize
getSlides
Name | Description |
---|---|
getSlides () | Returns a list of all slides that are defined in the presentation. Read-only ISlideCollection. |
Returns: SlideCollection
getSourceFormat
Name | Description |
---|---|
getSourceFormat () | Returns information about from which format presentation was loaded. Read-only SourceFormat. |
Returns: int
getThumbnails
Name | Description |
---|---|
getThumbnails (RenderingOptions) | Returns a Thumbnail BufferedImage objects for all slides of a presentation. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
Returns: BufferedImage
getThumbnails
Name | Description |
---|---|
getThumbnails (RenderingOptions, int[]) | Returns a Thumbnail BufferedImage objects for specified slides of a presentation. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
slides | int[] | Array with slide positions, starting from 1. |
Returns: BufferedImage
getThumbnails
Name | Description |
---|---|
getThumbnails (RenderingOptions, float, float) | Returns a Thumbnail BufferedImage objects for all slides of a presentation with custom scaling. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Returns: BufferedImage
getThumbnails
Name | Description |
---|---|
getThumbnails (RenderingOptions, int[], float, float) | Returns a Thumbnail BufferedImage objects for specified slides of a presentation with custom scaling. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
slides | int[] | Array with slide positions, starting from 1. |
scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Returns: BufferedImage
getThumbnails
Name | Description |
---|---|
getThumbnails (RenderingOptions, Dimension) | Returns a Thumbnail BufferedImage objects for all slides of a presentation with specified size. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
imageSize | Dimension | Size of the image to create. |
Returns: BufferedImage
getThumbnails
Name | Description |
---|---|
getThumbnails (RenderingOptions, int[], Dimension) | Returns a Thumbnail BufferedImage objects for specified slides of a presentation with specified size. |
Parameters:
Name | Type | Description |
---|---|---|
options | RenderingOptions | Tiff options. |
slides | int[] | Array with slide positions, starting from 1. |
imageSize | Dimension | Size of the image to create. |
Returns: BufferedImage
getVbaProject
Name | Description |
---|---|
getVbaProject () | Gets or sets VBA project with presentation macros. Read/write IVbaProject. |
Returns: VbaProject
getVideos
Name | Description |
---|---|
getVideos () | Returns the collection of all embedded video files in the presentation. Read-only IVideoCollection. |
Returns: VideoCollection
getViewProperties
Name | Description |
---|---|
getViewProperties () | Gets presentation wide view properties. Read-only IViewProperties. |
Returns: ViewProperties
highlightRegex
Name | Description |
---|---|
highlightRegex (Pattern, Color, IFindResultCallback) | Highlights all matches of the regular expression with the specified color. |
Parameters:
Name | Type | Description |
---|---|---|
regex | Pattern | The regular expression java.util.regex.Pattern to get strings to highlight. |
highlightColor | Color | The color to highlight the text. |
callback | IFindResultCallback | The callback object for receiving search results IFindResultCallback. |
Returns: void
highlightText
Name | Description |
---|---|
highlightText (String, Color) | Highlights all matches of the sample text with the specified color. |
Parameters:
Name | Type | Description |
---|---|---|
text | String | The text to highlight. |
highlightColor | Color | The color to highlight the text. |
Returns: void
highlightText
Name | Description |
---|---|
highlightText (String, Color, TextSearchOptions, IFindResultCallback) | Highlights all matches of the sample text with the specified color. |
Parameters:
Name | Type | Description |
---|---|---|
text | String | The text to highlight. |
highlightColor | Color | The color to highlight the text. |
options | TextSearchOptions | Text search options ITextSearchOptions. |
callback | IFindResultCallback | The callback object for receiving search results IFindResultCallback. |
Returns: void
joinPortionsWithSameFormatting
Name | Description |
---|---|
joinPortionsWithSameFormatting () | Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides. |
Returns: void
replaceRegex
Name | Description |
---|---|
replaceRegex (Pattern, String, IFindResultCallback) | Replaces all matches of the regular expression with the specified string. |
Parameters:
Name | Type | Description |
---|---|---|
regex | Pattern | The regular expression java.util.regex.Pattern to get strings to replace. |
newText | String | The string to replace all occurrences of the strings to be replaced. |
callback | IFindResultCallback | The callback object for receiving search results IFindResultCallback. |
Returns: void
replaceText
Name | Description |
---|---|
replaceText (String, String, TextSearchOptions, IFindResultCallback) | Replaces all occurrences of the specified text with another specified text. |
Parameters:
Name | Type | Description |
---|---|---|
oldText | String | The string to be replaced. |
newText | String | The string to replace all occurrences of oldText. |
options | TextSearchOptions | Text search options ITextSearchOptions. |
callback | IFindResultCallback | The callback object for receiving search results IFindResultCallback. |
Returns: void
save
Name | Description |
---|---|
save (String, int) | Saves all slides of a presentation to a file with the specified format. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
Returns: void
save
Name | Description |
---|---|
save (OutputStream, int) | Saves all slides of a presentation to a stream in the specified format. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
Returns: void
save
Name | Description |
---|---|
save (String, int, RenderingOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | RenderingOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, PptOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | PptOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, XamlOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | XamlOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, SVGOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | SVGOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, MarkdownSaveOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | MarkdownSaveOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, PdfOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | PdfOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, HtmlOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | HtmlOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, SwfOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | SwfOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, Html5Options) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | Html5Options | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, TiffOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | TiffOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, XpsOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | XpsOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, SaveOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | SaveOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, GifOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | GifOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int, PptxOptions) | Saves all slides of a presentation to a file with the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
format | int | Format of the exported data. |
options | PptxOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (OutputStream, int, RenderingOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | RenderingOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, PptOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | PptOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, XamlOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | XamlOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, SVGOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | SVGOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, MarkdownSaveOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | MarkdownSaveOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, PdfOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | PdfOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, HtmlOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | HtmlOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, SwfOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | SwfOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, Html5Options) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | Html5Options | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, TiffOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | TiffOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, XpsOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | XpsOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, SaveOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | SaveOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, GifOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | GifOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (OutputStream, int, PptxOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
format | int | Format of the exported data. |
options | PptxOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
save
Name | Description |
---|---|
save (XamlOptions) | Saves all slides of a presentation to a set of files representing XAML markup. |
Parameters:
Name | Type | Description |
---|---|---|
options | XamlOptions | The XAML format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (String, int[], int, RenderingOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | RenderingOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, PptOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | PptOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, XamlOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | XamlOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, SVGOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | SVGOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, MarkdownSaveOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | MarkdownSaveOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, PdfOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | PdfOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, HtmlOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | HtmlOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, SwfOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | SwfOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, Html5Options) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | Html5Options | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, TiffOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | TiffOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, XpsOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | XpsOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, SaveOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | SaveOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, GifOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | GifOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (String, int[], int, PptxOptions) | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
fname | String | Path to the created file. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | PptxOptions | Additional format options. |
Returns: void
save
Name | Description |
---|---|
save (OutputStream, int[], int) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
Returns: void
save
Name | Description |
---|---|
save (OutputStream, int[], int, RenderingOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | RenderingOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, PptOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | PptOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, XamlOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | XamlOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, SVGOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | SVGOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, MarkdownSaveOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | MarkdownSaveOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, PdfOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | PdfOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, HtmlOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | HtmlOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, SwfOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | SwfOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, Html5Options) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | Html5Options | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, TiffOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | TiffOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, XpsOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | XpsOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, SaveOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | SaveOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, GifOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | GifOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
save
Name | Description |
---|---|
save (OutputStream, int[], int, PptxOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
Name | Type | Description |
---|---|---|
stream | OutputStream | Output stream. |
slides | int[] | Array with slide positions, starting from 1. |
format | int | Format of the exported data. |
options | PptxOptions | Additional format options. |
Returns: void
Exception
Error | Condition |
---|---|
InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
setCurrentDateTime
Name | Description |
---|---|
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
Name | Description |
---|---|
setFirstSlideNumber (int) | Represents the first slide number in the presentation |
Returns: void
setVbaProject
Name | Description |
---|---|
setVbaProject (VbaProject) | Gets or sets VBA project with presentation macros. Read/write IVbaProject. |
Returns: void