SpreadsheetDocumentInfo
Contents
[
Hide
]
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo
public class SpreadsheetDocumentInfo extends DocumentInfo
Contains Spreadsheet document metadata
Constructors
| Constructor | Description |
|---|---|
| SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size) |
Methods
| Method | Description |
|---|---|
| getTitle() | Gets title |
| getWorksheetsCount() | Gets worksheets count |
| getAuthor() | Gets author |
| isPasswordProtected() | Gets is document password protected |
| getWorksheets() | Worksheets names |
| setWorksheets(List |
SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size)
public SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| spreadsheet | com.aspose.cells.Workbook | |
| isPasswordProtected | boolean | |
| format | FileType | |
| size | long |
getTitle()
public String getTitle()
Gets title
Returns: java.lang.String - title
getWorksheetsCount()
public int getWorksheetsCount()
Gets worksheets count
Returns: int - worksheets count
getAuthor()
public String getAuthor()
Gets author
Returns: java.lang.String - author
isPasswordProtected()
public boolean isPasswordProtected()
Gets is document password protected
Returns: boolean - true if document is password protected
getWorksheets()
public List<String> getWorksheets()
Worksheets names
Returns: java.util.List<java.lang.String>
setWorksheets(List worksheets)
public void setWorksheets(List<String> worksheets)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| worksheets | java.util.List<java.lang.String> |