Presentation
Presentation class
Represents a Microsoft PowerPoint presentation.
Presentation
| Name | Description |
|---|
| Presentation() | This constructor creates new presentation from scratch. Created presentation has one empty slide. |
Returns:
Presentation
Presentation
| Name | Description |
|---|
| Presentation(LoadOptions) | This constructor creates new presentation from scratch. Created presentation has one empty slide. |
Parameters:
| Name | Type | Description |
|---|
| loadOptions | LoadOptions | Additional load options. |
Returns:
Presentation
createPresentationFromBytes
| Name | Description |
|---|
| createPresentationFromBytes (Bytes[]) | This constructor is the primary mechanism for reading an existing Presentation. |
Parameters:
| Name | Type | Description |
|---|
| stream | Bytes[] | Input stream. |
Returns:
Presentation
createPresentationFromBytes
| Name | Description |
|---|
| createPresentationFromBytes (Bytes[], LoadOptions) | This constructor is the primary mechanism for reading an existing Presentation. |
Parameters:
| Name | Type | Description |
|---|
| stream | Bytes[] | Input stream. |
| loadOptions | LoadOptions | Additional load options. |
Returns:
Presentation
Presentation
| Name | Description |
|---|
| Presentation(String) | This constructor 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 constructor 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. |
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
| 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
| 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:
Returns:
SlidesImage
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:
SlidesImage
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:
SlidesImage
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:
SlidesImage
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:
SlidesImage
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:
SlidesImage
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:
Slide, MasterSlide, LayoutSlide, MasterHandoutSlide, NotesSlide, BaseSlide, 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
| 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:
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) | Highlight all matches of regular expression in presentation using specified color. |
Parameters:
| Name | Type | Description |
|---|
| regex | Pattern | The regular expression java.util.regex.Pattern to get strings to be replaced. |
| highlightColor | Color | Highlighting color. |
| callback | IFindResultCallback | Callback object for saving replacement operation result IFindResultCallback. |
highlightText
| Name | Description |
|---|
| highlightText(String, Color) | Highlight all matches of sample in text frame text using specified color. |
Parameters:
| Name | Type | Description |
|---|
| text | String | Text sample to highlight. |
| highlightColor | Color | Highlighting color. |
highlightText
Parameters:
| Name | Type | Description |
|---|
| text | String | Text sample to highlight. |
| highlightColor | Color | Highlighting color. |
| options | TextSearchOptions | Text search options ITextSearchOptions. |
| callback | IFindResultCallback | Callback object for saving replacement operation result IFindResultCallback. |
| Name | Description |
|---|
| joinPortionsWithSameFormatting() | Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides. |
replaceRegex
| Name | Description |
|---|
| replaceRegex(Pattern, String, IFindResultCallback) | Replaces all matches of regular expression in presentation with specified string. |
Parameters:
| Name | Type | Description |
|---|
| regex | Pattern | The regular expression java.util.regex.Pattern to get strings to be replaced. |
| newText | String | The string to replace all occurrences of strings to be replaced. |
| callback | IFindResultCallback | Callback object for saving replacement operation result IFindResultCallback. |
replaceText
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 | Callback object for saving replacement operation result IFindResultCallback. |
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. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int) | Saves all slides of a presentation to a stream in the specified format. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
Returns:
Bytes[]
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, RenderingOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | RenderingOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, XpsOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | XpsOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, SVGOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | SVGOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, PptOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | PptOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, HtmlOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | HtmlOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, PdfOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | PdfOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, TiffOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | TiffOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, XamlOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | XamlOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, SaveOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | SaveOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, PptxOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | PptxOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, Html5Options) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | Html5Options | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, GifOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | GifOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, SwfOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | SwfOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int, MarkdownSaveOptions) | Saves all slides of a presentation to a stream in the specified format and with additional options. |
Parameters:
| Name | Type | Description |
|---|
| format | int | Format of the exported data. |
| options | MarkdownSaveOptions | Additional format options. |
Returns:
Bytes[]
Error
| 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. |
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. |
Error
| 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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
Returns:
Bytes[]
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, RenderingOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | RenderingOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, XpsOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | XpsOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, SVGOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | SVGOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, PptOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | PptOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, HtmlOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | HtmlOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, PdfOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | PdfOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, TiffOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | TiffOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, XamlOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | XamlOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, SaveOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | SaveOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, PptxOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | PptxOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, Html5Options) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | Html5Options | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, GifOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | GifOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, SwfOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | SwfOptions | Additional format options. |
Returns:
Bytes[]
Error
| Error | Condition |
|---|
| InvalidOperationException | When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP. |
saveToBytes
| Name | Description |
|---|
| saveToBytes (int[], int, MarkdownSaveOptions) | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
Parameters:
| Name | Type | Description |
|---|
| slides | int[] | Array with slide positions, starting from 1. |
| format | int | Format of the exported data. |
| options | MarkdownSaveOptions | Additional format options. |
Returns:
Bytes[]
Error
| 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. |
setFirstSlideNumber
| Name | Description |
|---|
| setFirstSlideNumber(int) | Represents the first slide number in the presentation |
setVbaProject
| Name | Description |
|---|
| setVbaProject(VbaProject) | Gets or sets VBA project with presentation macros. Read/write IVbaProject. |