public class WordProcessingDocumentInfo extends Object implements IDocumentInfo
Represents metadata of one WordProcessing document
| Constructor and Description |
|---|
WordProcessingDocumentInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(WordProcessingDocumentInfo other)
Determines whether this instance is equal to the other specified
WordProcessingDocumentInfo instance
|
SvgImage |
generatePreview(int pageIndex)
Generates and returns a preview of the selected page in a form of SVG image
|
WordProcessingFormats |
getFormat()
Returns a format of this WordProcessing document
|
int |
getPageCount()
Returns number of pages
|
long |
getSize()
Returns size in bytes of this WordProcessing document
|
boolean |
isEncrypted()
Determines whether this specific WordProcessing document in encrypted and
requires password for opening
|
public final boolean equals(WordProcessingDocumentInfo other)
Determines whether this instance is equal to the other specified WordProcessingDocumentInfo instance
other - Other WordProcessingDocumentInfo instance, that should be
checked on equality with thispublic final SvgImage generatePreview(int pageIndex) throws Exception
Generates and returns a preview of the selected page in a form of SVG image
pageIndex - 0-based index of the desired page. Cannot be lesser then 0, cannot exceed the number of pages in this WordProcessing document.SvgImage classcom.aspose.ms.System.ArgumentOutOfRangeException - Specified pageIndex is lesser then 0 or bigger then the number of pages in this WordProcessing documentExceptionpublic final WordProcessingFormats getFormat()
Returns a format of this WordProcessing document
getFormat in interface IDocumentInfopublic final int getPageCount()
Returns number of pages
getPageCount in interface IDocumentInfopublic final long getSize()
Returns size in bytes of this WordProcessing document
getSize in interface IDocumentInfopublic final boolean isEncrypted()
Determines whether this specific WordProcessing document in encrypted and requires password for opening
isEncrypted in interface IDocumentInfoCopyright © 2024. All rights reserved.