XlsxWorkbookWorksheetProtection
XlsxWorkbookWorksheetProtection
Prezentare generală
XlsxWorkbookWorksheetProtection este o structură în Aspose.Cells FOSS pentru Rust. Moștenește de la: Default, Clone, PartialEq.
Această structură declară 6 metode pentru obiecte XlsxWorkbookWorksheetProtection în programe Rust. Metodele disponibile includ: build_sheet_protection_element, load_worksheet_protection, parse_protection_boolean_attribute, read_optional_attribute, set_bool_attribute_when_true, set_string_attribute_when_present. Membrii publici sunt accesibili oricărei aplicații Rust după instalarea pachetului Aspose.Cells FOSS pentru Rust.
Metode
| Semnătură | Descriere: |
|---|---|
build_sheet_protection_element(worksheet: WorksheetModel) → serde_json::Value | Apelează build_sheet_protection_element(worksheet) pe această instanță XlsxWorkbookWorksheetProtection. |
load_worksheet_protection(worksheet_model: WorksheetModel, worksheet_root: serde_json::Value, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String) | Apelează load_worksheet_protection(worksheet_model, worksheet_root, diagnostics, options, sheet_name) pe această instanță XlsxWorkbookWorksheetProtection. |
parse_protection_boolean_attribute(attribute: serde_json::Value, default_value: bool, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String, attribute_name: String) → bool | Apelează parse_protection_boolean_attribute(attribute, default_value, diagnostics, options, sheet_name, attribute_name) pe această instanță XlsxWorkbookWorksheetProtection. |
read_optional_attribute(element: serde_json::Value, attribute_name: String) → String | Apelează read_optional_attribute(element, attribute_name) pe această instanță XlsxWorkbookWorksheetProtection. |
set_bool_attribute_when_true(element: serde_json::Value, attribute_name: String, value: bool) | Setează atributul bool când valoarea este adevărată. |
set_string_attribute_when_present(element: serde_json::Value, attribute_name: String, value: String) | Setează atributul de tip string când valoarea este prezentă. |