1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-16 04:42:53 +08:00
2017-10-09 23:31:06 +09:00
2017-10-09 21:07:14 +09:00
2017-10-09 20:43:32 +09:00
2017-10-09 21:07:14 +09:00
2017-08-16 20:32:24 +09:00
2017-08-16 20:12:15 +09:00
2017-10-05 13:42:55 +09:00
2017-10-09 23:31:06 +09:00
2017-10-09 21:11:25 +09:00

QXlsx

Read this in other languages: English, 한국어

Excel reader/writer library

  • QXlsx is excel file(*.xlsx) reader/writer library.
  • It is written for static library using Qt 5.

License

Hello excel

Writing excel file

QXlsx::Document xlsx;
xlsx.write("A1", "Hello Qt!");
xlsx.saveAs("Test.xlsx");

Reading excel file

Cell* cell = xlsx.cellAt(1, 2); // row is 1. column is 2.
if ( cell == NULL )
	continue; // cell vaule is not set 
QVariant var = cell->readValue();
qint32 styleNo = cell->styleNumber();
if ( styleNo >= 0 )
	qDebug() << row << " " << var << " , style:" << styleNo;
else
	qDebug() << row << " " << var;

How to build

Test environment

  • Qt 5.9.1 (Visual Studio 2017/Windows 64bit)
  • Qt 5.9.1 (Visual Studio 2017/Windows 32bit)
  • Qt 5.9.1 (MingW/Windows 32bit)
  • Qt 5.9.1 (Ubuntu 16/Linux x64)
  • Qt 5.5.1 (MingW/Windows 32bit)
  • Qt 5.6.0 (MingW/Windows 32bit)
  • Qt 5.5.0 (Ubuntu 17/Linux i686)
  • Qt 5.2.0 (Ubuntu 14/Linux x64)
  • Qt 5.0.1 (MingW/Windows 32bit)

Contact

  • j2doll@gmail.com
  • Hi! My native language is not English. My English is not fluent. Please use EASY English. :-)
Description
No description provided
Readme MIT 9.4 MiB
Languages
C++ 76.5%
C 20.3%
QMake 1.7%
CMake 1.3%
QML 0.1%