33 #include <xlnt/xlnt_config.hpp> 34 #include <xlnt/styles/alignment.hpp> 35 #include <xlnt/styles/border.hpp> 36 #include <xlnt/styles/conditional_format.hpp> 37 #include <xlnt/styles/fill.hpp> 38 #include <xlnt/styles/font.hpp> 39 #include <xlnt/styles/number_format.hpp> 40 #include <xlnt/styles/protection.hpp> 41 #include <xlnt/worksheet/cell_vector.hpp> 42 #include <xlnt/worksheet/major_order.hpp> 43 #include <xlnt/worksheet/range_iterator.hpp> 44 #include <xlnt/worksheet/range_reference.hpp> 45 #include <xlnt/worksheet/worksheet.hpp> 49 class const_range_iterator;
82 major_order order = major_order::row,
bool skip_null =
false);
124 const worksheet &target_worksheet()
const;
134 std::size_t length()
const;
272 void apply(std::function<
void(
class cell)> f);
A range is a 2D collection of cells with defined extens that can be iterated upon.
Definition: range.hpp:55
A const version of range_iterator which does not allow modification to the dereferenced cell_vector...
Definition: range_iterator.hpp:163
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
A worksheet is a 2D array of cells starting with cell A1 in the top-left corner and extending indefin...
Definition: worksheet.hpp:77
major_order
Defines whether iterating a range returns columns or rows sequentially.
Definition: major_order.hpp:34
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.
An object used to refer to a cell. References have two parts, the column and the row. In Excel, the reference string A1 refers to the top-left-most cell. A cell_reference can be initialized from a string of this form or a 1-indexed ordered pair of the form column, row.
Definition: cell_reference.hpp:60
Describes a unit of data in a worksheet at a specific coordinate and its associated properties...
Definition: cell.hpp:84
std::reverse_iterator< const_iterator > const_reverse_iterator
Alias for the const reverse iterator type
Definition: range.hpp:76
An iterator used by worksheet and range for traversing a 2D grid of cells by row/column then across t...
Definition: range_iterator.hpp:43
Alignment options that determine how text should be displayed within a cell.
Definition: alignment.hpp:63
A cell vector is a linear (1D) range of cells, either vertical or horizontal depending on the major o...
Definition: cell_vector.hpp:47
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.
A range_reference describes a rectangular area of a worksheet with positive width and height defined ...
Definition: range_reference.hpp:36
std::reverse_iterator< iterator > reverse_iterator
Alias for the reverse iterator type
Definition: range.hpp:71
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