styles

Defined in header: <orcus/spreadsheet/styles.hpp>

class styles

Stores various styles records such that they can be referenced via integer indices.

Public Functions

styles()
~styles()
void reserve_font_store(size_t n)
std::size_t append_font(const font_t &font)
void reserve_fill_store(size_t n)
std::size_t append_fill(const fill_t &fill)
void reserve_border_store(size_t n)
std::size_t append_border(const border_t &border)
std::size_t append_protection(const protection_t &protection)
void reserve_number_format_store(size_t n)
std::size_t append_number_format(const number_format_t &nf)
void reserve_cell_style_format_store(size_t n)
size_t append_cell_style_format(const cell_format_t &cf)
void reserve_cell_format_store(size_t n)
size_t append_cell_format(const cell_format_t &cf)
void reserve_diff_cell_format_store(size_t n)
size_t append_diff_cell_format(const cell_format_t &cf)
void reserve_cell_style_store(size_t n)
void append_cell_style(const cell_style_t &cs)
const font_t *get_font(size_t index) const
const fill_t *get_fill(size_t index) const
const border_t *get_border(size_t index) const
const protection_t *get_protection(size_t index) const
const number_format_t *get_number_format(size_t index) const
const cell_format_t *get_cell_format(size_t index) const
const cell_format_t *get_cell_style_format(size_t index) const
const cell_format_t *get_dxf_format(size_t index) const
const cell_style_t *get_cell_style(size_t index) const
const cell_style_t *get_cell_style_by_xf(size_t xfid) const
size_t get_font_count() const
size_t get_fill_count() const
size_t get_border_count() const
size_t get_protection_count() const
size_t get_number_format_count() const
size_t get_cell_formats_count() const
size_t get_cell_style_formats_count() const
size_t get_dxf_count() const
size_t get_cell_styles_count() const
void clear()