IPresentation

Overview

IPresentation is a interface in Aspose.Slides FOSS for Java. Inherits from: IPresentationComponent, AutoCloseable.

Represents a presentation document.

Properties

NameTypeAccessDescription
currentDateTimeLocalDateTimeReadReturns date and time which will substitute content of datetime fields.
slidesISlideCollectionReadReturns a list of all slides that are defined in the presentation.
notesSizeINotesSizeReadReturns notes slide size object.
layoutSlidesIGlobalLayoutSlideCollectionReadReturns a list of all layout slides that are defined in the presentation.
mastersIMasterSlideCollectionReadReturns a list of all master slides that are defined in the presentation.
commentAuthorsICommentAuthorCollectionReadReturns the collection of comments authors.
documentPropertiesIDocumentPropertiesReadReturns DocumentProperties object which contains standard and custom document properties.
imagesIImageCollectionReadReturns the collection of all images in the presentation.
sourceFormatSourceFormatReadReturns information about from which format presentation was loaded.
firstSlideNumberintReadRepresents the first slide number in the presentation.

Methods

SignatureDescription
getCurrentDateTime()LocalDateTimeReturns 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()ISlideCollectionReturns a list of all slides that are defined in the presentation.
getNotesSize()INotesSizeReturns notes slide size object.
getLayoutSlides()IGlobalLayoutSlideCollectionReturns a list of all layout slides that are defined in the presentation.
getMasters()IMasterSlideCollectionReturns a list of all master slides that are defined in the presentation.
getCommentAuthors()ICommentAuthorCollectionReturns the collection of comments authors.
getDocumentProperties()IDocumentPropertiesReturns DocumentProperties object which contains standard and custom document properties.
getImages()IImageCollectionReturns the collection of all images in the presentation.
getSourceFormat()SourceFormatReturns information about from which format presentation was loaded.
getFirstSlideNumber()intRepresents the first slide number in the presentation.
setFirstSlideNumber(value: int)Sets the first slide number in the presentation.
asIPresentationComponent()IPresentationComponentReturns 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.

See Also