xlsxdrawing_p.h 717 B

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