30 #include <xlnt/xlnt_config.hpp> 31 #include <xlnt/utils/optional.hpp> 71 std::string name()
const;
77 style name(
const std::string &name);
90 style hidden(
bool value);
96 bool custom_builtin()
const;
103 std::size_t builtin_id()
const;
108 bool builtin()
const;
121 bool has_alignment()
const;
127 bool alignment_applied()
const;
141 class border border() const;
146 bool has_border()
const;
151 bool border_applied()
const;
165 class fill fill() const;
170 bool has_fill()
const;
175 bool fill_applied()
const;
188 class font font() const;
193 bool has_font()
const;
198 bool font_applied()
const;
217 bool has_number_format()
const;
222 bool number_format_applied()
const;
241 bool has_protection()
const;
246 bool protection_applied()
const;
259 bool pivot_button()
const;
265 void pivot_button(
bool show);
270 bool quote_prefix()
const;
277 void quote_prefix(
bool quote);
290 friend struct detail::stylesheet;
291 friend class detail::xlsx_consumer;
296 style(detail::style_impl *d);
301 detail::style_impl *d_ =
nullptr;
Enumerates the possible types a cell can be determined by it's current value.
Definition: cell.hpp:36
bool operator!=(std::nullptr_t, const cell &cell)
Returns true if this cell is initialized.
Describes the font style of a particular cell.
Definition: font.hpp:43
Describes the fill style of a particular cell.
Definition: fill.hpp:299
Describes the border style of a particular cell.
Definition: border.hpp:91
bool operator==(std::nullptr_t, const cell &cell)
Returns true if this cell is uninitialized.
Alignment options that determine how text should be displayed within a cell.
Definition: alignment.hpp:63
Describes the protection style of a particular cell.
Definition: protection.hpp:36
Describes a style which has a name and can be applied to multiple individual formats. In Excel this is a "Cell Style".
Definition: style.hpp:55