Commit Graph

33 Commits

Author SHA1 Message Date
Debao Zhang 11e8d7c48a Prevent while() from causing potential infinite loops
If xml files don't have proper close tags, don't generate an infinite
loop in our library.
2013-12-12 16:01:59 +08:00
Debao Zhang d45368e931 Remove the private class XmlStreamWriter and XmlStreamReader 2013-11-25 15:27:31 +08:00
Debao Zhang 176160d2a8 API change: Using Format instead of Format * 2013-11-22 10:46:17 +08:00
Debao Zhang 4bcce58f00 Code refactor: Make use of QSharedDataPointer for Format 2013-11-19 15:10:51 +08:00
luckyhacky 5359ac4c11 Fix compile error under Qt 5.0
QStringRef::toInt() and QStringRef::toDouble() are introduced in Qt 5.1
2013-11-15 09:32:13 +08:00
Debao Zhang 7e3e463983 Take use of existing theme file 2013-11-04 10:51:59 +08:00
Debao Zhang c87413e8ad Fix defineName bug
sheetId is used in application inside, when save to/load from xml file,
which will convert to/from localSheetId
2013-10-30 13:37:44 +08:00
Debao Zhang fd1bf132a8 Fix bug: workbook information doesn't load to document 2013-10-30 13:25:02 +08:00
Debao Zhang 0d7863f420 Add defineName support 2013-10-30 13:15:41 +08:00
Debao Zhang ccd55974fa Load orignal sheetId 2013-10-30 11:49:28 +08:00
Debao Zhang 68b44ce2ad Fix warning: unused variable 2013-10-26 01:18:39 +08:00
Debao Zhang 92a415425e Add a private sheetId() member for Worksheet 2013-10-24 17:32:24 +08:00
Debao Zhang 377a9adfd1 Add read support for workbookView properties 2013-10-24 16:29:09 +08:00
Debao Zhang 97f1fa6835 For string type cell, Cell::value() return the string instead of the index 2013-10-24 13:14:13 +08:00
Debao Zhang afa8c959e8 Improve the QDateTime support 2013-10-23 15:31:01 +08:00
Debao Zhang f6bd08f6ed Add unit test for Worksheet class 2013-10-22 15:02:07 +08:00
Debao Zhang d04a02e55c We can read and modify existing simple .xlsx file now 2013-10-19 13:28:06 +08:00
Debao Zhang 7f218898b6 Api function refactor 2013-10-18 14:14:26 +08:00
Debao Zhang 895a30524d Add default datetime format for workbook 2013-10-16 09:58:42 +08:00
Debao Zhang ede8c52f03 Introduce macros for namespace to make qdoc happy
qdoc doesn't work for class located in normal namespace
2013-10-15 09:58:46 +08:00
Debao Zhang 7748184ba1 wip: Add read function for workbook 2013-10-11 19:54:01 +08:00
Debao Zhang c5bc41bacb Make that QXlsx::Document is the only subclass of QObject 2013-09-13 14:02:55 +08:00
Debao Zhang 113f1c760b Refactor QXlsx::Styles and QXlsx::Format 2013-09-13 12:52:11 +08:00
Debao Zhang 426ce14311 Add read xml function for SharedStrings 2013-09-12 11:00:33 +08:00
Debao Zhang 6ee507b0d8 Make constructor of Workbook private 2013-09-11 17:12:56 +08:00
Debao Zhang 81422eb31b Using QXlsx::Document instead of QXlsx::Workbook 2013-09-10 22:22:34 +08:00
Debao Zhang b9dc02b79e Fix Issue1: Add insert_image() function 2013-09-04 11:35:02 +08:00
Debao Zhang 9739020b1f Add document property support
Use QObject::setProperty() to do so
2013-08-30 15:16:57 +08:00
Debao Zhang b80286d7b7 Return false when save() failed 2013-08-30 13:37:55 +08:00
Debao Zhang 7816c724dc Worksheet index property should be stored in Workbook 2013-08-30 10:46:13 +08:00
Debao Zhang bca00392dc Make all of the filenames start with xlsx 2013-08-30 09:28:33 +08:00
Debao Zhang d87b50a4b7 Wrap all char * string with QStringLiteral or QLatin1String 2013-08-30 00:26:20 +08:00
Debao Zhang 929db3d481 Refactor: Follow Qt5 module's file directories style
Xlsx Shared library can be used now
2013-08-29 17:14:27 +08:00