PresentationDocumentInfo

Inheritance: java.lang.Object

All Implemented Interfaces: com.groupdocs.editor.metadata.IDocumentInfo

public class PresentationDocumentInfo implements IDocumentInfo

Represents metadata of one Presentation document

Methods

Method Description
getFormat() Returns a format of this Presentation document
getPageCount() Returns number of slides in this Presentation document
getSize() Returns size in bytes of this Presentation document
isEncrypted() Indicates whether this specific Presentation document in encrypted and requires password for opening
generatePreview(int slideIndex) Generates and returns a preview of the selected slide in a form of SVG image

getFormat()

public final PresentationFormats getFormat()

Returns a format of this Presentation document

Returns: PresentationFormats

getPageCount()

public final int getPageCount()

Returns number of slides in this Presentation document

Returns: int

getSize()

public final long getSize()

Returns size in bytes of this Presentation document

Returns: long

isEncrypted()

public final boolean isEncrypted()

Indicates whether this specific Presentation document in encrypted and requires password for opening

Returns: boolean

generatePreview(int slideIndex)

public final SvgImage generatePreview(int slideIndex)

Generates and returns a preview of the selected slide in a form of SVG image

Parameters:

Parameter Type Description
slideIndex int 0-based index of the desired slide. Canot be lesser then 0, cannot exceed the number of slides in this presentation.

Returns: SvgImage - SVG image as the non-null instance of the SvgImage class