wumu
2024-03-01 6680ad0c95b04ee59bab0b7c1cd65351f279b7bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// xlsxdrwaing_p.h
 
#ifndef QXLSX_DRAWING_H
#define QXLSX_DRAWING_H
 
#include <QtGlobal>
#include <QList>
#include <QString>
 
#include "xlsxrelationships_p.h"
#include "xlsxabstractooxmlfile.h"
 
class QIODevice;
class QXmlStreamWriter;
 
QT_BEGIN_NAMESPACE_XLSX
 
class DrawingAnchor;
class Workbook;
class AbstractSheet;
class MediaFile;
 
class Drawing : public AbstractOOXmlFile
{
public:
    Drawing(AbstractSheet *sheet, CreateFlag flag);
    ~Drawing();
    void saveToXmlFile(QIODevice *device) const override;
    bool loadFromXmlFile(QIODevice *device) override;
 
    AbstractSheet *sheet;
    Workbook *workbook;
    QList<DrawingAnchor *> anchors;
};
 
QT_END_NAMESPACE_XLSX
 
#endif // QXLSX_DRAWING_H