|
OpenXLSX 1.9.1
|
An encapsulation of a border item. More...
#include <XLStyles.hpp>
Public Member Functions | |
| XLBorder () | |
| XLBorder (const XMLNode &node) | |
| Constructor. New items should only be created through an XLStyles object. | |
| XLBorder (const XLBorder &other) | |
| Copy Constructor. | |
| XLBorder (XLBorder &&other) noexcept=default | |
| Move Constructor. | |
| ~XLBorder () | |
| XLBorder & | operator= (const XLBorder &other) |
| Copy assignment operator. | |
| XLBorder & | operator= (XLBorder &&other) noexcept=default |
| Move assignment operator. | |
| bool | diagonalUp () const |
| Get the diagonal up property. | |
| bool | diagonalDown () const |
| Get the diagonal down property. | |
| bool | outline () const |
| Get the outline property. | |
| XLLine | left () const |
| Get the left line property. | |
| XLLine | right () const |
| Get the left line property. | |
| XLLine | top () const |
| Get the left line property. | |
| XLLine | bottom () const |
| Get the bottom line property. | |
| XLLine | diagonal () const |
| Get the diagonal line property. | |
| XLLine | vertical () const |
| Get the vertical line property. | |
| XLLine | horizontal () const |
| Get the horizontal line property. | |
| XLBorder & | setDiagonalUp (bool set=true) |
| Setter functions for style parameters. | |
| XLBorder & | setDiagonalDown (bool set=true) |
| XLBorder & | setOutline (bool set=true) |
| bool | setLine (XLLineType lineType, XLLineStyle lineStyle, XLColor lineColor, double lineTint=0.0) |
| bool | setLeft (XLLineStyle lineStyle, XLColor lineColor, double lineTint=0.0) |
| bool | setRight (XLLineStyle lineStyle, XLColor lineColor, double lineTint=0.0) |
| bool | setTop (XLLineStyle lineStyle, XLColor lineColor, double lineTint=0.0) |
| bool | setBottom (XLLineStyle lineStyle, XLColor lineColor, double lineTint=0.0) |
| bool | setDiagonal (XLLineStyle lineStyle, XLColor lineColor, double lineTint=0.0) |
| bool | setVertical (XLLineStyle lineStyle, XLColor lineColor, double lineTint=0.0) |
| bool | setHorizontal (XLLineStyle lineStyle, XLColor lineColor, double lineTint=0.0) |
| std::string | summary () const |
| Return a string summary of the font properties. | |
Friends | |
| class | XLBorders |
An encapsulation of a border item.
| XLBorder::XLBorder | ( | ) |
|
explicit |
Constructor. New items should only be created through an XLStyles object.
| node | An XMLNode object with the border XMLNode. If no input is provided, a null node is used. |
| XLBorder::XLBorder | ( | const XLBorder & | other | ) |
Copy Constructor.
| other | Object to be copied. |
|
defaultnoexcept |
Move Constructor.
| other | Object to be moved. |
|
default |
| bool XLBorder::diagonalDown | ( | ) | const |
Get the diagonal down property.
| bool XLBorder::diagonalUp | ( | ) | const |
Get the diagonal up property.
Copy assignment operator.
| other | Right hand side of assignment operation. |
Move assignment operator.
| other | Right hand side of assignment operation. |
| bool XLBorder::outline | ( | ) | const |
Get the outline property.
| bool XLBorder::setBottom | ( | XLLineStyle | lineStyle, |
| XLColor | lineColor, | ||
| double | lineTint = 0.0 |
||
| ) |
| bool XLBorder::setDiagonal | ( | XLLineStyle | lineStyle, |
| XLColor | lineColor, | ||
| double | lineTint = 0.0 |
||
| ) |
| XLBorder & XLBorder::setDiagonalDown | ( | bool | set = true | ) |
| XLBorder & XLBorder::setDiagonalUp | ( | bool | set = true | ) |
Setter functions for style parameters.
| value | that shall be set |
| value2 | (optional) that shall be set |
| bool XLBorder::setHorizontal | ( | XLLineStyle | lineStyle, |
| XLColor | lineColor, | ||
| double | lineTint = 0.0 |
||
| ) |
| bool XLBorder::setLeft | ( | XLLineStyle | lineStyle, |
| XLColor | lineColor, | ||
| double | lineTint = 0.0 |
||
| ) |
| bool XLBorder::setLine | ( | XLLineType | lineType, |
| XLLineStyle | lineStyle, | ||
| XLColor | lineColor, | ||
| double | lineTint = 0.0 |
||
| ) |
| XLBorder & XLBorder::setOutline | ( | bool | set = true | ) |
| bool XLBorder::setRight | ( | XLLineStyle | lineStyle, |
| XLColor | lineColor, | ||
| double | lineTint = 0.0 |
||
| ) |
| bool XLBorder::setTop | ( | XLLineStyle | lineStyle, |
| XLColor | lineColor, | ||
| double | lineTint = 0.0 |
||
| ) |
| bool XLBorder::setVertical | ( | XLLineStyle | lineStyle, |
| XLColor | lineColor, | ||
| double | lineTint = 0.0 |
||
| ) |
| std::string XLBorder::summary | ( | ) | const |
Return a string summary of the font properties.
|
friend |