LibEngsas
excel.h
Go to the documentation of this file.
1 #ifndef EXCEL_H
2 #define EXCEL_H
3 
4 #include <eobject.h>
5 
6 class ExcelWorkbook;
7 
9 
10 class QAxObject;
11 
12 class Excel : public EObject
13 {
14  Q_OBJECT
15  public:
16  Excel(ESpreadsheetProvider *provider, QObject *parent = NULL);
17  ~Excel();
18 
19  ExcelWorkbook *load(QString file);
20  ExcelWorkbook *create(QString file);
21 
22  void closeWorkbooks();
23 
24  private:
25  QAxObject *comExcel, *workbooks;
27 };
28 
29 #endif // EXCEL_H
Mostly the same as EWidget but for QObject as base class.
Definition: eobject.h:42
Definition: excel.h:12
QAxObject * comExcel
Definition: excel.h:25
Definition: excelworkbook.h:12
ESpreadsheetProvider * provider
Definition: excel.h:26
QAxObject * workbooks
Definition: excel.h:25
ExcelWorkbook * load(QString file)
Definition: excel.cpp:30
void closeWorkbooks()
Definition: excel.cpp:71
Excel(ESpreadsheetProvider *provider, QObject *parent=NULL)
Definition: excel.cpp:10
ExcelWorkbook * create(QString file)
Definition: excel.cpp:43
Interface to implement spreadsheet providers (e. g. to create excel files or ods, ...
Definition: espreadsheetprovider.h:38
~Excel()
Definition: excel.cpp:24