DisplayTextFormatterSupport

DisplayTextFormatterSupport

نمای کلی

DisplayTextFormatterSupport یک ساختار در Aspose.Cells FOSS برای Rust است. ارث‌برده از: Default، Clone، PartialEq.

این ساختار 16 متد برای اشیای DisplayTextFormatterSupport در برنامه‌های Rust اعلام می‌کند. متدهای موجود شامل: 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 و 4 متد دیگر هستند. اعضای عمومی پس از نصب بسته Aspose.Cells FOSS برای Rust در دسترس هر برنامه Rust قرار می‌گیرند.

روش ها

امضاتوضیح
select_numeric_section(sections: IReadOnlyList<DisplayFormatSectionInfo>, numeric_value: f64, use_absolute_value: Ref<bool>) → DisplayFormatSectionInfoمتد select_numeric_section(sections, numeric_value, use_absolute_value) را بر این نمونه DisplayTextFormatterSupport فراخوانی می‌کند.
select_text_section(sections: IReadOnlyList<DisplayFormatSectionInfo>) → DisplayFormatSectionInfoمتد select_text_section(sections) را بر این نمونه DisplayTextFormatterSupport فراخوانی می‌کند.
select_date_time_section(sections: IReadOnlyList<DisplayFormatSectionInfo>) → DisplayFormatSectionInfoمتد select_date_time_section(sections) را بر این نمونه DisplayTextFormatterSupport فراخوانی می‌کند.
parse_sections(format_code: String) → Vec<DisplayFormatSectionInfo>متد parse_sections(format_code) را بر روی این نمونه DisplayTextFormatterSupport فراخوانی می‌کند.
split_sections(format_code: String) → Vec<String>متد split_sections(format_code) را بر روی این نمونه DisplayTextFormatterSupport فراخوانی می‌کند.
try_parse_section_condition(section: String, condition_operator: Ref<String>, condition_value: Ref<f64>) → boolمتد try_parse_section_condition(section, condition_operator, condition_value) را بر روی این نمونه DisplayTextFormatterSupport فراخوانی می‌کند.
try_parse_condition_token(token: String, condition_operator: Ref<String>, condition_value: Ref<f64>) → boolمتد try_parse_condition_token(token, condition_operator, condition_value) را بر روی این نمونه DisplayTextFormatterSupport فراخوانی می‌کند.
evaluate_condition(condition_operator: String, numeric_value: f64, condition_value: f64) → boolدر این نمونه DisplayTextFormatterSupport، evaluate_condition(condition_operator, numeric_value, condition_value) فراخوانی می‌شود.
should_use_absolute_value(section: String, numeric_value: f64) → boolدر این نمونه DisplayTextFormatterSupport، should_use_absolute_value(section, numeric_value) فراخوانی می‌شود.
sanitize_numeric_section(section: String) → Stringدر این نمونه DisplayTextFormatterSupport، sanitize_numeric_section(section) را فراخوانی می‌کند.
strip_directive_brackets(section: String, preserve_elapsed_tokens: bool) → Stringدر این نمونه DisplayTextFormatterSupport، strip_directive_brackets(section, preserve_elapsed_tokens) را فراخوانی می‌کند.
contains_numeric_placeholder(pattern: String) → boolدر این نمونه DisplayTextFormatterSupport، contains_numeric_placeholder(pattern) را فراخوانی می‌کند.
expand_section_pattern(pattern: String, value_text: String, replace_text_placeholder: bool) → Stringدر این نمونه DisplayTextFormatterSupport، expand_section_pattern(pattern, value_text, replace_text_placeholder) را فراخوانی می‌کند.
is_numeric_value(value: serde_json::Value) → boolدر این نمونه DisplayTextFormatterSupport، is_numeric_value(value) را فراخوانی می‌کند.
convert_to_double(value: serde_json::Value) → f64در این نمونه DisplayTextFormatterSupport، convert_to_double(value) را فراخوانی می‌کند.
get_absolute_numeric_value(value: serde_json::Value) → serde_json::Valueدر این نمونه DisplayTextFormatterSupport، get_absolute_numeric_value(value) را فراخوانی می‌کند.

همچنین ببینید:

 فارسی