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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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[]. |
Result:
CustomXmlPart
getAudios
Name | Description |
---|
getAudios() | Returns the collection of all embedded audio files in the presentation. Read-only IAudioCollection. |
Result:
AudioCollection
Name | Description |
---|
getCommentAuthors() | Returns the collection of comments autors. Read-only ICommentAuthorCollection. |
Result:
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. |
Result:
Date
getCustomData
Name | Description |
---|
getCustomData() | Returns the presentation’s custom data. Read-only ICustomData. |
Result:
CustomData
getDefaultTextStyle
Name | Description |
---|
getDefaultTextStyle() | Returns default text style for shapes. Read-only ITextStyle. |
Result:
TextStyle
getDigitalSignatures
Name | Description |
---|
getDigitalSignatures() | Returns the collection of signatures used to sign the presentation. Read-only IDigitalSignatureCollection. |
Result:
DigitalSignatureCollection
getDocumentProperties
Name | Description |
---|
getDocumentProperties() | Returns DocumentProperties object which contains standard and custom document properties. Read-only IDocumentProperties. |
Result:
DocumentProperties
getFirstSlideNumber
Name | Description |
---|
getFirstSlideNumber() | Represents the first slide number in the presentation |
Result:
int
getFontsManager
Name | Description |
---|
getFontsManager() | Returns fonts manager. Read-only IFontsManager. |
Result:
FontsManager
Name | Description |
---|
getHeaderFooterManager() | Returns actual HeaderFooter manager. Read-only IPresentationHeaderFooterManager. |
Result:
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. |
Result:
HyperlinkQueries
getImages
Name | Description |
---|
getImages() | Returns the collection of all images in the presentation. Read-only IImageCollection. |
Result:
ImageCollection
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. |
Result:
GlobalLayoutSlideCollection
getMasterHandoutSlideManager
Name | Description |
---|
getMasterHandoutSlideManager() | Returns handout master manager. Read-only IMasterHandoutSlideManager. |
Result:
MasterHandoutSlideManager
getMasterNotesSlideManager
Name | Description |
---|
getMasterNotesSlideManager() | Returns notes master manager. Read-only IMasterNotesSlideManager. |
Result:
MasterNotesSlideManager
getMasterTheme
Name | Description |
---|
getMasterTheme() | Returns master theme. Read-only IMasterTheme. |
Result:
MasterTheme
getMasters
Name | Description |
---|
getMasters() | Returns a list of all master slides that are defined in the presentation. Read-only IMasterSlideCollection. |
Result:
MasterSlideCollection
getNotesSize
Name | Description |
---|
getNotesSize() | Returns notes slide size object. Read-only INotesSize. |
Result:
NotesSize
getPresentation
Name | Description |
---|
getPresentation() | Returns the parent presentation of a text. Read-only IPresentation. |
Result:
Presentation
getProtectionManager
Name | Description |
---|
getProtectionManager() | Gets manager of the permissions for this presentation. Read-only IProtectionManager. |
Result:
ProtectionManager
getSections
Name | Description |
---|
getSections() | Returns a list of all slides sections that are defined in the presentation. Read-only ISectionCollection. |
Result:
SectionCollection
getSlideById
Name | Description |
---|
getSlideById(long) | Returns a Slide, MasterSlide or LayoutSlide by Id. |
Parameters:
Name | Type | Description |
---|
id | long | Id of a slide. |
Result:
Slide, MasterNotesSlide, BaseSlide, MasterSlide, LayoutSlide, MasterHandoutSlide, NotesSlide
getSlideShowSettings
Name | Description |
---|
getSlideShowSettings() | Returns the slide show settings for the presentation. |
Result:
SlideShowSettings
getSlideSize
Name | Description |
---|
getSlideSize() | Returns slide size object. Read-only ISlideSize. |
Result:
SlideSize
getSlides
Name | Description |
---|
getSlides() | Returns a list of all slides that are defined in the presentation. Read-only ISlideCollection. |
Result:
SlideCollection
Name | Description |
---|
getSourceFormat() | Returns information about from which format presentation was loaded. Read-only SourceFormat. |
Result:
int
getThumbnails
Parameters:
Result:
BufferedImage
getThumbnails
Name | Description |
---|
getThumbnails(NotesCommentsLayoutingOptions, int[]) | Returns a Thumbnail BufferedImage objects for specified slides of a presentation. |
Parameters:
Name | Type | Description |
---|
notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
slides | int[] | Array with slide positions, starting from 1. |
Result:
BufferedImage
getThumbnails
Name | Description |
---|
getThumbnails(NotesCommentsLayoutingOptions, float, float) | Returns a Thumbnail BufferedImage objects for all slides of a presentation with custom scaling. |
Parameters:
Name | Type | Description |
---|
notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
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. |
Result:
BufferedImage
getThumbnails
Name | Description |
---|
getThumbnails(NotesCommentsLayoutingOptions, int[], float, float) | Returns a Thumbnail BufferedImage objects for specified slides of a presentation with custom scaling. |
Parameters:
Name | Type | Description |
---|
notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
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. |
Result:
BufferedImage
getThumbnails
Name | Description |
---|
getThumbnails(NotesCommentsLayoutingOptions, Dimension) | Returns a Thumbnail BufferedImage objects for all slides of a presentation with specified size. |
Parameters:
Name | Type | Description |
---|
notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
imageSize | Dimension | Size of the image to create. |
Result:
BufferedImage
getThumbnails
Name | Description |
---|
getThumbnails(NotesCommentsLayoutingOptions, int[], Dimension) | Returns a Thumbnail BufferedImage objects for specified slides of a presentation with specified size. |
Parameters:
Name | Type | Description |
---|
notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
slides | int[] | Array with slide positions, starting from 1. |
imageSize | Dimension | Size of the image to create. |
Result:
BufferedImage
getThumbnails
Name | Description |
---|
getThumbnails(RenderingOptions) | Returns a Thumbnail BufferedImage objects for all slides of a presentation. |
Parameters:
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
BufferedImage
getVbaProject
Name | Description |
---|
getVbaProject() | Gets or sets VBA project with presentation macros. Read/write IVbaProject. |
Result:
VbaProject
getVideos
Name | Description |
---|
getVideos() | Returns the collection of all embedded video files in the presentation. Read-only IVideoCollection. |
Result:
VideoCollection
getViewProperties
Name | Description |
---|
getViewProperties() | Gets presentation wide view properties. Read-only IViewProperties. |
Result:
ViewProperties
Name | Description |
---|
joinPortionsWithSameFormatting() | Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides. |
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. |
Result:
Bytes[]
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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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. |
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, 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. |
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
Bytes[]
Error
Error | Condition |
---|
NotSupportedException | If you try to save encrypted file in none Office 2007-2010 format |
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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. |
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, 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. |
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. |
Result:
Bytes[]
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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, 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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |
Result:
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. |