|
OpenXLSX 1.9.1
|
An encapsulation of a cell style item. More...
#include <XLStyles.hpp>
Public Member Functions | |
| XLCellStyle () | |
| XLCellStyle (const XMLNode &node) | |
| Constructor. New items should only be created through an XLStyles object. | |
| XLCellStyle (const XLCellStyle &other) | |
| Copy Constructor. | |
| XLCellStyle (XLCellStyle &&other) noexcept=default | |
| Move Constructor. | |
| ~XLCellStyle () | |
| XLCellStyle & | operator= (const XLCellStyle &other) |
| Copy assignment operator. | |
| XLCellStyle & | operator= (XLCellStyle &&other) noexcept=default |
| Move assignment operator. | |
| bool | empty () const |
| Test if this is an empty node. | |
| std::string | name () const |
| Get the name of the cell style. | |
| XLStyleIndex | xfId () const |
| Get the id of the cell style format. | |
| uint32_t | builtinId () const |
| Get the built-in id of the cell style. | |
| uint32_t | outlineStyle () const |
| Get the outline style id (attribute iLevel) of the cell style. | |
| bool | hidden () const |
| Get the hidden flag of the cell style. | |
| bool | customBuiltin () const |
| Get the custom buildin flag. | |
| XLUnsupportedElement | extLst () const |
| Unsupported getter. | |
| bool | setName (std::string_view newName) |
| Setter functions for style parameters. | |
| bool | setXfId (XLStyleIndex newXfId) |
| bool | setBuiltinId (uint32_t newBuiltinId) |
| bool | setOutlineStyle (uint32_t newOutlineStyle) |
| bool | setHidden (bool set=true) |
| bool | setCustomBuiltin (bool set=true) |
| bool | setExtLst (XLUnsupportedElement const &newExtLst) |
| Unsupported setter. | |
| std::string | summary () const |
| Return a string summary of the cell style properties. | |
Friends | |
| class | XLCellStyles |
An encapsulation of a cell style item.
| XLCellStyle::XLCellStyle | ( | ) |
|
explicit |
Constructor. New items should only be created through an XLStyles object.
| node | An XMLNode object with the cellStyle item. If no input is provided, a null node is used. |
| XLCellStyle::XLCellStyle | ( | const XLCellStyle & | other | ) |
Copy Constructor.
| other | Object to be copied. |
|
defaultnoexcept |
Move Constructor.
| other | Object to be moved. |
|
default |
| uint32_t XLCellStyle::builtinId | ( | ) | const |
Get the built-in id of the cell style.
| bool XLCellStyle::customBuiltin | ( | ) | const |
Get the custom buildin flag.
| bool XLCellStyle::empty | ( | ) | const |
Test if this is an empty node.
|
inline |
Unsupported getter.
| bool XLCellStyle::hidden | ( | ) | const |
Get the hidden flag of the cell style.
| std::string XLCellStyle::name | ( | ) | const |
Get the name of the cell style.
| XLCellStyle & XLCellStyle::operator= | ( | const XLCellStyle & | other | ) |
Copy assignment operator.
| other | Right hand side of assignment operation. |
|
defaultnoexcept |
Move assignment operator.
| other | Right hand side of assignment operation. |
| uint32_t XLCellStyle::outlineStyle | ( | ) | const |
Get the outline style id (attribute iLevel) of the cell style.
| bool XLCellStyle::setBuiltinId | ( | uint32_t | newBuiltinId | ) |
| bool XLCellStyle::setCustomBuiltin | ( | bool | set = true | ) |
| bool XLCellStyle::setExtLst | ( | XLUnsupportedElement const & | newExtLst | ) |
Unsupported setter.
Unsupported setter function.
| bool XLCellStyle::setHidden | ( | bool | set = true | ) |
| bool XLCellStyle::setName | ( | std::string_view | newName | ) |
Setter functions for style parameters.
| value | that shall be set |
| bool XLCellStyle::setOutlineStyle | ( | uint32_t | newOutlineStyle | ) |
| bool XLCellStyle::setXfId | ( | XLStyleIndex | newXfId | ) |
| std::string XLCellStyle::summary | ( | ) | const |
Return a string summary of the cell style properties.
| XLStyleIndex XLCellStyle::xfId | ( | ) | const |
Get the id of the cell style format.
|
friend |