xlnt
|
Each side of a cell can have a border_property applied to it to change how it is displayed. More...
#include <border.hpp>
Public Member Functions | |
optional< class color > | color () const |
Returns the color of the side. More... | |
border_property & | color (const xlnt::color &c) |
Sets the color of the side and returns a reference to the side properties. More... | |
optional< border_style > | style () const |
Returns the style of the side. More... | |
border_property & | style (border_style style) |
Sets the style of the side and returns a reference to the side properties. More... | |
bool | operator== (const border_property &right) const |
Returns true if left is exactly equal to right. More... | |
bool | operator!= (const border_property &right) const |
Returns true if left is not exactly equal to right. More... | |
Each side of a cell can have a border_property applied to it to change how it is displayed.
border_property& xlnt::border::border_property::color | ( | const xlnt::color & | c | ) |
Sets the color of the side and returns a reference to the side properties.
bool xlnt::border::border_property::operator!= | ( | const border_property & | right | ) | const |
Returns true if left is not exactly equal to right.
bool xlnt::border::border_property::operator== | ( | const border_property & | right | ) | const |
Returns true if left is exactly equal to right.
optional<border_style> xlnt::border::border_property::style | ( | ) | const |
Returns the style of the side.
border_property& xlnt::border::border_property::style | ( | border_style | style | ) |
Sets the style of the side and returns a reference to the side properties.