#ifndef EXCELEXPORT_H #define EXCELEXPORT_H #include #include #include #include class ExcelExport { public: ExcelExport(); ~ExcelExport(); void newExcel(const QString &fileName); void appendSheet(const QString &sheetName); void setCellValue(int row, int column, const QString &value); void setHeaderCellValue(int row, int column, const QString &value); void setCellValue(int row, int column, const int &value); void saveExcel(const QString &fileName); QAxObject *pApplication; QAxObject *pWorkBooks; QAxObject *pWorkBook; QAxObject *pSheets; QAxObject *pSheet; }; #endif // EXCELEXPORT_H