XlsxWorkbookWorksheetProtection

XlsxWorkbookWorksheetProtection

Overview

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

Provides static methods for building and loading worksheet-protection XML elements.

Methods

SignatureDescription
BuildSheetProtectionElement(worksheet: Core::WorksheetModel)XmlElementBuilds the sheetProtection element from the worksheet model’s protection state. Returns a null XmlElement if the protection has no stored state.
LoadWorksheetProtection(worksheetModel: Core::WorksheetModel, worksheetRoot: XmlElement, diagnostics: LoadDiagnostics, options: LoadOptions, sheetName: std::string_view)Loads worksheet protection attributes from the worksheet XML root into the model.

See Also