31 #include <xlnt/xlnt_config.hpp> 32 #include <xlnt/utils/optional.hpp> 42 struct conditional_format_impl;
52 static condition text_starts_with(
const std::string &start);
53 static condition text_ends_with(
const std::string &end);
54 static condition text_contains(
const std::string &start);
55 static condition text_does_not_contain(
const std::string &start);
59 return text_comparand_ == rhs.text_comparand_;
63 friend class detail::xlsx_producer;
70 enum class condition_operator
78 std::string text_comparand_;
104 bool has_border()
const;
109 class border border() const;
119 bool has_fill()
const;
124 class fill fill() const;
134 bool has_font()
const;
139 class font font() const;
157 friend struct detail::stylesheet;
158 friend class detail::xlsx_consumer;
168 detail::conditional_format_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
Definition: conditional_format.hpp:49
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.
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.