Commit Graph

174 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 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
Debao Zhang c80fcf00c5 Fix compile error under clang 2013-11-05 19:59:31 +08:00
Debao Zhang 8d1b109605 Add ArrayFormula support 2013-11-05 17:28:21 +08:00
Debao Zhang cc6bdf0105 Update version to 0.1.0 2013-11-05 14:05:37 +08:00
Debao Zhang f3e59183a9 Remove the readwrite example 2013-11-05 13:59:56 +08:00
Debao Zhang e369d98275 Update documentation 2013-11-05 13:57:26 +08:00
Debao Zhang 9263894eed Add a new example 2013-11-05 13:34:10 +08:00
Debao Zhang fa83c2d005 Add some overload members 2013-11-05 12:47:00 +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 9b0eb98048 Don't lost theme colors when edit exist .xlxs files 2013-11-04 11:53:04 +08:00
Debao Zhang af4de1afdb Remove unused colorIndexed member.
As all the indexed colors will be converted to rgb in the library when
reads an existing .xlsx file.

When write a .xlsx file, we never write indexed color.
2013-11-04 10:58:17 +08:00