11#ifndef OPENXLSX_XLSTYLES_DXFS_HPP
12#define OPENXLSX_XLSTYLES_DXFS_HPP
16# pragma warning(disable : 4251)
17# pragma warning(disable : 4275)
130 std::string summary()
const;
138 std::unique_ptr<XMLDocument> m_xmlDocument;
199 size_t count()
const;
220 XLStyleIndex create(
XLDxf copyFrom =
XLDxf{}, std::string_view styleEntriesPrefix = XLDefaultStyleEntriesPrefix);
223 mutable XMLNode m_dxfsNode;
224 std::vector<XLDxf> m_dxfs;
Definition XLStyles_CellFormats.hpp:34
An encapsulation of a border item.
Definition XLStyles_Borders.hpp:114
Definition XLStyles_Dxfs.hpp:36
bool hasFont() const
Check if specific components are present in the DXF.
Definition XLStyles_Dxfs.cpp:108
void clearNumFmt()
Definition XLStyles_Dxfs.cpp:115
bool empty() const
Test if this is an empty node.
Definition XLStyles_Dxfs.cpp:75
bool hasBorder() const
Definition XLStyles_Dxfs.cpp:112
bool hasNumFmt() const
Definition XLStyles_Dxfs.cpp:109
XLFont font() const
Getter functions, will create empty object on access and can be used to manipulate underlying setters...
Definition XLStyles_Dxfs.cpp:77
XLAlignment alignment() const
Definition XLStyles_Dxfs.cpp:95
XLNumberFormat numFmt() const
Definition XLStyles_Dxfs.cpp:83
XLBorder border() const
Definition XLStyles_Dxfs.cpp:101
void clearFill()
Definition XLStyles_Dxfs.cpp:116
bool hasAlignment() const
Definition XLStyles_Dxfs.cpp:111
XLDxf()
Default constructor. Initializes an empty XLDxf object with a temporary XML document.
Definition XLStyles_Dxfs.cpp:33
void clearBorder()
Definition XLStyles_Dxfs.cpp:118
void clearFont()
Clear specific components from the DXF.
Definition XLStyles_Dxfs.cpp:114
XLDxf & operator=(const XLDxf &other)
Copy assignment operator.
Definition XLStyles_Dxfs.cpp:50
XLUnsupportedElement extLst() const
Unsupported getter.
Definition XLStyles_Dxfs.hpp:119
void clearAlignment()
Definition XLStyles_Dxfs.cpp:117
XLFill fill() const
Definition XLStyles_Dxfs.cpp:89
bool hasFill() const
Definition XLStyles_Dxfs.cpp:110
friend class XLDxfs
Definition XLStyles_Dxfs.hpp:37
XMLNode node() const
Access the underlying XML node.
Definition XLStyles_Dxfs.hpp:135
An encapsulation of the XLSX differential cell formats (dxfs).
Definition XLStyles_Dxfs.hpp:151
XLDxfs()
Default constructor.
Definition XLStyles_Dxfs.cpp:141
XLDxf operator[](XLStyleIndex index) const
Operator overload: allow [] as shortcut access to dxfByIndex.
Definition XLStyles_Dxfs.hpp:212
XLDxf dxfByIndex(XLStyleIndex index) const
Get the differential cell format identified by index.
Definition XLStyles_Dxfs.cpp:183
size_t count() const
Get the count of differential cell formats.
Definition XLStyles_Dxfs.cpp:181
XLDxfs & operator=(const XLDxfs &other)
Copy assignment operator.
Definition XLStyles_Dxfs.cpp:162
An encapsulation of a fill item.
Definition XLStyles_Fills.hpp:282
Definition XLStyles_Fonts.hpp:34
The XLUnsupportedElement class provides a stub implementation that can be used as function parameter ...
Definition XLXmlFile.hpp:42
Definition IXLCellProvider.hpp:24
XLDxf XLDiffCellFormat
Backward compatibility alias.
Definition XLStyles_Dxfs.hpp:145
XLDxfs XLDiffCellFormats
Backward compatibility alias.
Definition XLStyles_Dxfs.hpp:230
OpenXLSX_xml_node XMLNode
Definition XLXmlParser.hpp:64
size_t XLStyleIndex
Definition XLStyles_Common.hpp:36