|
Tianchi
v0.0.2 build 20130701
C++ library for Qt with VC & mingW
|
simple excel reader class, limit to read first sheet 更多...
#include <tcexcelreader.h>
Public 成员函数 | |
| bool | isNull () const |
| if is null, it can do nothing | |
| bool | open (const QString &file) |
| open excel file, success to return true | |
| QVariant | cell (int row, int col) |
| read cell's value 更多... | |
| int | sheetCount () |
| get sheets count | |
| QStringList | sheetNames () |
| get sheets name list | |
| bool | setCurrentSheet (int index) |
| set current sheet by index(from 1 start) | |
| bool | setCurrentSheet (const QString &sheetName) |
| set current sheet by name | |
| int | currentSheetIndex () |
| get current sheet index(from 1 start) | |
| QString | currentSheetName () |
| get current sheet name | |
simple excel reader class, limit to read first sheet
| QVariant TcExcelReader::cell | ( | int | row, |
| int | col | ||
| ) |
read cell's value
| [in] | row,index | of row, from 1 start |
| [in] | col,index | of column, from 1 start |
1.8.3.1