DisplayTextFormatterSupport
DisplayTextFormatterSupport
Genel Bakış
DisplayTextFormatterSupport, Rust için Aspose.Cells FOSS içinde bir struct’tır. Şunlardan miras alır: Default, Clone, PartialEq.
Bu struct, Rust programlarındaki DisplayTextFormatterSupport nesneleri için 16 yöntem ilan eder. Kullanılabilir yöntemler şunlardır: 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 ve 4 ek yöntem. Genel üyeler, Aspose.Cells FOSS for Rust paketini kurduktan sonra herhangi bir Rust uygulaması tarafından erişilebilir.
Yöntemler
| İmza | Açıklama |
|---|---|
select_numeric_section(sections: IReadOnlyList<DisplayFormatSectionInfo>, numeric_value: f64, use_absolute_value: Ref<bool>) → DisplayFormatSectionInfo | Bu DisplayTextFormatterSupport örneğinde select_numeric_section(sections, numeric_value, use_absolute_value) çağrılır. |
select_text_section(sections: IReadOnlyList<DisplayFormatSectionInfo>) → DisplayFormatSectionInfo | Bu DisplayTextFormatterSupport örneğinde select_text_section(sections) çağrılır. |
select_date_time_section(sections: IReadOnlyList<DisplayFormatSectionInfo>) → DisplayFormatSectionInfo | Bu DisplayTextFormatterSupport örneğinde select_date_time_section(sections) çağrılır. |
parse_sections(format_code: String) → Vec<DisplayFormatSectionInfo> | Bu DisplayTextFormatterSupport örneğinde parse_sections(format_code) çağrılır. |
split_sections(format_code: String) → Vec<String> | Bu DisplayTextFormatterSupport örneğinde split_sections(format_code) çağrılır. |
try_parse_section_condition(section: String, condition_operator: Ref<String>, condition_value: Ref<f64>) → bool | Bu DisplayTextFormatterSupport örneğinde try_parse_section_condition(section, condition_operator, condition_value) çağrılır. |
try_parse_condition_token(token: String, condition_operator: Ref<String>, condition_value: Ref<f64>) → bool | Bu DisplayTextFormatterSupport örneğinde try_parse_condition_token(token, condition_operator, condition_value) çağrılır. |
evaluate_condition(condition_operator: String, numeric_value: f64, condition_value: f64) → bool | Bu DisplayTextFormatterSupport örneğinde evaluate_condition(condition_operator, numeric_value, condition_value) çağrılır. |
should_use_absolute_value(section: String, numeric_value: f64) → bool | Bu DisplayTextFormatterSupport örneğinde should_use_absolute_value(section, numeric_value) çağrılır. |
sanitize_numeric_section(section: String) → String | Bu DisplayTextFormatterSupport örneğinde sanitize_numeric_section(section) çağrılır. |
strip_directive_brackets(section: String, preserve_elapsed_tokens: bool) → String | Bu DisplayTextFormatterSupport örneğinde strip_directive_brackets(section, preserve_elapsed_tokens) çağrılır. |
contains_numeric_placeholder(pattern: String) → bool | Bu DisplayTextFormatterSupport örneğinde contains_numeric_placeholder(pattern) çağrılır. |
expand_section_pattern(pattern: String, value_text: String, replace_text_placeholder: bool) → String | Bu DisplayTextFormatterSupport örneğinde expand_section_pattern(pattern, value_text, replace_text_placeholder) çağırır. |
is_numeric_value(value: serde_json::Value) → bool | Bu DisplayTextFormatterSupport örneğinde is_numeric_value(value) çağırır. |
convert_to_double(value: serde_json::Value) → f64 | Bu DisplayTextFormatterSupport örneğinde convert_to_double(value) çağırır. |
get_absolute_numeric_value(value: serde_json::Value) → serde_json::Value | Bu DisplayTextFormatterSupport örneğinde get_absolute_numeric_value(value) çağırır. |