Commit Graph

51 Commits

Author SHA1 Message Date
Debao Zhang e1d93af4b7 Format: Use QMap instead of QHash
As the items of QHash are arbitrarily ordered, so the same formats may generate
different formatKey
2013-11-23 13:45:17 +08:00
Debao Zhang 77d727748d Make RichString public 2013-11-22 23:22:27 +08:00
Debao Zhang 9c443c996d Code refactor: Only create FormatPrivate when needed. 2013-11-22 16:29:30 +08:00
Debao Zhang 176160d2a8 API change: Using Format instead of Format * 2013-11-22 10:46:17 +08:00
Debao Zhang 390440d0fa RichString: Using Format instead of Format * 2013-11-21 21:00:33 +08:00
Debao Zhang fc326b064b Code refactor: Remove private class XlsxFormatFillData 2013-11-21 15:33:10 +08:00
Debao Zhang 4670445888 Code refactor: Remove private class XlsxFormatBorderData 2013-11-21 14:36:18 +08:00
Debao Zhang 88ffbe3def Code refactor: Remove private class XlsxFormatFontData 2013-11-21 13:02:23 +08:00
Debao Zhang 3b29af2d2a Code refactor: numFmt part of QXlsx::Format 2013-11-19 17:28:47 +08:00
Debao Zhang 04934a8543 Don't lost rich text information 2013-11-18 16:58:38 +08:00
Debao Zhang 00350d4251 Fix Issue 7: Cell string misplacement when rich text exist
A private class RichString has been added. More work is needed
2013-11-18 11:52:10 +08:00
Debao Zhang d0cb3e6301 Change static member of SharedStrings to normal member 2013-11-17 01:08:28 +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 470abc6453 Fix issue 6: row & column No. starts from 1 instead of 0 now 2013-11-05 11:15:25 +08:00
Debao Zhang daeff262bb Add a unit test for worksheet 2013-11-05 09:14:18 +08:00
Debao Zhang 68f4190fa5 Grouping rows and cols works now 2013-11-04 21:40:57 +08:00
Debao Zhang 81d17478f6 Fix SharedString loading bug 2013-11-02 21:27:36 +08:00
Debao Zhang 8feb738e9f Fix numFmt: don't assume that all custom numFmtId starts from 164 2013-11-01 15:47:55 +08:00
Debao Zhang 93e1661aac Add more control option for worksheet 2013-10-31 11:06:30 +08:00
Debao Zhang 18d00f9665 Export the dimension api of worksheet 2013-10-29 22:07:50 +08:00
Debao Zhang 0155cc5409 Using QXlsx::CellRange instead of the private XlsxCellRange 2013-10-29 17:24:44 +08:00
Debao Zhang e283a0af7f Add data validation read/write support 2013-10-29 16:54:26 +08:00
Debao Zhang 3fefbb2235 Add worksheet dimenstion access API
first/last Row/Column
2013-10-28 10:08:09 +08:00
Debao Zhang 84ca047e7f Fix Styles::readNumFmts() bug 2013-10-25 16:32:43 +08:00
Debao Zhang 8faebaaa91 Add QDateTime support for QXlsx::Cell 2013-10-25 15:23:03 +08:00
Debao Zhang 1b5d22e3ee Add unit test for QXlsx::Document 2013-10-25 10:31:13 +08:00
Debao Zhang d74bd9f276 tst_worksheet: using cellAt() instead of private member 2013-10-25 09:39:38 +08:00
Debao Zhang eee0a52b82 Add read support for error cell type 2013-10-24 17:32:56 +08:00
Debao Zhang 92a415425e Add a private sheetId() member for Worksheet 2013-10-24 17:32:24 +08:00
Debao Zhang 987ca2dcdc Code refactor for Worksheet::writeHyperlink() 2013-10-24 14:56:38 +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 7805e37322 Add basic formula read support 2013-10-24 11:53:54 +08:00
Debao Zhang 435ab82c3f Add inline string read/write support 2013-10-24 10:50:36 +08:00
Debao Zhang afa8c959e8 Improve the QDateTime support 2013-10-23 15:31:01 +08:00
Debao Zhang a112f5d2e7 Can read .xlsx files with merge cells 2013-10-23 09:22:57 +08:00
Debao Zhang 23c04a546e Can read .xlsx files with cols and rows info 2013-10-22 17:29:24 +08:00
Debao Zhang 11ad7d5374 Refactor : Worksheet load xml logic 2013-10-22 16:02:00 +08:00
Debao Zhang f6bd08f6ed Add unit test for Worksheet class 2013-10-22 15:02:07 +08:00
Debao Zhang 31270604c6 Can read .xlsx files with border styles now 2013-10-22 13:37:49 +08:00
Debao Zhang 9abb26127c Can read .xlsx files with fill styles now 2013-10-22 11:30:06 +08:00
Debao Zhang f8ca19f14b Add documentation for the class Document.
Little api refactor
2013-10-19 14:27:50 +08:00
Debao Zhang b4d9c5f2dd Add custom number format support 2013-10-15 17:27:20 +08:00
Debao Zhang 9845d8f2ee Fix issue 4: Fix background color of solid pattern
For a solid fill, Excel reverses the role of foreground and
background colours
2013-10-14 13:17:53 +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 aebc0a12b7 Able to read the document properties back now! 2013-09-11 14:45:16 +08:00
Debao Zhang 1e16a60a90 Add read xml function for Relationships 2013-09-10 14:02:26 +08:00
Debao Zhang b7f6d417c5 Add ZipReader and XmlStreamReader 2013-09-06 13:26:17 +08:00
Debao Zhang 5f444294bd Add mergeCells() function 2013-09-06 13:00:09 +08:00