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>) → DisplayFormatSectionInfoGọi select_numeric_section(sections, numeric_value, use_absolute_value) trên thể hiện DisplayTextFormatterSupport này.
select_text_section(sections: IReadOnlyList<DisplayFormatSectionInfo>) → DisplayFormatSectionInfoGọi select_text_section(sections) trên thể hiện DisplayTextFormatterSupport này.
select_date_time_section(sections: IReadOnlyList<DisplayFormatSectionInfo>) → DisplayFormatSectionInfoGọ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>) → boolGọ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>) → boolGọ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) → boolGọ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) → boolGọi should_use_absolute_value(section, numeric_value) trên đối tượng DisplayTextFormatterSupport này.
sanitize_numeric_section(section: String) → StringGọi sanitize_numeric_section(section) trên đối tượng DisplayTextFormatterSupport này.
strip_directive_brackets(section: String, preserve_elapsed_tokens: bool) → StringGọi strip_directive_brackets(section, preserve_elapsed_tokens) trên đối tượng DisplayTextFormatterSupport này.
contains_numeric_placeholder(pattern: String) → boolGọ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) → StringGọ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) → boolGọi is_numeric_value(value) trên đối tượng DisplayTextFormatterSupport này.
convert_to_double(value: serde_json::Value) → f64Gọi convert_to_double(value) trên đối tượng DisplayTextFormatterSupport này.
get_absolute_numeric_value(value: serde_json::Value) → serde_json::ValueGọi get_absolute_numeric_value(value) trên đối tượng DisplayTextFormatterSupport này.

Xem thêm

 Tiếng Việt