WordProcessingDocumentInfo

Inheritance: java.lang.Object

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

public class WordProcessingDocumentInfo implements IDocumentInfo

Represents metadata of one WordProcessing document

Methods

Method Description
getFormat() Returns a format of this WordProcessing document
getPageCount() Returns number of pages
getSize() Returns size in bytes of this WordProcessing document
isEncrypted() Determines whether this specific WordProcessing document in encrypted and requires password for opening
equals(WordProcessingDocumentInfo other) Determines whether this instance is equal to the other specified WordProcessingDocumentInfo instance

getFormat()

public final WordProcessingFormats getFormat()

Returns a format of this WordProcessing document

Returns: WordProcessingFormats

getPageCount()

public final int getPageCount()

Returns number of pages

Returns: int

getSize()

public final long getSize()

Returns size in bytes of this WordProcessing document

Returns: long

isEncrypted()

public final boolean isEncrypted()

Determines whether this specific WordProcessing document in encrypted and requires password for opening

Returns: boolean

equals(WordProcessingDocumentInfo other)

public final boolean equals(WordProcessingDocumentInfo other)

Determines whether this instance is equal to the other specified WordProcessingDocumentInfo instance

Parameters:

Parameter Type Description
other WordProcessingDocumentInfo Other WordProcessingDocumentInfo instance, that should be checked on equality with this

Returns: boolean - True if are equal, false if are unequal