#include <XLStyles_CellStyles.hpp>
◆ XLCellStyle() [1/4]
| XLCellStyle::XLCellStyle |
( |
| ) |
|
◆ XLCellStyle() [2/4]
| XLCellStyle::XLCellStyle |
( |
const XMLNode & | node | ) |
|
|
explicit |
Constructor. New items should only be created through an XLStyles object.
- Parameters
-
| node | An XMLNode object with the cellStyle item. If no input is provided, a null node is used. |
◆ XLCellStyle() [3/4]
| XLCellStyle::XLCellStyle |
( |
const XLCellStyle & | other | ) |
|
Copy Constructor.
- Parameters
-
| other | Object to be copied. |
◆ XLCellStyle() [4/4]
| OpenXLSX::XLCellStyle::XLCellStyle |
( |
XLCellStyle && | other | ) |
|
|
defaultnoexcept |
Move Constructor.
- Parameters
-
◆ ~XLCellStyle()
| XLCellStyle::~XLCellStyle |
( |
| ) |
|
|
default |
◆ builtinId()
| uint32_t XLCellStyle::builtinId |
( |
| ) |
const |
Get the built-in id of the cell style.
- Returns
- The built-in id of the cell style
- Todo
- need to find a use case for this
◆ customBuiltin()
| bool XLCellStyle::customBuiltin |
( |
| ) |
const |
Get the custom buildin flag.
- Returns
- true if this cell style shall customize a built-in style
◆ empty()
| bool XLCellStyle::empty |
( |
| ) |
const |
Test if this is an empty node.
- Returns
- true if underlying XMLNode is empty
◆ extLst()
◆ hidden()
| bool XLCellStyle::hidden |
( |
| ) |
const |
Get the hidden flag of the cell style.
- Returns
- The hidden flag status (true: applications should not show this style)
◆ name()
| std::string XLCellStyle::name |
( |
| ) |
const |
Get the name of the cell style.
- Returns
- The name for this cell style entry
◆ operator=() [1/2]
Copy assignment operator.
- Parameters
-
| other | Right hand side of assignment operation. |
- Returns
- A reference to the lhs object.
◆ operator=() [2/2]
Move assignment operator.
- Parameters
-
| other | Right hand side of assignment operation. |
- Returns
- A reference to lhs object.
◆ outlineStyle()
| uint32_t XLCellStyle::outlineStyle |
( |
| ) |
const |
Get the outline style id (attribute iLevel) of the cell style.
- Returns
- The outline style id of the cell style
- Todo
- need to find a use case for this
◆ setBuiltinId()
| bool XLCellStyle::setBuiltinId |
( |
uint32_t | newBuiltinId | ) |
|
◆ setCustomBuiltin()
| bool XLCellStyle::setCustomBuiltin |
( |
bool | set = true | ) |
|
◆ setExtLst()
Unsupported setter.
Unsupported setter function.
◆ setHidden()
| bool XLCellStyle::setHidden |
( |
bool | set = true | ) |
|
◆ setName()
| bool XLCellStyle::setName |
( |
std::string_view | newName | ) |
|
Setter functions for style parameters.
- Parameters
-
- Returns
- true for success, false for failure
◆ setOutlineStyle()
| bool XLCellStyle::setOutlineStyle |
( |
uint32_t | newOutlineStyle | ) |
|
◆ setXfId()
◆ summary()
| std::string XLCellStyle::summary |
( |
| ) |
const |
Return a string summary of the cell style properties.
- Returns
- string with info about the cell style object
◆ xfId()
Get the id of the cell style format.
- Returns
- The id referring to an index in cell style formats (cellStyleXfs)
◆ XLCellStyles
| friend class XLCellStyles |
|
friend |
The documentation for this class was generated from the following files: