Orcus
|
#include <import_interface.hpp>
Public Member Functions | |
virtual void | set_font_count (size_t n)=0 |
virtual void | set_font_bold (bool b)=0 |
virtual void | set_font_italic (bool b)=0 |
virtual void | set_font_name (const char *s, size_t n)=0 |
virtual void | set_font_size (double point)=0 |
virtual void | set_font_underline (orcus::spreadsheet::underline_t e)=0 |
virtual void | set_font_color (color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
virtual size_t | commit_font ()=0 |
virtual void | set_fill_count (size_t n)=0 |
virtual void | set_fill_pattern_type (const char *s, size_t n)=0 |
virtual void | set_fill_fg_color (color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
virtual void | set_fill_bg_color (color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
virtual size_t | commit_fill ()=0 |
virtual void | set_border_count (size_t n)=0 |
virtual void | set_border_style (orcus::spreadsheet::border_direction_t dir, const char *s, size_t n)=0 |
virtual void | set_border_style (orcus::spreadsheet::border_direction_t dir, border_style_t style)=0 |
virtual void | set_border_color (orcus::spreadsheet::border_direction_t dir, color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
virtual size_t | commit_border ()=0 |
virtual void | set_cell_hidden (bool b)=0 |
virtual void | set_cell_locked (bool b)=0 |
virtual size_t | commit_cell_protection ()=0 |
virtual void | set_number_format_count (size_t n)=0 |
virtual void | set_number_format_identifier (size_t id)=0 |
virtual void | set_number_format_code (const char *s, size_t n)=0 |
virtual size_t | commit_number_format ()=0 |
virtual void | set_cell_xf_count (size_t n)=0 |
virtual void | set_cell_style_xf_count (size_t n)=0 |
virtual void | set_dxf_count (size_t n)=0 |
virtual void | set_xf_font (size_t index)=0 |
virtual void | set_xf_fill (size_t index)=0 |
virtual void | set_xf_border (size_t index)=0 |
virtual void | set_xf_protection (size_t index)=0 |
virtual void | set_xf_number_format (size_t index)=0 |
virtual void | set_xf_style_xf (size_t index)=0 |
virtual void | set_xf_apply_alignment (bool b)=0 |
virtual void | set_xf_horizontal_alignment (orcus::spreadsheet::hor_alignment_t align)=0 |
virtual void | set_xf_vertical_alignment (orcus::spreadsheet::ver_alignment_t align)=0 |
virtual size_t | commit_cell_xf ()=0 |
virtual size_t | commit_cell_style_xf ()=0 |
virtual size_t | commit_dxf ()=0 |
virtual void | set_cell_style_count (size_t n)=0 |
virtual void | set_cell_style_name (const char *s, size_t n)=0 |
virtual void | set_cell_style_xf (size_t index)=0 |
virtual void | set_cell_style_builtin (size_t index)=0 |
virtual void | set_cell_style_parent_name (const char *s, size_t n)=0 |
virtual size_t | commit_cell_style ()=0 |
Interface for styles. Note that because the default style must have an index of 0 in each style category, the caller must set the default styles first before importing and setting real styles. ID's of styles are assigned sequentially starting with 0 and upward in each style category.
In contrast to xf formatting, dxf (differential formats) formatting only stores the format information that is explicitly set. It does not store formatting from the default style. Applying a dxf format to an object only applies those explicitly set formats from the dxf entry, while all the other formats are retained.
|
pure virtual |
Implemented in orcus::spreadsheet::import_styles.