XlsxWorkbookWorksheetProtection
Overview
XlsxWorkbookWorksheetProtection is a struct in Aspose.Cells FOSS for Rust.
Inherits from: Default, Clone, PartialEq.
This struct provides 6 methods for working with XlsxWorkbookWorksheetProtection objects in Rust programs.
Available methods include: build_sheet_protection_element, load_worksheet_protection, parse_protection_boolean_attribute, read_optional_attribute, set_bool_attribute_when_true, set_string_attribute_when_present.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Methods
| Signature | Description |
|---|---|
build_sheet_protection_element(worksheet: WorksheetModel) → serde_json::Value | Calls build_sheet_protection_element(worksheet) on this XlsxWorkbookWorksheetProtection instance. |
load_worksheet_protection(worksheet_model: WorksheetModel, worksheet_root: serde_json::Value, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String) | Calls load_worksheet_protection(worksheet_model, worksheet_root, diagnostics, options, sheet_name) on this XlsxWorkbookWorksheetProtection instance. |
parse_protection_boolean_attribute(attribute: serde_json::Value, default_value: bool, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String, attribute_name: String) → bool | Calls parse_protection_boolean_attribute(attribute, default_value, diagnostics, options, sheet_name, attribute_name) on this XlsxWorkbookWorksheetProtection instance. |
read_optional_attribute(element: serde_json::Value, attribute_name: String) → String | Calls read_optional_attribute(element, attribute_name) on this XlsxWorkbookWorksheetProtection instance. |
set_bool_attribute_when_true(element: serde_json::Value, attribute_name: String, value: bool) | Sets the bool attribute when true value. |
set_string_attribute_when_present(element: serde_json::Value, attribute_name: String, value: String) | Sets the string attribute when present value. |