Commit Graph

78 Commits

Author SHA1 Message Date
Debao Zhang e037c24a69 Introduce new class CellReference 2014-03-18 23:52:17 +08:00
Debao Zhang 9ce8b92b4f Issue #32: Merge branch 'master' of github.com:EddoH/QtXlsxWriter into EddoH
Conflicts:
	src/xlsx/xlsxworksheet.cpp
	src/xlsx/xlsxworksheet_p.h
2014-03-17 23:51:53 +08:00
eho b19758e14f First version of improved setColumn and setRow API. 2014-03-14 11:23:04 +01:00
Debao Zhang 1b554d4fea Code refactor, make use of benchmarks 2014-03-12 15:38:21 +08:00
Debao Zhang a1e53218bb Don't create the default "Sheet1" worksheet
Unless the user want to access it, or the user want to save an empty
workbook.
2014-02-27 16:21:57 +08:00
Debao Zhang 34c645ed76 Introduce CreateFlag for all the ooxmlfile 2014-02-27 14:07:38 +08:00
Debao Zhang 964c3980a3 Change API to support AbstractSheet 2014-02-25 15:31:16 +08:00
Debao Zhang 115d69aac5 Fix issue #24: remove invalid characters in worksheet names 2014-02-18 11:11:23 +08:00
Debao Zhang a0624bb36a Merge branch 'master' into dev
Conflicts:
	src/xlsx/xlsxworksheet.cpp
2014-01-20 10:50:11 +08:00
Debao Zhang ff7dc79d94 Introduce new class OOXmlFile 2014-01-16 10:14:35 +08:00
Debao Zhang e2752e4da8 Don't do too smart thing for Worksheet::write()
Implictly convert QString to other types is danger. Such as
QVariant("12345").toTime() will generate a valid QTime Object.
2014-01-14 10:24:03 +08:00
Debao Zhang d3cfd3a6c6 Code refactoring: rename private members of Worksheet 2014-01-06 14:58:13 +08:00
Debao Zhang bf951872c7 Relations: Fix unit test
Introduced by SHA: 45a86accee
2014-01-06 10:39:18 +08:00
Debao Zhang 5476d0be80 Update copyright year in license header 2014-01-03 17:00:24 +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 f83fb45740 Improve the QDate support 2013-12-31 15:51:56 +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 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 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 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 d45368e931 Remove the private class XmlStreamWriter and XmlStreamReader 2013-11-25 15:27:31 +08:00
Debao Zhang 2273a967a9 Add internal support for dxf format
test needed.
2013-11-24 00:50:44 +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 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