WorksheetModel

WorksheetModel

Overview

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

Represents the model of a worksheet in the Excel file.

Properties

NameTypeAccessDescription
nameStringReadReturns the name.
visibilitySheetVisibilityReadReturns the visibility.
cellsMap<CellAddress, CellRecord>ReadReturns the cells.
rowsMap<Integer, RowModel>ReadReturns the rows.
columnsList<ColumnRangeModel>ReadReturns the columns.
mergeRegionsList<MergeRegion>ReadReturns the merge regions.
hyperlinksList<HyperlinkModel>ReadReturns the hyperlinks.
validationsList<ValidationModel>ReadReturns the validations.
conditionalFormattingsList<ConditionalFormattingModel>ReadReturns the conditional formattings.
pageSetupPageSetupModelReadReturns the page setup.
viewWorksheetViewModelReadReturns the view.
protectionWorksheetProtectionModelReadReturns the protection.
autoFilterAutoFilterModelReadReturns the auto filter.
tabColorColorValueReadReturns the tab color.

Methods

SignatureDescription
WorksheetModel(name: String)Initializes a new WorksheetModel instance.
getName()StringReturns the name.
setName(name: String)Sets the name.
getVisibility()SheetVisibilityReturns the visibility.
setVisibility(visibility: SheetVisibility)Sets the visibility.
getCells()Map<CellAddress, CellRecord>Returns the cells.
getRows()Map<Integer, RowModel>Returns the rows.
getColumns()List<ColumnRangeModel>Returns the columns.
getMergeRegions()List<MergeRegion>Returns the merge regions.
getHyperlinks()List<HyperlinkModel>Returns the hyperlinks.
getValidations()List<ValidationModel>Returns the validations.
getConditionalFormattings()List<ConditionalFormattingModel>Returns the conditional formattings.
getPageSetup()PageSetupModelReturns the page setup.
getView()WorksheetViewModelReturns the view.
getProtection()WorksheetProtectionModelReturns the protection.
getAutoFilter()AutoFilterModelReturns the auto filter.
getTabColor()ColorValueReturns the tab color.
setTabColor(tabColor: ColorValue)Sets the tab color.