XlsxWorkbookProperties
概述
XlsxWorkbookProperties 是 Aspose.Cells Rust 的 FOSS 中的结构体。继承自:Default、Clone、PartialEq。
此结构体在 Rust 程序中为 XlsxWorkbookProperties 对象声明了 13 个方法。可用的方法包括:add_workbook_metadata_issue、build_book_views_element、build_calculation_properties_element、build_workbook_properties_element、build_workbook_protection_element、load_workbook_metadata、read_bool_attribute、read_choice_attribute、read_non_negative_double_attribute、read_non_negative_int_attribute、read_nullable_bool_attribute、read_string_attribute,以及 1 个额外的方法。公共成员在安装 Aspose.Cells Rust FOSS 包后可供任何 Rust 应用访问。
方法
| 签名 | 描述 |
|---|---|
build_workbook_properties_element(model: WorkbookModel) → serde_json::Value | 在此 XlsxWorkbookProperties 实例上调用 build_workbook_properties_element(model)。 |
build_workbook_protection_element(model: WorkbookModel) → serde_json::Value | 在此 XlsxWorkbookProperties 实例上调用 build_workbook_protection_element(model)。 |
build_book_views_element(model: WorkbookModel) → serde_json::Value | 在此 XlsxWorkbookProperties 实例上调用 build_book_views_element(model)。 |
build_calculation_properties_element(model: WorkbookModel) → serde_json::Value | 在此 XlsxWorkbookProperties 实例上调用 build_calculation_properties_element(model)。 |
load_workbook_metadata(workbook_root: serde_json::Value, workbook_model: WorkbookModel, sheet_count: i32, diagnostics: LoadDiagnostics, options: LoadOptions) | 在此 XlsxWorkbookProperties 实例上调用 load_workbook_metadata(workbook_root, workbook_model, sheet_count, diagnostics, options)。 |
read_string_attribute(element: serde_json::Value, name: String) → String | 在此 XlsxWorkbookProperties 实例上调用 read_string_attribute(element, name)。 |
read_choice_attribute(element: serde_json::Value, attribute_name: String, diagnostics: LoadDiagnostics, options: LoadOptions, part_uri: String, normalizer: Func<String, String>) → String | 在此 XlsxWorkbookProperties 实例上调用 read_choice_attribute(element, attribute_name, diagnostics, options, part_uri, normalizer)。 |
read_bool_attribute(element: serde_json::Value, attribute_name: String, diagnostics: LoadDiagnostics, options: LoadOptions, default_value: bool, part_uri: String) → bool | 在此 XlsxWorkbookProperties 实例上调用 read_bool_attribute(element, attribute_name, diagnostics, options, default_value, part_uri)。 |
read_nullable_bool_attribute(element: serde_json::Value, attribute_name: String, diagnostics: LoadDiagnostics, options: LoadOptions, part_uri: String) → Option<bool> | 在此 XlsxWorkbookProperties 实例上调用 read_nullable_bool_attribute(element, attribute_name, diagnostics, options, part_uri)。 |
read_non_negative_int_attribute(element: serde_json::Value, attribute_name: String, diagnostics: LoadDiagnostics, options: LoadOptions, part_uri: String) → Option<i32> | 在此 XlsxWorkbookProperties 实例上调用 read_non_negative_int_attribute(element, attribute_name, diagnostics, options, part_uri)。 |
read_non_negative_double_attribute(element: serde_json::Value, attribute_name: String, diagnostics: LoadDiagnostics, options: LoadOptions, part_uri: String) → Option<f64> | 在此 XlsxWorkbookProperties 实例上调用 read_non_negative_double_attribute(element, attribute_name, diagnostics, options, part_uri)。 |
try_read_boolean(raw_value: String, value: Ref<bool>) → bool | 在此 XlsxWorkbookProperties 实例上调用 try_read_boolean(raw_value, value)。 |
add_workbook_metadata_issue(diagnostics: LoadDiagnostics, options: LoadOptions, part_uri: String, message: String) | 在此 XlsxWorkbookProperties 实例上调用 add_workbook_metadata_issue(diagnostics, options, part_uri, message)。 |