Using QXlsx::Document instead of QXlsx::Workbook
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user