Orcus
Loading...
Searching...
No Matches
orcus::spreadsheet::styles Class Reference

#include <styles.hpp>

Public Member Functions

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_tget_font (size_t index) const
 
const fill_tget_fill (size_t index) const
 
const border_tget_border (size_t index) const
 
const protection_tget_protection (size_t index) const
 
const number_format_tget_number_format (size_t index) const
 
const cell_format_tget_cell_format (size_t index) const
 
const cell_format_tget_cell_style_format (size_t index) const
 
const cell_format_tget_dxf_format (size_t index) const
 
const cell_style_tget_cell_style (size_t index) const
 
const cell_style_tget_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 ()
 

Friends

class document
 

Detailed Description

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