XlsxWorkbookWorksheetViews
Overview
XlsxWorkbookWorksheetViews is a class in Aspose.Cells FOSS for C++.
Provides static methods for building and loading worksheet view settings (sheet properties, sheet views) in the XLSX workbook serializer.
Methods
| Signature | Description |
|---|---|
BuildWorksheetSheetProperties(worksheet: Core::WorksheetModel) → XmlElement | Builds the sheetPr XML element for a worksheet, including tab color and page-setup properties. Returns a null XmlElement when neither is present. |
BuildWorksheetViewsElement(worksheet: Core::WorksheetModel) → XmlElement | Builds the sheetViews XML element for a worksheet when the view is not the default. Returns a null XmlElement when the view is default. |
LoadWorksheetViewSettings(worksheetModel: Core::WorksheetModel, worksheetRoot: XmlElement, diagnostics: LoadDiagnostics, options: LoadOptions, sheetName: std::string_view) | Loads worksheet view settings (tab color and sheet view) from the worksheet XML root into the model. |