8 #ifndef ORCUS_SPREADSHEET_TYPES_HPP 9 #define ORCUS_SPREADSHEET_TYPES_HPP 11 #include "orcus/env.hpp" 15 #include <initializer_list> 19 namespace orcus {
namespace spreadsheet {
21 typedef int32_t row_t;
22 typedef int32_t col_t;
23 typedef int32_t sheet_t;
24 typedef uint8_t color_elem_t;
25 typedef uint16_t col_width_t;
26 typedef uint16_t row_height_t;
28 typedef uint32_t pivot_cache_id_t;
30 ORCUS_DLLPUBLIC col_width_t get_default_column_width();
31 ORCUS_DLLPUBLIC row_height_t get_default_row_height();
33 enum class error_value_t
45 enum class border_direction_t
57 enum class border_style_t
79 enum class fill_pattern_t
102 enum class strikethrough_style_t
114 enum class strikethrough_type_t
122 enum class strikethrough_width_t
132 enum class strikethrough_text_t
143 enum class formula_grammar_t
166 enum class underline_t
181 enum class underline_width_t
194 enum class underline_mode_t
200 enum class underline_type_t
209 underline_t underline_style;
210 underline_width_t underline_width;
211 underline_mode_t underline_mode;
212 underline_type_t underline_type;
215 enum class hor_alignment_t
226 enum class ver_alignment_t
241 enum class data_table_type_t
251 enum class totals_row_function_t
265 enum class conditional_format_t
276 enum class condition_operator_t
305 enum class condition_type_t
317 enum class condition_date_t
335 enum class databar_axis_t
342 enum class pivot_cache_group_by_t
376 ORCUS_DLLPUBLIC
bool operator== (
const range_t& left,
const range_t& right);
377 ORCUS_DLLPUBLIC
bool operator!= (
const range_t& left,
const range_t& right);
378 ORCUS_DLLPUBLIC
bool operator< (
const range_t& left,
const range_t& right);
379 ORCUS_DLLPUBLIC
bool operator> (
const range_t& left,
const range_t& right);
384 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const address_t& v);
385 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const range_t& v);
394 color_rgb_t(std::initializer_list<color_elem_t> vs);
410 ORCUS_DLLPUBLIC totals_row_function_t to_totals_row_function_enum(
const char* p,
size_t n);
421 ORCUS_DLLPUBLIC pivot_cache_group_by_t to_pivot_cache_group_by_enum(
const char* p,
size_t n);
432 ORCUS_DLLPUBLIC error_value_t to_error_value_enum(
const char* p,
size_t n);
445 ORCUS_DLLPUBLIC
color_rgb_t to_color_rgb(
const char* p,
size_t n);
457 ORCUS_DLLPUBLIC
color_rgb_t to_color_rgb_from_name(
const char* p,
size_t n);
459 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os, error_value_t ev);
460 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os, formula_grammar_t grammar);
461 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const color_rgb_t& color);
Definition: types.hpp:387
Definition: types.hpp:367
Definition: types.hpp:207
Definition: types.hpp:361
Definition: types.hpp:355
Definition: base64.hpp:15