Orcus
|
#include <styles.hpp>
Public Member Functions | |
void | reset () |
Public Attributes | |
std::size_t | font |
std::size_t | fill |
std::size_t | border |
std::size_t | protection |
std::size_t | number_format |
std::size_t | style_xf |
hor_alignment_t | hor_align |
ver_alignment_t | ver_align |
std::optional< bool > | wrap_text |
std::optional< bool > | shrink_to_fit |
bool | apply_num_format:1 |
bool | apply_font:1 |
bool | apply_fill:1 |
bool | apply_border:1 |
bool | apply_alignment:1 |
bool | apply_protection:1 |
Format attributes for a single cell. It references the format entries via integer indices, with some exceptions.
std::size_t orcus::spreadsheet::cell_format_t::border |
ID of a border style record.
std::size_t orcus::spreadsheet::cell_format_t::fill |
ID of a fill style record.
std::size_t orcus::spreadsheet::cell_format_t::font |
ID of a font style record.
hor_alignment_t orcus::spreadsheet::cell_format_t::hor_align |
Horizontal alignment of a cell.
std::size_t orcus::spreadsheet::cell_format_t::number_format |
ID for a number format record.
std::size_t orcus::spreadsheet::cell_format_t::protection |
ID for a cell protection record.
std::optional<bool> orcus::spreadsheet::cell_format_t::shrink_to_fit |
Flag on whether or not shrink to fit is enabled.
std::size_t orcus::spreadsheet::cell_format_t::style_xf |
ID for a parent named style.
ver_alignment_t orcus::spreadsheet::cell_format_t::ver_align |
Vertical alignment of a cell.
std::optional<bool> orcus::spreadsheet::cell_format_t::wrap_text |
Flag on whether or not wrap text is enabled.