WorksheetModel

Vue de l’ensemble

‘WorksheetModel’ est une classe dans Aspose.Cells FOSS pour C++.

Il représente le modèle de feuille de travail.

Cette classe fournit 37 méthodes pour travailler avec des objets de WorksheetModel dans les programmes C++. Les méthodologies disponibles comprennent: AutoFilterModell, GetAutophilters , Cells GetColumns 'GatConditionalFormattings ‘GitHyperlinks ’GtMergeRegions‘, 'GenName GenPageSetup ‚GotProtection,, 'TabColor et 10 méthode supplémentaires. Tous les membres publics sont accessibles à toute application C ++ après l’installation du package C+.

Méthodes accessorielles

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.

méthodes

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.

Voir aussi

  • Aspose.Cells — référence API d’entreprise
 Français