30 #include <xlnt/xlnt_config.hpp> 31 #include <xlnt/utils/numeric.hpp> 32 #include <xlnt/utils/optional.hpp> 51 bool custom_width =
false;
63 bool best_fit =
false;
73 return detail::float_equals(lhs.
width, rhs.
width)
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.
optional< double > width
The optional width of the column
Definition: column_properties.hpp:46
bool custom_width
If true, this is a custom width
Definition: column_properties.hpp:51
bool operator==(std::nullptr_t, const cell &cell)
Returns true if this cell is uninitialized.
bool best_fit
Is this column sized to fit its content as best it can serialise if true
Definition: column_properties.hpp:63
bool hidden
If true, this column will be hidden
Definition: column_properties.hpp:68
optional< std::size_t > style
The style index of this column. This shouldn't be used since style indices aren't supposed to be used...
Definition: column_properties.hpp:57
Properties applied to a column in a worksheet. Columns can have a size and a style.
Definition: column_properties.hpp:40