cell_format_t
Defined in header: <orcus/spreadsheet/styles.hpp>
-
struct cell_format_t
Format attributes for a single cell. It references the format entries via integer indices, with some exceptions.
Public Members
-
std::size_t font
ID of a font style record.
-
std::size_t fill
ID of a fill style record.
-
std::size_t border
ID of a border style record.
-
std::size_t protection
ID for a cell protection record.
-
std::size_t number_format
ID for a number format record.
-
std::size_t style_xf
ID for a parent named style.
-
hor_alignment_t hor_align
Horizontal alignment of a cell.
-
ver_alignment_t ver_align
Vertical alignment of a cell.
-
std::optional<bool> wrap_text
Flag on whether or not wrap text is enabled.
-
std::optional<bool> shrink_to_fit
Flag on whether or not shrink to fit is enabled.
-
bool apply_num_format
-
bool apply_font
-
bool apply_fill
-
bool apply_border
-
bool apply_alignment
-
bool apply_protection
-
std::size_t font