SpreadsheetDocumentInfo
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo
public class SpreadsheetDocumentInfo extends DocumentInfo
Contains Spreadsheet document metadata
| Constructor | Description |
|---|---|
| SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size) |
| 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 |
public String getTitle()
Gets title
Returns: java.lang.String - title
public int getWorksheetsCount()
Gets worksheets count
Returns: int - worksheets count
public String getAuthor()
Gets author
Returns: java.lang.String - author
public boolean isPasswordProtected()
Gets is document password protected
Returns: boolean - true if document is password protected
public List<String> getWorksheets()
Worksheets names
Returns: java.util.List<java.lang.String>
public void setWorksheets(List<String> worksheets)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| worksheets | java.util.List<java.lang.String> |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.