Commit Graph

251 Commits

Author SHA1 Message Date
Debao Zhang 4097a89c86 Update version to 0.2.2 2014-01-03 11:34:24 +08:00
Debao Zhang f14b38ffe4 Issue 17: Using std::numeric_limits instead of macros INTn_MAX/MIN 2014-01-02 17:27:22 +08:00
Debao Zhang c6e959291c Code refactoring: Cache worksheetNames 2014-01-02 13:31:29 +08:00
Debao Zhang 5866e1342c Make sure that at least one worksheet exist in the workbook 2014-01-02 11:45:02 +08:00
Debao Zhang c6898ff732 Add basic worksheet copy support 2014-01-02 11:35:57 +08:00
Debao Zhang 82c77b4bed Improve worksheets support 2014-01-01 15:18:07 +08:00
Debao Zhang f83fb45740 Improve the QDate support 2013-12-31 15:51:56 +08:00
Debao Zhang d9d2c261bf Merge branch 'master' into dev 2013-12-31 14:00:55 +08:00
Debao Zhang 54201b44c1 Improve formula example 2013-12-31 14:00:36 +08:00
luckyhacky 00ad00fef4 corrected case sensitivity for linux systems, doesn't affect windows building 2013-12-28 17:41:31 +01:00
Debao Zhang 513ebc2142 Update examples 2013-12-27 16:43:10 +08:00
Debao Zhang e232e7eae9 Add QTime read write support 2013-12-27 16:29:41 +08:00
Debao Zhang 8c2bac03b3 There is no need to use UTC datetime 2013-12-27 14:59:53 +08:00
Debao Zhang 07ea0d92d9 Code refactoring: Make Cell::isDateTime() reliable 2013-12-27 14:35:45 +08:00
Debao Zhang 3a5c844386 Add qDebug support for XlsxColor 2013-12-25 11:32:01 +08:00
Debao Zhang 28d8de76ec Fix bug: Don't wrap normal code with #if/#endif 2013-12-25 09:41:24 +08:00
Debao Zhang f2060da8f5 Update README 2013-12-24 17:30:13 +08:00
Debao Zhang a26365ca44 Update to 0.2.1 2013-12-24 16:52:59 +08:00
Debao Zhang 9435a7e9d1 Swap the position of applyFill and applyBorder
Follow the order used by Excel 2007
2013-12-24 16:10:44 +08:00
Debao Zhang 2ec533df7c Don't omit default attribute fontId/fillId/borderId 2013-12-24 16:02:57 +08:00
Debao Zhang ca33d5e1b4 Improve QColor <==> #AARRGGBB conversion 2013-12-24 15:19:29 +08:00
Debao Zhang cdb4646a0c Refactoring: Don't output the default "none" for dxfs fill 2013-12-24 14:21:10 +08:00
Debao Zhang f97bf1a1cd Output charset property of font if it exists 2013-12-24 11:18:14 +08:00
Debao Zhang 780ceef359 Code refactoring: Empty border styles
Excel prefer <border><left/><right/><top/><bottom/><diagonal/></border> to
<border/>
2013-12-24 10:56:24 +08:00
Debao Zhang e35b2abda9 Don't convert indexed color ==> rgb color
We can do the convertion when users try to access the colors if needed in
the future
2013-12-24 10:10:20 +08:00
Debao Zhang a8cde04d7a Code refacting: write fgColor before bgColor 2013-12-24 09:48:45 +08:00
Debao Zhang 9067bbfcb2 Fix Issue 14: Add all the <xf>s to the internal list 2013-12-24 09:05:09 +08:00
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 39483f77d7 Code refactor: Move DataValidation related xml code 2013-12-01 16:02:43 +08:00
Debao Zhang 231a980ca0 Code refactor 2013-11-30 16:37:36 +08:00
Debao Zhang f05a948923 XlsxColor refactor 2013-11-29 16:09:23 +08:00
Debao Zhang ee51e7b641 Format refactor: Don't store default properties
So that fontKey/fillKey/borderKey/formatKey will be unique for the same
formats
2013-11-29 16:07:24 +08:00
Debao Zhang dbafc54418 Remove qDebug statement 2013-11-29 15:17:04 +08:00
Debao Zhang 9d32599f2d Don't lost conditionalformatting data when edit an existing file 2013-11-29 13:23:56 +08:00
Debao Zhang b375444368 Make use of XlsxColor for ConditionalFormatting 2013-11-28 23:58:55 +08:00
Debao Zhang 88aaad9e02 Add new private class XlsxColor 2013-11-28 23:48:20 +08:00
Debao Zhang a84b996412 Add dataBar and colorScale write support 2013-11-28 13:59:58 +08:00
Debao Zhang c82cf47e2f Add basic conditional formatting writer support. 2013-11-28 00:39:23 +08:00
Debao Zhang 1b57b6f042 Use namespaceUri instead of qualifiedName 2013-11-26 16:27:52 +08:00
Debao Zhang 8e20f8b12e Format: Make some private memeber public 2013-11-26 10:55:59 +08:00
Debao Zhang 7513b6ce12 Add a warning message in all the private headers 2013-11-25 15:38:03 +08:00
Debao Zhang d45368e931 Remove the private class XmlStreamWriter and XmlStreamReader 2013-11-25 15:27:31 +08:00
Debao Zhang 630f7895be Don't depend on the "count" attribute
"count" is an optional attribute
2013-11-25 15:12:03 +08:00
Debao Zhang f89559eec1 Documentation: Add a note for macro XLSX_NO_LIB 2013-11-25 11:34:09 +08:00
Debao Zhang 2273a967a9 Add internal support for dxf format
test needed.
2013-11-24 00:50:44 +08:00
Debao Zhang 81316ecf6e Update documentation 2013-11-23 15:44:06 +08:00
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 e46abb9287 Update to Version 0.2.0 2013-11-22 16:38:26 +08:00
Debao Zhang 9c443c996d Code refactor: Only create FormatPrivate when needed. 2013-11-22 16:29:30 +08:00