public class PresentationDocumentInfo extends Object implements IDocumentInfo
Represents metadata of one Presentation document
| Modifier and Type | Method and Description |
|---|---|
SvgImage |
generatePreview(int slideIndex)
Generates and returns a preview of the selected slide in a form of SVG image
|
PresentationFormats |
getFormat()
Returns a format of this Presentation document
|
int |
getPageCount()
Returns number of slides in this Presentation document
|
long |
getSize()
Returns size in bytes of this Presentation document
|
boolean |
isEncrypted()
Indicates whether this specific Presentation document in encrypted and requires password for opening
|
public final SvgImage generatePreview(int slideIndex)
Generates and returns a preview of the selected slide in a form of SVG image
slideIndex - 0-based index of the desired slide. Canot be lesser then 0, cannot exceed the number of slides in this presentation.IllegalArgumentException - Specidied slideIndex is lesser then 0 or bigger then the number of slides in this presentationpublic final PresentationFormats getFormat()
Returns a format of this Presentation document
getFormat in interface IDocumentInfopublic final int getPageCount()
Returns number of slides in this Presentation document
getPageCount in interface IDocumentInfopublic final long getSize()
Returns size in bytes of this Presentation document
getSize in interface IDocumentInfopublic final boolean isEncrypted()
Indicates whether this specific Presentation document in encrypted and requires password for opening
isEncrypted in interface IDocumentInfoCopyright © 2024. All rights reserved.