SpreadsheetDocumentInfo

Inheritance: java.lang.Object

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

public class SpreadsheetDocumentInfo implements IDocumentInfo

Represents metadata of one Spreadsheet document

Methods

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

getFormat()

public final SpreadsheetFormats getFormat()

Returns a format of this Spreadsheet document

Returns: SpreadsheetFormats

getPageCount()

public final int getPageCount()

Returns number of tabs

Returns: int

getSize()

public final long getSize()

Returns size in bytes of this Spreadsheet document

Returns: long

isEncrypted()

public final boolean isEncrypted()

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

Returns: boolean

equals(SpreadsheetDocumentInfo other)

public final boolean equals(SpreadsheetDocumentInfo other)

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

Parameters:

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

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