|
OpenXLSX 1.9.1
|
An encapsulation of an XLSX Data Bar Color (CT_Color) item. More...
#include <XLStyles.hpp>
Public Member Functions | |
| XLDataBarColor () | |
| XLDataBarColor (const XMLNode &node) | |
| Constructor. New items should only be created through an XLGradientStop or XLLine object. | |
| XLDataBarColor (const XLDataBarColor &other) | |
| Copy Constructor. | |
| XLDataBarColor (XLDataBarColor &&other) noexcept=default | |
| Move Constructor. | |
| ~XLDataBarColor ()=default | |
| XLDataBarColor & | operator= (const XLDataBarColor &other) |
| Copy assignment operator. | |
| XLDataBarColor & | operator= (XLDataBarColor &&other) noexcept=default |
| Move assignment operator. | |
| XLColor | rgb () const |
| Get the line color from the rgb attribute. | |
| double | tint () const |
| Get the line color tint. | |
| bool | automatic () const |
| currently unsupported getter stubs | |
| uint32_t | indexed () const |
| uint32_t | theme () const |
| bool | setRgb (XLColor newColor) |
| Setter functions for data bar color parameters. | |
| bool | set (XLColor newColor) |
| bool | setTint (double newTint) |
| bool | setAutomatic (bool set=true) |
| bool | setIndexed (uint32_t newIndex) |
| bool | setTheme (uint32_t newTheme) |
| std::string | summary () const |
| Return a string summary of the color properties. | |
An encapsulation of an XLSX Data Bar Color (CT_Color) item.
| XLDataBarColor::XLDataBarColor | ( | ) |
|
explicit |
Constructor. New items should only be created through an XLGradientStop or XLLine object.
| node | An XMLNode object with a data bar color XMLNode. If no input is provided, a null node is used. |
| XLDataBarColor::XLDataBarColor | ( | const XLDataBarColor & | other | ) |
Copy Constructor.
| other | Object to be copied. |
|
defaultnoexcept |
Move Constructor.
| other | Object to be moved. |
|
default |
| bool XLDataBarColor::automatic | ( | ) | const |
currently unsupported getter stubs
| uint32_t XLDataBarColor::indexed | ( | ) | const |
| XLDataBarColor & XLDataBarColor::operator= | ( | const XLDataBarColor & | other | ) |
Copy assignment operator.
| other | Right hand side of assignment operation. |
|
defaultnoexcept |
Move assignment operator.
| other | Right hand side of assignment operation. |
| XLColor XLDataBarColor::rgb | ( | ) | const |
Get the line color from the rgb attribute.
|
inline |
| bool XLDataBarColor::setAutomatic | ( | bool | set = true | ) |
| bool XLDataBarColor::setIndexed | ( | uint32_t | newIndex | ) |
| bool XLDataBarColor::setRgb | ( | XLColor | newColor | ) |
Setter functions for data bar color parameters.
| value | that shall be set |
| bool XLDataBarColor::setTheme | ( | uint32_t | newTheme | ) |
| bool XLDataBarColor::setTint | ( | double | newTint | ) |
| std::string XLDataBarColor::summary | ( | ) | const |
Return a string summary of the color properties.
| uint32_t XLDataBarColor::theme | ( | ) | const |
| double XLDataBarColor::tint | ( | ) | const |
Get the line color tint.