WorksheetModel

WorksheetModel

Overview

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

Represents the model of a worksheet in the Excel file.

This class provides 23 methods for working with WorksheetModel objects in Java programs. Available methods include: WorksheetModel, getAutoFilter, getCells, getCharts, getColumns, getComments, getConditionalFormattings, getHyperlinks, getListObjects, getMergeRegions, getName, getPageSetup, and 11 additional methods. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: autoFilter, cells, charts, columns, comments, conditionalFormattings, and 13 more.

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.
commentsList<CommentModel>ReadGets the comments.
picturesList<PictureModel>ReadGets the pictures.
shapesList<ShapeModel>ReadGets the shapes.
chartsList<ChartModel>ReadGets the charts.
listObjectsList<ListObjectModel>ReadGets the list objects.

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.
getComments()List<CommentModel>Returns the comments.
getPictures()List<PictureModel>Returns the pictures.
getShapes()List<ShapeModel>Returns the shapes.
getCharts()List<ChartModel>Returns the charts.
getListObjects()List<ListObjectModel>Returns the list objects.

See Also