WorkbookModel

Overview

WorkbookModel is a class in Aspose.Cells FOSS for Java.

Represents the top-level model of a workbook.

Properties

NameTypeAccessDescription
worksheetsList<WorksheetModel>ReadReturns the worksheets.
settingsWorkbookSettingsModelReadReturns the settings.
propertiesWorkbookPropertiesModelReadReturns the properties.
documentPropertiesDocumentPropertiesModelReadReturns the document properties.
diagnosticsDiagnosticBagReadReturns the diagnostics.
stylesStyleRepositoryReadReturns the styles.
sharedStringsSharedStringRepositoryReadReturns the shared strings.
defaultStyleStyleValueReadReturns the default style.
activeSheetIndexintReadReturns the active sheet index.
definedNamesList<DefinedNameModel>ReadReturns the defined names.

Methods

SignatureDescription
WorkbookModel()Initializes a new WorkbookModel instance.
getWorksheets()List<WorksheetModel>Returns the worksheets.
getSettings()WorkbookSettingsModelReturns the settings.
getProperties()WorkbookPropertiesModelReturns the properties.
getDocumentProperties()DocumentPropertiesModelReturns the document properties.
getDiagnostics()DiagnosticBagReturns the diagnostics.
getStyles()StyleRepositoryReturns the styles.
getSharedStrings()SharedStringRepositoryReturns the shared strings.
getDefaultStyle()StyleValueReturns the default style.
setDefaultStyle(defaultStyle: StyleValue)Sets the default style.
getActiveSheetIndex()intReturns the active sheet index.
setActiveSheetIndex(activeSheetIndex: int)Sets the active sheet index.
getDefinedNames()List<DefinedNameModel>Returns the defined names.