14namespace orcus {
namespace spreadsheet {
20struct ORCUS_SPM_DLLPUBLIC color_t
28 color_t(
const color_t& other);
29 color_t(color_elem_t _red, color_elem_t _green, color_elem_t _blue);
30 color_t(color_elem_t _alpha, color_elem_t _red, color_elem_t _green, color_elem_t _blue);
32 color_t& operator=(
const color_t& other);
36 bool operator==(
const color_t& other)
const;
37 bool operator!=(
const color_t& other)
const;
40struct ORCUS_SPM_DLLPUBLIC strikethrough_t
42 std::optional<strikethrough_style_t> style;
43 std::optional<strikethrough_type_t> type;
44 std::optional<strikethrough_width_t> width;
45 std::optional<strikethrough_text_t> text;
48 strikethrough_t(
const strikethrough_t& other);
51 strikethrough_t& operator=(
const strikethrough_t& other);
53 bool operator==(
const strikethrough_t& other)
const;
54 bool operator!=(
const strikethrough_t& other)
const;
58 bool has_value()
const;
61struct ORCUS_SPM_DLLPUBLIC underline_t
63 std::optional<underline_style_t> style;
64 std::optional<underline_thickness_t> thickness;
65 std::optional<underline_spacing_t> spacing;
66 std::optional<underline_count_t> count;
67 std::optional<color_t> color;
70 underline_t(
const underline_t& other);
73 underline_t& operator=(
const underline_t& other);
75 bool operator==(
const underline_t& other)
const;
76 bool operator!=(
const underline_t& other)
const;
80 bool has_value()
const;
87struct ORCUS_SPM_DLLPUBLIC format_run_t
94 std::optional<std::string_view>
font;
112 format_run_t(
const format_run_t& other);
115 format_run_t& operator=(
const format_run_t& other);
131using format_runs_t = std::vector<format_run_t>;
Definition document_types.hpp:41
Definition document_types.hpp:62