The XLVmlDrawing class is the base class for worksheet comments.
More...
#include <XLDrawing.hpp>
The XLVmlDrawing class is the base class for worksheet comments.
◆ XLVmlDrawing() [1/4]
| OpenXLSX::XLVmlDrawing::XLVmlDrawing |
( |
| ) |
|
|
inline |
◆ XLVmlDrawing() [2/4]
| XLVmlDrawing::XLVmlDrawing |
( |
gsl::not_null< XLXmlData * > |
xmlData | ) |
|
|
explicit |
The constructor.
- Parameters
-
| xmlData | the source XML of the comments file |
◆ XLVmlDrawing() [3/4]
| OpenXLSX::XLVmlDrawing::XLVmlDrawing |
( |
const XLVmlDrawing & |
other | ) |
|
|
default |
The copy constructor.
- Parameters
-
| other | The object to be copied. |
- Note
- The default copy constructor is used, i.e. only shallow copying of pointer data members.
◆ XLVmlDrawing() [4/4]
| OpenXLSX::XLVmlDrawing::XLVmlDrawing |
( |
XLVmlDrawing && |
other | ) |
|
|
defaultnoexcept |
◆ ~XLVmlDrawing()
| OpenXLSX::XLVmlDrawing::~XLVmlDrawing |
( |
| ) |
|
|
default |
The destructor.
- Note
- The default destructor is used, since cleanup of pointer data members is not required.
◆ createShape()
◆ deleteShape() [1/2]
| bool XLVmlDrawing::deleteShape |
( |
std::string_view |
cellRef | ) |
|
◆ deleteShape() [2/2]
| bool XLVmlDrawing::deleteShape |
( |
uint32_t |
index | ) |
|
◆ operator=() [1/2]
Assignment operator.
- Returns
- A reference to the new object.
- Note
- The default assignment operator is used, i.e. only shallow copying of pointer data members.
◆ operator=() [2/2]
◆ print()
| void XLVmlDrawing::print |
( |
std::basic_ostream< char > & |
ostr | ) |
const |
Print the XML contents of this XLVmlDrawing instance using the underlying XMLNode print function.
◆ shape()
| XLShape XLVmlDrawing::shape |
( |
uint32_t |
index | ) |
const |
◆ shapeCount()
| uint32_t XLVmlDrawing::shapeCount |
( |
| ) |
const |
◆ shapeNode()
| XMLNode XLVmlDrawing::shapeNode |
( |
std::string_view |
cellRef | ) |
const |
Get the shape XML node that is associated with the cell indicated by cellRef.
- Parameters
-
| cellRef | the reference to the cell for which a shape shall be found |
- Returns
- the XMLNode that contains the desired shape, or an empty XMLNode if not found
◆ XLComments
◆ XLWorksheet
The documentation for this class was generated from the following files:
- /home/runner/work/OpenXLSX-NX/OpenXLSX-NX/OpenXLSX/headers/XLDrawing.hpp
- /home/runner/work/OpenXLSX-NX/OpenXLSX-NX/OpenXLSX/sources/XLDrawing.cpp