IPresentation
Overview
IPresentation is a interface in Aspose.Slides FOSS for Java.
Inherits from: IPresentationComponent, AutoCloseable.
Represents a presentation document.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
currentDateTime | LocalDateTime | Read | Returns date and time which will substitute content of datetime fields. |
slides | ISlideCollection | Read | Returns a list of all slides that are defined in the presentation. |
notesSize | INotesSize | Read | Returns notes slide size object. |
layoutSlides | IGlobalLayoutSlideCollection | Read | Returns a list of all layout slides that are defined in the presentation. |
masters | IMasterSlideCollection | Read | Returns a list of all master slides that are defined in the presentation. |
commentAuthors | ICommentAuthorCollection | Read | Returns the collection of comments authors. |
documentProperties | IDocumentProperties | Read | Returns DocumentProperties object which contains standard and custom document properties. |
images | IImageCollection | Read | Returns the collection of all images in the presentation. |
sourceFormat | SourceFormat | Read | Returns information about from which format presentation was loaded. |
firstSlideNumber | int | Read | Represents the first slide number in the presentation. |
Methods
| Signature | Description |
|---|---|
getCurrentDateTime() → LocalDateTime | Returns date and time which will substitute content of datetime fields. |
setCurrentDateTime(value: LocalDateTime) | 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(value: int) | Sets the first slide number in the presentation. |
asIPresentationComponent() → IPresentationComponent | Returns the base {@link IPresentationComponent} interface. |
save(path: String) | Saves the presentation to the given file path. |
save(stream: OutputStream) | Saves the presentation to the given output stream. |
save(path: String, format: SaveFormat) | Saves the presentation to the given file path in the specified format. |
save(stream: OutputStream, format: SaveFormat) | Saves the presentation to the given output stream in the specified format. |
save(path: String, format: SaveFormat, options: ISaveOptions) | Saves the presentation to the given file path with the specified options. |
save(stream: OutputStream, format: SaveFormat, options: ISaveOptions) | Saves the presentation to the given output stream with the specified options. |
save(path: String, slides: int[], format: SaveFormat) | Saves the specified slides of the presentation to the given file path. |
save(path: String, slides: int[], format: SaveFormat, options: ISaveOptions) | Saves the specified slides of the presentation to the given file path with options. |
save(stream: OutputStream, slides: int[], format: SaveFormat) | Saves the specified slides of the presentation to the given output stream. |
save(stream: OutputStream, slides: int[], format: SaveFormat, options: ISaveOptions) | Saves the specified slides of the presentation to the given output stream with options. |
save(options: ISaveOptions) | Saves the presentation using the specified save options. |
dispose() | Disposes of resources held by this presentation. |