WorksheetModel

WorksheetModel

Overview

WorksheetModel is a class in Aspose.Cells FOSS for C++.

Represents worksheet model.

This class provides 37 methods for working with WorksheetModel objects in C++ programs. Available methods include: AutoFilterModel, GetAutoFilter, GetCells, GetColumns, GetConditionalFormattings, GetHyperlinks, GetMergeRegions, GetName, GetPageSetup, GetProtection, GetRows, GetTabColor, and 10 additional methods. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package. Accessor methods: AutoFilterModel, PageSetupModel, SheetVisibility, WorksheetProtectionModel, WorksheetViewModel.

Accessor Methods

NameTypeAccessDescription
SheetVisibilitySheetVisibilityReadGets the sheet visibility.
PageSetupModelPageSetupModelReadGets the page setup model.
WorksheetViewModelWorksheetViewModelReadGets the worksheet view model.
WorksheetProtectionModelWorksheetProtectionModelReadGets the worksheet protection model.
AutoFilterModelAutoFilterModelReadGets the auto filter model.

Methods

SignatureDescription
SheetVisibility()SheetVisibilityGets or sets the visibility.
PageSetupModel()PageSetupModelGets the page setup.
PageSetupModel()PageSetupModelCalls PageSetupModel on this WorksheetModel instance.
WorksheetViewModel()WorksheetViewModelGets the view.
WorksheetViewModel()WorksheetViewModelCalls WorksheetViewModel on this WorksheetModel instance.
WorksheetProtectionModel()WorksheetProtectionModelGets the protection.
WorksheetProtectionModel()WorksheetProtectionModelCalls WorksheetProtectionModel on this WorksheetModel instance.
AutoFilterModel()AutoFilterModelGets the auto filter.
AutoFilterModel()AutoFilterModelCalls AutoFilterModel on this WorksheetModel instance.
GetName()std::stringGets or sets the name.
SetName(value: std::string)Sets the name value.
GetVisibility()SheetVisibilityGets or sets the visibility.
SetVisibility(value: SheetVisibility)Sets the visibility value.
GetCells()std::unordered_map<CellAddress, CellRecord>Gets the cells.
GetCells()std::unordered_map<CellAddress, CellRecord>Returns the cells.
GetRows()std::unordered_map<int, RowModel>Gets the rows.
GetRows()std::unordered_map<int, RowModel>Returns the rows.
GetColumns()std::vector<ColumnRangeModel>Gets the columns.
GetColumns()std::vector<ColumnRangeModel>Returns the columns.
GetMergeRegions()std::vector<MergeRegion>Gets the merge regions.
GetMergeRegions()std::vector<MergeRegion>Returns the merge regions.
GetHyperlinks()std::vector<HyperlinkModel>Gets the hyperlinks.
GetHyperlinks()std::vector<HyperlinkModel>Returns the hyperlinks.
GetValidations()std::vector<ValidationModel>Gets the validations.
GetValidations()std::vector<ValidationModel>Returns the validations.
GetConditionalFormattings()std::vector<ConditionalFormattingModel>Gets the conditional formattings.
GetConditionalFormattings()std::vector<ConditionalFormattingModel>Returns the conditional formattings.
GetPageSetup()PageSetupModelGets the page setup.
GetPageSetup()PageSetupModelReturns the page setup.
GetView()WorksheetViewModelGets the view.
GetView()WorksheetViewModelReturns the view.
GetProtection()WorksheetProtectionModelGets the protection.
GetProtection()WorksheetProtectionModelReturns the protection.
GetAutoFilter()AutoFilterModelGets the auto filter.
GetAutoFilter()AutoFilterModelReturns the auto filter.
GetTabColor()std::optional<ColorValue>Gets or sets the tab color.
SetTabColor(value: std::optional<ColorValue>)Sets the tab color value.

See Also

 English