IPresentation — Aspose.Slides FOSS Java API Reference
IPresentation — Represents a presentation document.
Package: org.aspose.slides.foss
Properties
| Property | Type | Access | Description |
|---|---|---|---|
currentDateTime | LocalDateTime | Read/Write | |
slides | ISlideCollection | Read/Write | |
notesSize | INotesSize | Read/Write | |
layoutSlides | IGlobalLayoutSlideCollection | Read/Write | |
masters | IMasterSlideCollection | Read/Write | |
commentAuthors | ICommentAuthorCollection | Read/Write | |
documentProperties | IDocumentProperties | Read/Write | |
images | IImageCollection | Read/Write | |
sourceFormat | SourceFormat | Read/Write | |
firstSlideNumber | int | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
getCurrentDateTime() | LocalDateTime | Returns date and time which will substitute content of datetime fields. |
setCurrentDateTime(LocalDateTime value) | void | Sets date and time which will substitute content of datetime fields. |
getSlides() | ISlideCollection | Returns a list of all slides that are defined in the presentation. |
getNotesSize() | INotesSize | Returns notes slide size object. |
getLayoutSlides() | IGlobalLayoutSlideCollection | Returns a list of all layout slides that are defined in the presentation. |
getMasters() | IMasterSlideCollection | Returns a list of all master slides that are defined in the presentation. |
getCommentAuthors() | ICommentAuthorCollection | Returns the collection of comments authors. |
getDocumentProperties() | IDocumentProperties | Returns DocumentProperties object which contains standard and custom document properties. |
getImages() | IImageCollection | Returns the collection of all images in the presentation. |
getSourceFormat() | SourceFormat | Returns information about from which format presentation was loaded. |
getFirstSlideNumber() | int | Represents the first slide number in the presentation. |
setFirstSlideNumber(int value) | void | Sets the first slide number in the presentation. |
asIPresentationComponent() | IPresentationComponent | Returns the base IPresentationComponent interface. |
save(String path) | void | Saves the presentation to the given file path. |
save(OutputStream stream) | void | Saves the presentation to the given output stream. |
save(String path, SaveFormat format) | void | Saves the presentation to the given file path in the specified format. |
save(OutputStream stream, SaveFormat format) | void | Saves the presentation to the given output stream in the specified format. |
save(String path, SaveFormat format, ISaveOptions options) | void | Saves the presentation to the given file path with the specified options. |
save(OutputStream stream, SaveFormat format, ISaveOptions options) | void | Saves the presentation to the given output stream with the specified options. |
save(String path, int[] slides, SaveFormat format) | void | Saves the specified slides of the presentation to the given file path. |
save(String path, int[] slides, SaveFormat format, ISaveOptions options) | void | Saves the specified slides of the presentation to the given file path with options. |
save(OutputStream stream, int[] slides, SaveFormat format) | void | Saves the specified slides of the presentation to the given output stream. |
save(OutputStream stream, int[] slides, SaveFormat format, ISaveOptions options) | void | Saves the specified slides of the presentation to the given output stream with options. |
save(ISaveOptions options) | void | Saves the presentation using the specified save options. |
dispose() | void | Disposes of resources held by this presentation. |