|
OpenXLSX 1.9.1
|
An encapsulation of a differential cell format item (DXF) More...
#include <XLStyles.hpp>
Public Member Functions | |
| XLDxf () | |
| Default constructor. Initializes an empty XLDxf object with a temporary XML document. | |
| XLDxf (const XMLNode &node) | |
| Constructor. New items should only be created through an XLStyles object. | |
| XLDxf (const XLDxf &other) | |
| Copy Constructor. | |
| XLDxf (XLDxf &&other) noexcept | |
| Move Constructor. | |
| ~XLDxf () | |
| Destructor. | |
| XLDxf & | operator= (const XLDxf &other) |
| Copy assignment operator. | |
| XLDxf & | operator= (XLDxf &&other) noexcept |
| Move assignment operator. | |
| bool | empty () const |
| Test if this is an empty node. | |
| XLFont | font () const |
| Getter functions, will create empty object on access and can be used to manipulate underlying setters. These are "ensure-and-get" style getters consistent with the rest of the library. | |
| XLNumberFormat | numFmt () const |
| XLFill | fill () const |
| XLAlignment | alignment () const |
| XLBorder | border () const |
| bool | hasFont () const |
| Check if specific components are present in the DXF. | |
| bool | hasNumFmt () const |
| bool | hasFill () const |
| bool | hasAlignment () const |
| bool | hasBorder () const |
| void | clearFont () |
| Clear specific components from the DXF. | |
| void | clearNumFmt () |
| void | clearFill () |
| void | clearAlignment () |
| void | clearBorder () |
| XLUnsupportedElement | extLst () const |
| Unsupported getter. | |
| bool | setExtLst (XLUnsupportedElement const &newExtLst) |
| Unsupported setter. | |
| std::string | summary () const |
| Return a string summary of the differential cell format properties. | |
| XMLNode | node () const |
| Access the underlying XML node. | |
Friends | |
| class | XLDxfs |
An encapsulation of a differential cell format item (DXF)
| XLDxf::XLDxf | ( | ) |
Default constructor. Initializes an empty XLDxf object with a temporary XML document.
|
explicit |
Constructor. New items should only be created through an XLStyles object.
| node | An XMLNode object with the dxf item. If no input is provided, a null node is used. |
| XLDxf::XLDxf | ( | const XLDxf & | other | ) |
Copy Constructor.
| other | Object to be copied. |
|
noexcept |
Move Constructor.
| other | Object to be moved. |
|
default |
Destructor.
| XLAlignment XLDxf::alignment | ( | ) | const |
| XLBorder XLDxf::border | ( | ) | const |
| void XLDxf::clearAlignment | ( | ) |
| void XLDxf::clearBorder | ( | ) |
| void XLDxf::clearFill | ( | ) |
| void XLDxf::clearFont | ( | ) |
Clear specific components from the DXF.
| void XLDxf::clearNumFmt | ( | ) |
| bool XLDxf::empty | ( | ) | const |
Test if this is an empty node.
|
inline |
Unsupported getter.
| XLFill XLDxf::fill | ( | ) | const |
| XLFont XLDxf::font | ( | ) | const |
Getter functions, will create empty object on access and can be used to manipulate underlying setters. These are "ensure-and-get" style getters consistent with the rest of the library.
| bool XLDxf::hasAlignment | ( | ) | const |
| bool XLDxf::hasBorder | ( | ) | const |
| bool XLDxf::hasFill | ( | ) | const |
| bool XLDxf::hasFont | ( | ) | const |
Check if specific components are present in the DXF.
| bool XLDxf::hasNumFmt | ( | ) | const |
|
inline |
Access the underlying XML node.
| XLNumberFormat XLDxf::numFmt | ( | ) | const |
Copy assignment operator.
| other | Right hand side of assignment operation. |
Move assignment operator.
| other | Right hand side of assignment operation. |
| bool XLDxf::setExtLst | ( | XLUnsupportedElement const & | newExtLst | ) |
Unsupported setter.
Unsupported setter function.
| std::string XLDxf::summary | ( | ) | const |
Return a string summary of the differential cell format properties.
|
friend |