Using QXlsx::Document instead of QXlsx::Workbook

This commit is contained in:
Debao Zhang
2013-09-10 17:25:16 +08:00
parent 1e16a60a90
commit 81422eb31b
14 changed files with 295 additions and 141 deletions
+6
View File
@@ -2,6 +2,9 @@
#define XLSXDOCUMENT_P_H
#include "xlsxdocument.h"
#include "xlsxworkbook.h"
#include <QMap>
namespace QXlsx {
@@ -10,6 +13,7 @@ class DocumentPrivate
Q_DECLARE_PUBLIC(Document)
public:
DocumentPrivate(Document *p);
void init();
bool loadPackage(QIODevice *device);
@@ -17,6 +21,8 @@ public:
const QString defaultPackageName; //default name when package name not specified
QString packageName; //name of the .xlsx file
QMap<QString, QString> documentProperties; //core, app and custom properties
Workbook *workbook;
};
}