Tianchi  v0.0.2 build 20130701
C++ library for Qt with VC & mingW
Public 成员函数 | 所有成员列表
TcExcelReader类 参考

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

作者
XChinux xchin.nosp@m.ux@q.nosp@m.tcn.o.nosp@m.rg
日期
2013-05-02

成员函数说明

QVariant TcExcelReader::cell ( int  row,
int  col 
)

read cell's value

参数
[in]row,indexof row, from 1 start
[in]col,indexof column, from 1 start

该类的文档由以下文件生成: