|
| | XLDrawing () |
| | Constructor.
|
| | XLDrawing (gsl::not_null< XLXmlData * > xmlData) |
| | The constructor.
|
| | XLDrawing (const XLDrawing &other) |
| | The copy constructor.
|
| | XLDrawing (XLDrawing &&other) noexcept |
| | Move constructor.
|
| | ~XLDrawing ()=default |
| | The destructor.
|
| XLDrawing & | operator= (const XLDrawing &other) |
| | Assignment operator.
|
| XLDrawing & | operator= (XLDrawing &&other) noexcept |
| | Move assignment operator.
|
| void | addImage (std::string_view rId, std::string_view name, std::string_view description, uint32_t row, uint32_t col, uint32_t width, uint32_t height, const XLImageOptions &options=XLImageOptions()) |
| | Add an image to the drawing.
|
| void | addShape (uint32_t row, uint32_t col, const XLVectorShapeOptions &options=XLVectorShapeOptions()) |
| | Add a chart to the drawing.
|
| void | addChartAnchor (std::string_view rId, std::string_view name, uint32_t row, uint32_t col, uint32_t width, uint32_t height) |
| void | addChartAnchor (std::string_view rId, std::string_view name, uint32_t row, uint32_t col, XLDistance width, XLDistance height) |
| void | addScaledImage (std::string_view rId, std::string_view name, std::string_view description, std::string_view data, uint32_t row, uint32_t col, double scalingFactor=1.0) |
| | Add an image to the drawing, automatically maintaining aspect ratio.
|
| XLRelationships & | relationships () |
| | Get the drawing relationships.
|
| uint32_t | imageCount () const |
| | Get the number of images in the drawing.
|
| XLDrawingItem | image (uint32_t index) const |
| | Get an image item by index.
|
| | XLXmlFile ()=default |
| | Default constructor.
|
| std::string | xmlData (XLXmlSavingDeclaration savingDeclaration=XLXmlSavingDeclaration{}) const |
| | Method for getting the XML data represented by the object.
|
| | XLXmlFile (XLXmlData *xmlData) |
| | Constructor. Creates an object based on the xmlData input.
|
| | XLXmlFile (const XLXmlFile &other)=default |
| | Copy constructor. Default implementation used.
|
| | XLXmlFile (XLXmlFile &&other) noexcept=default |
| | Move constructor. Default implementation used.
|
| | ~XLXmlFile ()=default |
| | Destructor. Default implementation used.
|
| bool | valid () const |
| | check whether class is linked to a valid XML file
|
| XLXmlFile & | operator= (const XLXmlFile &other)=default |
| | The copy assignment operator. The default implementation has been used.
|
| XLXmlFile & | operator= (XLXmlFile &&other) noexcept=default |
| | The move assignment operator. The default implementation has been used.
|
| XLDocument & | parentDoc () |
| | This function provides access to the parent XLDocument object.
|
| const XLDocument & | parentDoc () const |
| | This function provides access to the parent XLDocument object.
|
| XLPackageServices & | package () |
| | Narrow package-services port (archive, managed XML parts, relationships, content types).
|
| const XLPackageServices & | package () const |
| XLPackagePartFactory & | partFactory () |
| | Narrow package-part factory port (chart / drawing / image / slicer / sheet accessories).
|
| const XLPackagePartFactory & | partFactory () const |
| const XLSharedStringTable & | sharedStringTable () const |
| | Read-only shared string table (SST) port.
|
| const XLSharedStrings & | sharedStrings () const |
| | Full workbook SST (including getOrCreate / append).
|
| XMLDocument & | xmlDocument () |
| | This function provides access to the underlying XMLDocument object.
|
| const XMLDocument & | xmlDocument () const |
| | This function provides access to the underlying XMLDocument object.
|
| std::string | getXmlPath () const |
| | Retrieve the path of the XML data in the .xlsx zip archive via m_xmlData->getXmlPath.
|
| const XLXmlData * | xmlDataPart () const noexcept |
| | Access the underlying XLXmlData pointer.
|
| XLXmlData * | xmlDataPart () noexcept |
The XLDrawing class is the base class for worksheet drawings (images, charts, etc.).