LibEngsas
excelsheet.h
Go to the documentation of this file.
1 #ifndef EXCELSHEET_H
2 #define EXCELSHEET_H
3 
4 #include <espreadsheet.h>
5 
7 
8 class QAxObject;
9 
10 class ExcelSheet : public ESpreadsheet
11 {
12  Q_OBJECT
13  public:
14  ExcelSheet(QAxObject *sheet, ESpreadsheetProvider *provider, QObject *parent = NULL);
15 
27  };
39  };
54  };
55 
59  enum CellType {
61  };
62 
68  enum ColorIndex {
71  };
72 
73  void setName(QString name);
74  bool setData(ESpreadsheetCell cell);
75  ESpreadsheetCell data(int row, int column) const;
76  int rowCount() const;
77  int columnCount() const;
78 
79  private:
80  QColor convertColor(QString vbaColorString) const;
81 
82  QAxObject *mySheet;
83 };
84 
85 #endif // EXCELSHEET_H