Describes a view of a worksheet. Worksheets can have multiple views which show the data differently.
More...
#include <sheet_view.hpp>
Describes a view of a worksheet. Worksheets can have multiple views which show the data differently.
◆ add_selection()
void xlnt::sheet_view::add_selection |
( |
const class selection & |
new_selection | ) |
|
|
inline |
Adds the given selection to the collection of selections.
◆ clear_pane()
void xlnt::sheet_view::clear_pane |
( |
| ) |
|
|
inline |
Removes the defined pane from this view.
◆ clear_selections()
void xlnt::sheet_view::clear_selections |
( |
| ) |
|
|
inline |
◆ default_grid_color() [1/2]
void xlnt::sheet_view::default_grid_color |
( |
bool |
is_default | ) |
|
|
inline |
If is_default is true, the default grid color will be used.
◆ default_grid_color() [2/2]
bool xlnt::sheet_view::default_grid_color |
( |
| ) |
const |
|
inline |
Returns true if the default grid color will be used.
◆ has_pane()
bool xlnt::sheet_view::has_pane |
( |
| ) |
const |
|
inline |
Returns true if this view has a pane defined.
◆ has_selections()
bool xlnt::sheet_view::has_selections |
( |
| ) |
const |
|
inline |
Returns true if this view has any selections.
◆ has_top_left_cell()
bool xlnt::sheet_view::has_top_left_cell |
( |
| ) |
const |
|
inline |
◆ id() [1/2]
void xlnt::sheet_view::id |
( |
std::size_t |
new_id | ) |
|
|
inline |
Sets the ID of this view to new_id.
◆ id() [2/2]
std::size_t xlnt::sheet_view::id |
( |
| ) |
const |
|
inline |
Returns the ID of this view.
◆ operator==()
bool xlnt::sheet_view::operator== |
( |
const sheet_view & |
rhs | ) |
const |
|
inline |
Returns true if this view is equal to rhs based on its id, grid lines setting, default grid color, pane, and selections.
◆ pane() [1/3]
struct pane& xlnt::sheet_view::pane |
( |
| ) |
|
|
inline |
Returns a reference to this view's pane.
◆ pane() [2/3]
const struct pane& xlnt::sheet_view::pane |
( |
| ) |
const |
|
inline |
Returns a reference to this view's pane.
◆ pane() [3/3]
void xlnt::sheet_view::pane |
( |
const struct pane & |
new_pane | ) |
|
|
inline |
Sets the pane of this view to new_pane.
◆ selection()
Returns the selection at the given index.
◆ selections()
Returns the collection of selections as a vector.
◆ show_grid_lines() [1/2]
void xlnt::sheet_view::show_grid_lines |
( |
bool |
show | ) |
|
|
inline |
If show is true, grid lines will be shown for sheets using this view.
◆ show_grid_lines() [2/2]
bool xlnt::sheet_view::show_grid_lines |
( |
| ) |
const |
|
inline |
Returns true if grid lines will be shown for sheets using this view.
◆ top_left_cell() [1/2]
Sets the top left cell of this view.
◆ top_left_cell() [2/2]
Returns the top left cell of this view.
◆ type() [1/2]
Sets the type of this view.
◆ type() [2/2]
Returns the type of this view.
The documentation for this class was generated from the following file: