xlnt
|
Describes the border style of a particular cell. More...
#include <border.hpp>
Classes | |
class | border_property |
Each side of a cell can have a border_property applied to it to change how it is displayed. More... | |
Public Member Functions | |
border () | |
Constructs a default border. More... | |
optional< border_property > | side (border_side s) const |
Returns the border properties of the given side. More... | |
border & | side (border_side s, const border_property &prop) |
Sets the border properties of the side s to prop. More... | |
optional< diagonal_direction > | diagonal () const |
Returns the diagonal direction of this border. More... | |
border & | diagonal (diagonal_direction dir) |
Sets the diagonal direction of this border to dir. More... | |
bool | operator== (const border &right) const |
Returns true if left is exactly equal to right. More... | |
bool | operator!= (const border &right) const |
Returns true if left is not exactly equal to right. More... | |
Static Public Member Functions | |
static const std::vector< border_side > & | all_sides () |
Returns a vector containing all of the border sides to be used for iteration. More... | |
Describes the border style of a particular cell.
xlnt::border::border | ( | ) |
Constructs a default border.
|
static |
Returns a vector containing all of the border sides to be used for iteration.
optional<diagonal_direction> xlnt::border::diagonal | ( | ) | const |
Returns the diagonal direction of this border.
border& xlnt::border::diagonal | ( | diagonal_direction | dir | ) |
Sets the diagonal direction of this border to dir.
bool xlnt::border::operator!= | ( | const border & | right | ) | const |
Returns true if left is not exactly equal to right.
bool xlnt::border::operator== | ( | const border & | right | ) | const |
Returns true if left is exactly equal to right.
optional<border_property> xlnt::border::side | ( | border_side | s | ) | const |
Returns the border properties of the given side.
border& xlnt::border::side | ( | border_side | s, |
const border_property & | prop | ||
) |
Sets the border properties of the side s to prop.