Skip to main content

Module sheet

Module sheet 

Source
Expand description

Worksheets.

Structs§

LineIndex
Prefix sums over the custom-sized lines of an axis: O(log n) position ↔ line lookups even when every row has an explicit height (common in imported files).
Sheet
SheetUid
A sheet’s identity while the app runs, for what must follow one sheet (an open cell draft): a sheet made new (added, inserted, copied, read from a file or from JSON) gets a fresh one, and it stays with the sheet through renames, moves and the copies undo keeps. Never saved. It is not content: any two compare equal, so comparing sheets compares what they hold; compare identities with SheetUid::get.

Enums§

SheetViewMode
How a sheet is displayed (View › Workbook Views; <sheetView view="…"> in XLSX).
Visibility

Constants§

DEFAULT_COL_WIDTH
Default width of a column and height of a row (pixels at 96 dpi) for the default font.
DEFAULT_ROW_HEIGHT

Functions§

points_to_chars
Column width (points) → characters of the default font’s digit width (7 px), without the cell padding: the value the Column Width dialog shows.