WorkbookModel
Overview
WorkbookModel is a class in Aspose.Cells FOSS for Java.
Represents the top-level model of a workbook.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
worksheets | List<WorksheetModel> | Read | Returns the worksheets. |
settings | WorkbookSettingsModel | Read | Returns the settings. |
properties | WorkbookPropertiesModel | Read | Returns the properties. |
documentProperties | DocumentPropertiesModel | Read | Returns the document properties. |
diagnostics | DiagnosticBag | Read | Returns the diagnostics. |
styles | StyleRepository | Read | Returns the styles. |
sharedStrings | SharedStringRepository | Read | Returns the shared strings. |
defaultStyle | StyleValue | Read | Returns the default style. |
activeSheetIndex | int | Read | Returns the active sheet index. |
definedNames | List<DefinedNameModel> | Read | Returns the defined names. |
Methods
| Signature | Description |
|---|---|
WorkbookModel() | Initializes a new WorkbookModel instance. |
getWorksheets() → List<WorksheetModel> | Returns the worksheets. |
getSettings() → WorkbookSettingsModel | Returns the settings. |
getProperties() → WorkbookPropertiesModel | Returns the properties. |
getDocumentProperties() → DocumentPropertiesModel | Returns the document properties. |
getDiagnostics() → DiagnosticBag | Returns the diagnostics. |
getStyles() → StyleRepository | Returns the styles. |
getSharedStrings() → SharedStringRepository | Returns the shared strings. |
getDefaultStyle() → StyleValue | Returns the default style. |
setDefaultStyle(defaultStyle: StyleValue) | Sets the default style. |
getActiveSheetIndex() → int | Returns the active sheet index. |
setActiveSheetIndex(activeSheetIndex: int) | Sets the active sheet index. |
getDefinedNames() → List<DefinedNameModel> | Returns the defined names. |