30 #include <xlnt/xlnt_config.hpp> 31 #include <xlnt/styles/color.hpp> 32 #include <xlnt/utils/optional.hpp> 64 font &bold(
bool bold);
74 font &subscript(
bool value);
79 bool subscript()
const;
84 font &superscript(
bool value);
89 bool superscript()
const;
94 font &italic(
bool italic);
104 font &strikethrough(
bool strikethrough);
109 bool strikethrough()
const;
114 font &outline(
bool outline);
119 bool outline()
const;
124 font &shadow(
bool shadow);
139 bool underlined()
const;
149 bool has_size()
const;
154 font &size(
double size);
164 bool has_name()
const;
169 font &name(
const std::string &name);
174 const std::string &name()
const;
179 bool has_color()
const;
194 bool has_family()
const;
199 font &family(std::size_t family);
204 std::size_t family()
const;
209 bool has_charset()
const;
216 font &charset(std::size_t charset);
221 std::size_t charset()
const;
226 bool has_scheme()
const;
231 font &scheme(
const std::string &scheme);
236 const std::string &scheme()
const;
272 bool italic_ =
false;
277 bool superscript_ =
false;
282 bool subscript_ =
false;
287 bool strikethrough_ =
false;
292 bool outline_ =
false;
297 bool shadow_ =
false;
underline_style
Text can be underlined in the enumerated ways
Definition: font.hpp:47
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
Colors can be applied to many parts of a cell's style.
Definition: color.hpp:165
bool operator==(std::nullptr_t, const cell &cell)
Returns true if this cell is uninitialized.
bool operator!=(const font &other) const
Returns true if left is not exactly equal to right.
Definition: font.hpp:246
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