DisplayTextFormatterSupport
DisplayTextFormatterSupport
Tổng quan
DisplayTextFormatterSupport là một struct trong Aspose.Cells FOSS cho Rust. Kế thừa từ: Default, Clone, PartialEq.
Struct này khai báo 16 phương thức cho các đối tượng DisplayTextFormatterSupport trong các chương trình Rust. Các phương thức khả dụng bao gồm: contains_numeric_placeholder, convert_to_double, evaluate_condition, expand_section_pattern, get_absolute_numeric_value, is_numeric_value, parse_sections, sanitize_numeric_section, select_date_time_section, select_numeric_section, select_text_section, should_use_absolute_value, và 4 phương thức bổ sung. Các thành viên công cộng có thể truy cập được bởi bất kỳ ứng dụng Rust nào sau khi cài đặt gói Aspose.Cells FOSS cho Rust.
Phương thức
| Chữ ký | Mô tả |
|---|---|
select_numeric_section(sections: IReadOnlyList<DisplayFormatSectionInfo>, numeric_value: f64, use_absolute_value: Ref<bool>) → DisplayFormatSectionInfo | Gọi select_numeric_section(sections, numeric_value, use_absolute_value) trên thể hiện DisplayTextFormatterSupport này. |
select_text_section(sections: IReadOnlyList<DisplayFormatSectionInfo>) → DisplayFormatSectionInfo | Gọi select_text_section(sections) trên thể hiện DisplayTextFormatterSupport này. |
select_date_time_section(sections: IReadOnlyList<DisplayFormatSectionInfo>) → DisplayFormatSectionInfo | Gọi select_date_time_section(sections) trên thể hiện DisplayTextFormatterSupport này. |
parse_sections(format_code: String) → Vec<DisplayFormatSectionInfo> | Gọi parse_sections(format_code) trên thể hiện DisplayTextFormatterSupport này. |
split_sections(format_code: String) → Vec<String> | Gọi split_sections(format_code) trên thể hiện DisplayTextFormatterSupport này. |
try_parse_section_condition(section: String, condition_operator: Ref<String>, condition_value: Ref<f64>) → bool | Gọi try_parse_section_condition(section, condition_operator, condition_value) trên thể hiện DisplayTextFormatterSupport này. |
try_parse_condition_token(token: String, condition_operator: Ref<String>, condition_value: Ref<f64>) → bool | Gọi try_parse_condition_token(token, condition_operator, condition_value) trên thể hiện DisplayTextFormatterSupport này. |
evaluate_condition(condition_operator: String, numeric_value: f64, condition_value: f64) → bool | Gọi evaluate_condition(condition_operator, numeric_value, condition_value) trên thể hiện DisplayTextFormatterSupport này. |
should_use_absolute_value(section: String, numeric_value: f64) → bool | Gọi should_use_absolute_value(section, numeric_value) trên đối tượng DisplayTextFormatterSupport này. |
sanitize_numeric_section(section: String) → String | Gọi sanitize_numeric_section(section) trên đối tượng DisplayTextFormatterSupport này. |
strip_directive_brackets(section: String, preserve_elapsed_tokens: bool) → String | Gọi strip_directive_brackets(section, preserve_elapsed_tokens) trên đối tượng DisplayTextFormatterSupport này. |
contains_numeric_placeholder(pattern: String) → bool | Gọi contains_numeric_placeholder(pattern) trên đối tượng DisplayTextFormatterSupport này. |
expand_section_pattern(pattern: String, value_text: String, replace_text_placeholder: bool) → String | Gọi expand_section_pattern(pattern, value_text, replace_text_placeholder) trên đối tượng DisplayTextFormatterSupport này. |
is_numeric_value(value: serde_json::Value) → bool | Gọi is_numeric_value(value) trên đối tượng DisplayTextFormatterSupport này. |
convert_to_double(value: serde_json::Value) → f64 | Gọi convert_to_double(value) trên đối tượng DisplayTextFormatterSupport này. |
get_absolute_numeric_value(value: serde_json::Value) → serde_json::Value | Gọi get_absolute_numeric_value(value) trên đối tượng DisplayTextFormatterSupport này. |