public class DocumentInfo extends Object implements IDocumentInfo
Modifier and Type | Method and Description |
---|---|
FileTypePackage |
getFileType()
Gets the file type of the loaded document.
|
int |
getPageCount()
Gets the number of pages (slides, worksheets, etc) in the loaded document.
|
IReadOnlyList<PageInfo> |
getPages()
Gets a collection of objects representing common information about the document pages (slides, worksheets, etc).
|
long |
getSize()
Gets the size of the loaded document in bytes.
|
boolean |
isEncrypted()
Gets a value indicating whether the document is encrypted and requires a password to open.
|
public final FileTypePackage getFileType()
Gets the file type of the loaded document.
getFileType
in interface IDocumentInfo
public final long getSize()
Gets the size of the loaded document in bytes.
getSize
in interface IDocumentInfo
public final int getPageCount()
Gets the number of pages (slides, worksheets, etc) in the loaded document.
getPageCount
in interface IDocumentInfo
public final IReadOnlyList<PageInfo> getPages()
Gets a collection of objects representing common information about the document pages (slides, worksheets, etc).
getPages
in interface IDocumentInfo
public final boolean isEncrypted()
Gets a value indicating whether the document is encrypted and requires a password to open.
isEncrypted
in interface IDocumentInfo