31 #include <xlnt/xlnt_config.hpp> 32 #include <xlnt/utils/optional.hpp> 72 std::string name()
const;
77 style name(
const std::string &name);
89 style hidden(
bool value);
95 bool custom_builtin()
const;
102 std::size_t builtin_id()
const;
107 bool builtin()
const;
120 bool alignment_applied()
const;
132 class border border() const;
137 bool border_applied()
const;
149 class fill fill() const;
154 bool fill_applied()
const;
166 class font font() const;
171 bool font_applied()
const;
188 bool number_format_applied()
const;
205 bool protection_applied()
const;
217 bool pivot_button()
const;
223 void pivot_button(
bool show);
228 bool quote_prefix()
const;
235 void quote_prefix(
bool quote);
248 friend struct detail::stylesheet;
249 friend class detail::xlsx_consumer;
254 style(detail::style_impl *d);
259 detail::style_impl *d_;
Enumerates the possible types a cell can be determined by it's current value.
Definition: cell.hpp:37
Describes the font style of a particular cell.
Definition: font.hpp:41
Describes the fill style of a particular cell.
Definition: fill.hpp:299
Describes the border style of a particular cell.
Definition: border.hpp:94
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
bool operator!=(const std::string &reference_string, const range_reference &ref)
Returns true if the string representation of the range is not equivalent to ref.
Describes the protection style of a particular cell.
Definition: protection.hpp:38
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:56