14namespace orcus {
namespace spreadsheet {
20struct ORCUS_SPM_DLLPUBLIC color_t
28 color_t(color_elem_t _red, color_elem_t _green, color_elem_t _blue);
29 color_t(color_elem_t _alpha, color_elem_t _red, color_elem_t _green, color_elem_t _blue);
33 bool operator==(
const color_t& other)
const;
34 bool operator!=(
const color_t& other)
const;
37struct ORCUS_SPM_DLLPUBLIC strikethrough_t
39 std::optional<strikethrough_style_t> style;
40 std::optional<strikethrough_type_t> type;
41 std::optional<strikethrough_width_t> width;
42 std::optional<strikethrough_text_t> text;
45 strikethrough_t(
const strikethrough_t& other);
48 strikethrough_t& operator=(
const strikethrough_t& other);
50 bool operator==(
const strikethrough_t& other)
const;
51 bool operator!=(
const strikethrough_t& other)
const;
55 bool has_value()
const;
58struct ORCUS_SPM_DLLPUBLIC underline_t
60 std::optional<underline_style_t> style;
61 std::optional<underline_thickness_t> thickness;
62 std::optional<underline_spacing_t> spacing;
63 std::optional<underline_count_t> count;
64 std::optional<color_t> color;
67 underline_t(
const underline_t& other);
70 underline_t& operator=(
const underline_t& other);
72 bool operator==(
const underline_t& other)
const;
73 bool operator!=(
const underline_t& other)
const;
77 bool has_value()
const;
84struct ORCUS_SPM_DLLPUBLIC format_run_t
91 std::optional<std::string_view>
font;
109 format_run_t(
const format_run_t& other);
112 format_run_t& operator=(
const format_run_t& other);
128using format_runs_t = std::vector<format_run_t>;
Definition document_types.hpp:38
Definition document_types.hpp:59