28 std::optional<std::string_view> name;
29 std::optional<std::string_view> name_asian;
30 std::optional<std::string_view> name_complex;
31 std::optional<double> size;
32 std::optional<double> size_asian;
33 std::optional<double> size_complex;
34 std::optional<bool> bold;
35 std::optional<bool> bold_asian;
36 std::optional<bool> bold_complex;
37 std::optional<bool> italic;
38 std::optional<bool> italic_asian;
39 std::optional<bool> italic_complex;
40 std::optional<underline_t> underline_style;
41 std::optional<underline_width_t> underline_width;
42 std::optional<underline_mode_t> underline_mode;
43 std::optional<underline_type_t> underline_type;
44 std::optional<color_t> underline_color;
45 std::optional<color_t> color;
46 std::optional<strikethrough_style_t> strikethrough_style;
47 std::optional<strikethrough_width_t> strikethrough_width;
48 std::optional<strikethrough_type_t> strikethrough_type;
49 std::optional<strikethrough_text_t> strikethrough_text;
57 bool operator==(
const font_t& other)
const;
58 bool operator!=(
const font_t& other)
const;
62 struct ORCUS_SPM_DLLPUBLIC
hash
64 std::size_t operator()(
const font_t& v)
const;
206 std::unique_ptr<impl> mp_impl;
212 void reserve_font_store(
size_t n);
213 std::size_t append_font(
const font_t& font);
215 void reserve_fill_store(
size_t n);
216 std::size_t append_fill(
const fill_t& fill);
218 void reserve_border_store(
size_t n);
219 std::size_t append_border(
const border_t& border);
221 std::size_t append_protection(
const protection_t& protection);
223 void reserve_number_format_store(
size_t n);
226 void reserve_cell_style_format_store(
size_t n);
229 void reserve_cell_format_store(
size_t n);
232 void reserve_diff_cell_format_store(
size_t n);
235 void reserve_cell_style_store(
size_t n);
238 const font_t* get_font(
size_t index)
const;
239 const fill_t* get_fill(
size_t index)
const;
240 const border_t* get_border(
size_t index)
const;
244 const cell_format_t* get_cell_style_format(
size_t index)
const;
247 const cell_style_t* get_cell_style_by_xf(
size_t xfid)
const;
249 size_t get_font_count()
const;
250 size_t get_fill_count()
const;
251 size_t get_border_count()
const;
252 size_t get_protection_count()
const;
253 size_t get_number_format_count()
const;
254 size_t get_cell_formats_count()
const;
255 size_t get_cell_style_formats_count()
const;
256 size_t get_dxf_count()
const;
257 size_t get_cell_styles_count()
const;
262 void finalize_import();