An encapsulation of the XLSX differential cell formats (dxfs).
More...
#include <XLStyles_Dxfs.hpp>
An encapsulation of the XLSX differential cell formats (dxfs).
◆ XLDxfs() [1/4]
◆ XLDxfs() [2/4]
| XLDxfs::XLDxfs |
( |
const XMLNode & | node | ) |
|
|
explicit |
Constructor. New items should only be created through an XLStyles object.
- Parameters
-
| node | An XMLNode object with the dxfs item. If no input is provided, a null node is used. |
◆ XLDxfs() [3/4]
| XLDxfs::XLDxfs |
( |
const XLDxfs & | other | ) |
|
Copy Constructor.
- Parameters
-
| other | Object to be copied. |
◆ XLDxfs() [4/4]
| XLDxfs::XLDxfs |
( |
XLDxfs && | other | ) |
|
Move Constructor.
- Parameters
-
◆ ~XLDxfs()
◆ count()
| size_t XLDxfs::count |
( |
| ) |
const |
Get the count of differential cell formats.
- Returns
- The amount of entries in the differential cell formats
◆ create()
Append a new XLDxf, based on copyFrom, and return its index in dxfs node.
- Parameters
-
| copyFrom | Can provide an XLDxf to use as template for the new style |
| styleEntriesPrefix | Prefix the newly created cell style XMLNode with this pugi::node_pcdata text |
- Returns
- The index of the new differential cell format as used by operator[]
◆ dxfByIndex()
Get the differential cell format identified by index.
- Returns
- An XLDxf object
◆ 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.
◆ operator[]()
Operator overload: allow [] as shortcut access to dxfByIndex.
- Parameters
-
| index | The index within the XML sequence |
- Returns
- An XLDxf object
The documentation for this class was generated from the following files: