View types

Structs

struct split_pane_t

Store information about the state of a split sheet view.

Public Members

double hor_split

Horizontal distance to the vertical split bar in 1/20th of a point, or 0 if not horizontally split.

double ver_split

Vertical distance to the horizontal split bar in 1/20th of a point, or 0 if not vertically split.

address_t top_left_cell

Top-left visible cell of the bottom-right pane. This value is valid only when either the horizontal distance or the vertical distance is non-zero.

struct frozen_pane_t

Store the state of a frozen sheet view.

Public Members

col_t visible_columns

The number of visible columns in the top-left pane.

row_t visible_rows

The number of visible rows in the top-left pane.

address_t top_left_cell

The position of the top-left cell in the bottom-right pane.

Enums

enum class orcus::spreadsheet::sheet_pane_t : uint8_t

Sheet pane position in a split sheet view. When the sheet is split, it is split into four panes.

Values:

enumerator unspecified
enumerator top_left

Top-left pane.

enumerator top_right

Top-right pane.

enumerator bottom_left

Bottom-left pane.

enumerator bottom_right

Bottom-right pane.

enum class orcus::spreadsheet::pane_state_t : uint8_t

State of a split pane - whether it’s frozen, split, or both.

Values:

enumerator unspecified

The state of the pane is not specified.

enumerator frozen

The pane is frozen.

enumerator split

The pane is split.

enumerator frozen_split

The pane is both frozen and split.