Skip to main content

Module format

Module format 

Source
Expand description

Formatting: Home › Font, Alignment, Number, Styles, Cells › Format.

Re-exports§

pub use crate::model::points_to_chars;

Constants§

CELL_STYLE_NAMES

Functions§

adjust_decimals
Adds or removes one decimal place in the number format (Increase/Decrease Decimal).
approx_text_width
Approximate text width in points for autofit (no font metrics in the engine: average glyph widths for the default font; a front end with fonts measures instead, see Session::text_width).
builtin_cell_style
Built-in cell styles (our own palette).
chars_to_points
Excel column width in characters (of the default font’s digit width, 7 px) → pixels.
format_code_for
Ribbon format names → codes.
specs