Commit Graph

269 Commits

Author SHA1 Message Date
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
Debao Zhang 73720f81a6 XlsxWidget example: Remove un-needed xlsx-private 2014-01-10 17:10:56 +08:00
Debao Zhang 413e5947c4 Code refactoring: rename one internal variable only 2014-01-10 11:46:52 +08:00
Debao Zhang 461f05281e Improve html rich text support
If contains only one text fragment with format, then it should be plain
text. And the format should be considered as Cell format
2014-01-10 10:31:28 +08:00
Debao Zhang 73a270d8c6 Add merge format API 2014-01-10 10:30:52 +08:00
Debao Zhang 2455ebb138 Add basic html rich text support 2014-01-09 23:48:44 +08:00
Debao Zhang 01c4c2e4f4 Export mergedCells API 2014-01-08 16:18:39 +08:00
Debao Zhang 4f3e8f92c1 SheetModel: Add more data role support 2014-01-08 14:56:23 +08:00
Debao Zhang dcd684e0b5 Format: Add QFont support 2014-01-08 14:54:35 +08:00
Debao Zhang 8b48dc5f56 Add a new example to show how to view and edit xlsx file with GUI 2014-01-08 13:36:34 +08:00