DisplayTextFormatter
概述
DisplayTextFormatter 是 Aspose.Cells Rust 的 FOSS 中的结构体。继承自:Default、Clone、PartialEq。
该结构体为 Rust 程序中的 DisplayTextFormatter 对象声明了 2 个方法。可用的方法包括:format_display_value_with_cached_formula_and_culture、format_string_value。在安装了 Aspose.Cells Rust 的 FOSS 包后,公共成员对任何 Rust 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
format_string_value(value: T) → String | 在此 DisplayTextFormatter 实例上调用 format_string_value(value)。 |
format_display_value_with_cached_formula_and_culture(value: Option<&CellValue>, formula_cached_value: Option<&CellValue>, style: Option<&CellStyle>, culture: &str) → String | 在此 DisplayTextFormatter 实例上调用 format_display_value_with_cached_formula_and_culture(value, formula_cached_value, style, culture)。 |