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
171 enum class formula_ref_context_t
180 named_expression_base,
193 enum class formula_error_policy_t
202 enum class underline_t
217 enum class underline_width_t
230 enum class underline_mode_t
236 enum class underline_type_t
245 underline_t underline_style;
246 underline_width_t underline_width;
247 underline_mode_t underline_mode;
248 underline_type_t underline_type;
251 enum class hor_alignment_t
262 enum class ver_alignment_t
277 enum class data_table_type_t
287 enum class totals_row_function_t
301 enum class conditional_format_t
312 enum class condition_operator_t
341 enum class condition_type_t
353 enum class condition_date_t
371 enum class databar_axis_t
378 enum class pivot_cache_group_by_t
439 ORCUS_DLLPUBLIC
bool operator== (
const range_t& left,
const range_t& right);
440 ORCUS_DLLPUBLIC
bool operator!= (
const range_t& left,
const range_t& right);
445 ORCUS_DLLPUBLIC
bool operator< (
const range_t& left,
const range_t& right);
446 ORCUS_DLLPUBLIC
bool operator> (
const range_t& left,
const range_t& right);
451 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const address_t& v);
452 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const src_address_t& v);
453 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const range_t& v);
462 color_rgb_t(std::initializer_list<color_elem_t> vs);
478 ORCUS_DLLPUBLIC totals_row_function_t to_totals_row_function_enum(
const char* p,
size_t n);
489 ORCUS_DLLPUBLIC pivot_cache_group_by_t to_pivot_cache_group_by_enum(
const char* p,
size_t n);
500 ORCUS_DLLPUBLIC error_value_t to_error_value_enum(
const char* p,
size_t n);
513 ORCUS_DLLPUBLIC
color_rgb_t to_color_rgb(
const char* p,
size_t n);
525 ORCUS_DLLPUBLIC
color_rgb_t to_color_rgb_from_name(
const char* p,
size_t n);
535 ORCUS_DLLPUBLIC formula_error_policy_t to_formula_error_policy(
const char* p,
size_t n);
537 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os, error_value_t ev);
538 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os, formula_grammar_t grammar);
539 ORCUS_DLLPUBLIC std::ostream& operator<< (std::ostream& os,
const color_rgb_t& color);
Definition: types.hpp:392
Definition: types.hpp:456
Definition: types.hpp:398
Definition: types.hpp:404
Definition: types.hpp:414
Definition: types.hpp:425
Definition: types.hpp:244