#include <XLStyles_NumberFormats.hpp>
◆ XLNumberFormat() [1/4]
| XLNumberFormat::XLNumberFormat |
( |
| ) |
|
◆ XLNumberFormat() [2/4]
| XLNumberFormat::XLNumberFormat |
( |
const XMLNode & | node | ) |
|
|
explicit |
Constructor. New items should only be created through an XLStyles object.
- Parameters
-
| node | An XMLNode object with the styles item. If no input is provided, a null node is used. |
◆ XLNumberFormat() [3/4]
| XLNumberFormat::XLNumberFormat |
( |
const XLNumberFormat & | other | ) |
|
Copy Constructor.
- Parameters
-
| other | Object to be copied. |
◆ XLNumberFormat() [4/4]
| OpenXLSX::XLNumberFormat::XLNumberFormat |
( |
XLNumberFormat && | other | ) |
|
|
defaultnoexcept |
Move Constructor.
- Parameters
-
◆ ~XLNumberFormat()
| XLNumberFormat::~XLNumberFormat |
( |
| ) |
|
|
default |
◆ formatCode()
| std::string XLNumberFormat::formatCode |
( |
| ) |
const |
Get the code of the number format.
- Returns
- The format code for this number format
◆ numberFormatId()
| uint32_t XLNumberFormat::numberFormatId |
( |
| ) |
const |
Get the id of the number format.
- Returns
- The id for this number format
◆ 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.
◆ setFormatCode()
| bool XLNumberFormat::setFormatCode |
( |
std::string_view | newFormatCode | ) |
|
◆ setNumberFormatId()
| bool XLNumberFormat::setNumberFormatId |
( |
uint32_t | newNumberFormatId | ) |
|
Setter functions for style parameters.
- Parameters
-
- Returns
- true for success, false for failure
◆ summary()
| std::string XLNumberFormat::summary |
( |
| ) |
const |
Return a string summary of the number format.
- Returns
- string with info about the number format object
◆ XLNumberFormats
| friend class XLNumberFormats |
|
friend |
The documentation for this class was generated from the following files: