8 #ifndef ORCUS_SPREADSHEET_TYPES_HPP
9 #define ORCUS_SPREADSHEET_TYPES_HPP
16 #include <initializer_list>
17 #include <string_view>
21 namespace orcus {
namespace spreadsheet {
23 typedef int32_t row_t;
24 typedef int32_t col_t;
25 typedef int32_t sheet_t;
26 typedef uint8_t color_elem_t;
27 typedef uint16_t col_width_t;
28 typedef uint16_t row_height_t;
29 typedef uint32_t string_id_t;
31 typedef uint32_t pivot_cache_id_t;
33 ORCUS_DLLPUBLIC col_width_t get_default_column_width();
34 ORCUS_DLLPUBLIC row_height_t get_default_row_height();
36 enum class error_value_t
48 enum class border_direction_t
60 enum class border_style_t
82 enum class fill_pattern_t
105 enum class strikethrough_style_t
117 enum class strikethrough_type_t
125 enum class strikethrough_width_t
135 enum class strikethrough_text_t
146 enum class formula_grammar_t
174 enum class formula_ref_context_t
183 named_expression_base,
196 enum class formula_error_policy_t
205 enum class underline_t
220 enum class underline_width_t
233 enum class underline_mode_t
239 enum class underline_type_t
248 underline_t underline_style;
249 underline_width_t underline_width;
250 underline_mode_t underline_mode;
251 underline_type_t underline_type;
254 enum class hor_alignment_t
265 enum class ver_alignment_t
280 enum class data_table_type_t
290 enum class totals_row_function_t
304 enum class conditional_format_t
315 enum class condition_operator_t
344 enum class condition_type_t
356 enum class condition_date_t
374 enum class databar_axis_t
381 enum class pivot_cache_group_by_t
442 ORCUS_DLLPUBLIC
bool operator== (
const range_t& left,
const range_t& right);
443 ORCUS_DLLPUBLIC
bool operator!= (
const range_t& left,
const range_t& right);
448 ORCUS_DLLPUBLIC
bool operator< (
const range_t& left,
const range_t& right);
449 ORCUS_DLLPUBLIC
bool operator> (
const range_t& left,
const range_t& right);
454 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const address_t& v);
455 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const src_address_t& v);
456 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const range_t& v);
465 color_rgb_t(std::initializer_list<color_elem_t> vs);
480 ORCUS_DLLPUBLIC totals_row_function_t to_totals_row_function_enum(std::string_view s);
490 ORCUS_DLLPUBLIC pivot_cache_group_by_t to_pivot_cache_group_by_enum(std::string_view s);
500 ORCUS_DLLPUBLIC error_value_t to_error_value_enum(std::string_view s);
511 ORCUS_DLLPUBLIC
color_rgb_t to_color_rgb(std::string_view s);
522 ORCUS_DLLPUBLIC
color_rgb_t to_color_rgb_from_name(std::string_view s);
531 ORCUS_DLLPUBLIC formula_error_policy_t to_formula_error_policy(std::string_view s);
533 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os, error_value_t ev);
534 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os, formula_grammar_t grammar);
535 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const color_rgb_t& color);
Definition: types.hpp:395
Definition: types.hpp:459
Definition: types.hpp:401
Definition: types.hpp:407
Definition: types.hpp:417
Definition: types.hpp:428
Definition: types.hpp:247