Commit Graph

278 Commits

Author SHA1 Message Date
Debao Zhang 2301ab4b34 Fix examples compile error introduced by API change 2014-03-17 23:55:55 +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
Edwin van der Horst cafef771a2 Fixed review comments: Removed deprecated members. Replaced string arguments by CellRange. 2014-03-17 11:14:06 +01:00
Edwin van der Horst 7ee11a6c02 Fixed review comments. setRow/Column to WorksheetPrivate. Added deprecated methods warnings. 2014-03-15 11:46:38 +01:00
eho f841a9b119 Cleanup and added comments to new methods. 2014-03-14 11:23:19 +01:00
eho bbf3ffd79d Fixed a bug where row formatting was not saved when row contained no filled cells. 2014-03-14 11:23:11 +01:00
eho b19758e14f First version of improved setColumn and setRow API. 2014-03-14 11:23:04 +01:00
Debao Zhang 60f27c79a0 Make Format() constructed as fast as possible.
QMetaType::type("XlsxColor") is not fast.
2014-03-12 23:31:22 +08:00
Debao Zhang 1b554d4fea Code refactor, make use of benchmarks 2014-03-12 15:38:21 +08:00
Debao Zhang 36c42eb39b Make write string slightly fast 2014-03-10 16:36:17 +08:00
Debao Zhang 3c3269b30e Add assert for row==0 and col==0
As some users consider that (0, 0) is the first valid cell, so we give
a assert failure in debug mode for such cases.
2014-03-10 15:46:04 +08:00
Debao Zhang bd921dddf9 Refuse all the operations on row 0 or column 0
As row and column all start from 1 instead of 0
2014-03-06 17:28:59 +08:00
Debao Zhang 88b43033c3 Don't lost custom indexedColors when edit exist file 2014-03-06 10:54:52 +08:00
Debao Zhang 770c104b2b Don't affect the column settings when set row 2014-03-04 14:48:43 +08:00
Debao Zhang 2227d46386 Add new calendar example 2014-03-04 14:48:02 +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 f1f3b5f931 Chartsheet works now 2014-02-27 16:00:06 +08:00
Debao Zhang 34c645ed76 Introduce CreateFlag for all the ooxmlfile 2014-02-27 14:07:38 +08:00
Debao Zhang 12129cebdc Introduce new class Chartsheet, first step 2014-02-27 11:14:21 +08:00
Debao Zhang 272e0ca565 Class Refactoring 2014-02-26 17:30:21 +08:00
Debao Zhang 840d96a889 Refactoring: Rename OOXmlFile to AbstractOOXmlFile 2014-02-26 17:18:39 +08:00
Debao Zhang e76bed2ebc Eliminate some compile warnings 2014-02-26 14:38:25 +08:00
Debao Zhang 72edef1a97 Fix potential crash when current sheet is not Worksheet 2014-02-26 14:18:20 +08:00
Debao Zhang 71244645d0 API refactoring: write*() return boolean instead of integer 2014-02-26 13:47:22 +08:00
Debao Zhang ca0df02acb Don't generate externalReferences tags if non externalLinks exists 2014-02-26 13:16:38 +08:00
Debao Zhang aa885e4377 Don't lost externalLinks information when edit exists file 2014-02-26 11:42:57 +08:00
Debao Zhang 14edb0f001 Make relationships as a property of OOXmlFile 2014-02-26 10:49:28 +08:00
Debao Zhang 02e032152d Fix issue #27: Remove the broken XlsxSheetItemInfo
Which is wrongly used to get the sheetId for definedName
2014-02-26 09:56:31 +08:00
Debao Zhang 964c3980a3 Change API to support AbstractSheet 2014-02-25 15:31:16 +08:00
Debao Zhang e72853a33c Introduce new class AbstractSheet 2014-02-25 11:51:43 +08:00
Debao Zhang 115d69aac5 Fix issue #24: remove invalid characters in worksheet names 2014-02-18 11:11:23 +08:00
Debao Zhang 2876c6f167 Fix issue #25: eliminate [-Wmaybe-uninitialized] warnings reported by GCC 2014-02-18 09:27:41 +08:00
Debao Zhang c8bc61ffe6 Update documention 2014-01-20 11:18:53 +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 536f3926b2 Update documentation 2014-01-20 10:37:26 +08:00
Debao Zhang 28f3262e86 Code refactoring: Add more basic chart support 2014-01-19 21:51:57 +08:00
Debao Zhang 2f887f3fa8 Add basic support for Bar3D and Pie3D 2014-01-19 17:59:54 +08:00
Debao Zhang 361802d795 Fix [-Wreorder] warning under clang 2014-01-19 01:52:23 +08:00
Debao Zhang af0d7a1358 Code refactoring of Chart part 2014-01-19 01:38:50 +08:00
Debao Zhang 727b8b609f Try add very basic barChart support. 2014-01-18 15:19:46 +08:00
Debao Zhang 327fa0b9b3 Add very basic chart support 2014-01-17 16:10:00 +08:00
Debao Zhang c2fc9e4aa1 Code refactoring: Clean up 2014-01-16 15:18:33 +08:00
Debao Zhang 988e8ffc0e Add basic graphicFrame support
First step for chart support
2014-01-16 14:06:23 +08:00
Debao Zhang ff7dc79d94 Introduce new class OOXmlFile 2014-01-16 10:14:35 +08:00
Debao Zhang d582621cac Deprecate the old insertImage member of QXlsx::Document
We don't support offset / scale of image any more
2014-01-15 16:15:06 +08:00
Debao Zhang 4ca130f5b8 Update version to 0.3.0 2014-01-15 16:02:36 +08:00
Debao Zhang 24c26133b4 Code refactoring: Improve picture support
Don't lost picture information when edit existing .xlsx files
2014-01-15 15:57:51 +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 86046c48dc Code refactoring: Remove magic things for ContentTypes 2014-01-11 23:26:46 +08:00
Debao Zhang 945870596f Add load function for ContentTypes 2014-01-11 20:56:31 +08:00