Commit Graph

186 Commits

Author SHA1 Message Date
luckyhacky 00ad00fef4 corrected case sensitivity for linux systems, doesn't affect windows building 2013-12-28 17:41:31 +01: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
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 3e6e95be87 Code refactor: Remove private class XlsxFormatAlignmentData and
XlsxFormatProtectionData
2013-11-21 16:57:19 +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 4bcce58f00 Code refactor: Make use of QSharedDataPointer for Format 2013-11-19 15:10:51 +08:00
Debao Zhang b2c7e554b3 Code refactor: Add prefix "XlsxFormat" to some internal class 2013-11-19 11:43:09 +08:00
Debao Zhang 04934a8543 Don't lost rich text information 2013-11-18 16:58:38 +08:00
Debao Zhang 6c4c0d847d Issue 9: Update README file 2013-11-18 13:20:20 +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 b3b9cb7b05 Update the demo images 2013-11-06 09:26:18 +08:00