Commit Graph

226 Commits

Author SHA1 Message Date
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
Debao Zhang a7e2ee7430 Add new worksheet() API for Document class 2014-01-08 13:35:28 +08:00
Debao Zhang ea339b2c73 Code refactoring: relationships of workbook 2014-01-06 22:56:34 +08:00
Debao Zhang a49180906a Don't lost hyperlinks when edit an exist xlsx file 2014-01-06 16:44:40 +08:00
Debao Zhang 5ee9ab1995 Fix a silly bug 2014-01-06 16:42:45 +08:00
Debao Zhang d3cfd3a6c6 Code refactoring: rename private members of Worksheet 2014-01-06 14:58:13 +08:00
Debao Zhang fd7e8d84f7 Add const to the saveAs* members, step 2 2014-01-06 14:16:51 +08:00
Debao Zhang f92e34f374 Code refactoring: Remove private class QXlsx::Package 2014-01-06 14:10:31 +08:00
Debao Zhang d1818c7fd1 Code refactoring: Clean up code of QXlsx::Package
We should merge the class Package with the class Document
2014-01-06 11:32:20 +08:00
Debao Zhang bf951872c7 Relations: Fix unit test
Introduced by SHA: 45a86accee
2014-01-06 10:39:18 +08:00
Debao Zhang 1ca891cf8a Add const to the saveAs* members, step 1 2014-01-06 10:11:00 +08:00
Debao Zhang 643dbfd63a Don't generate .rel file for worksheet if its RelationShips is empty 2014-01-06 09:33:14 +08:00
Debao Zhang 609a94a56b Fix variable uninitialized warning under macos/clang
warning: variable 't' is used uninitialized whenever 'if' condition is false
[-Wsometimes-uninitialized]
2014-01-04 23:44:30 +08:00
Debao Zhang 9fefc2c5b2 Fix compile error under maxos 2014-01-04 22:37:12 +08:00
Debao Zhang 336a9ff1a9 Coding refactoring: Make worksheet relations part of the worksheet
sheet1.xml
_rels/sheet1.xml.rels
2014-01-04 17:29:42 +08:00
Debao Zhang 45a86accee Relationships code refactoring: Don't use static member 2014-01-04 16:06:15 +08:00
Debao Zhang 6d6dfd4edc Code refactoring: add saveToXmlData() to Theme 2014-01-04 14:36:27 +08:00
Debao Zhang 11d78e8221 Issue 17: Don't used int limit any more
Using two normal integer is enough. As the value of col_num between
1 and XLSX_COLUMN_MAX.
2014-01-03 17:08:14 +08:00
Debao Zhang 5476d0be80 Update copyright year in license header 2014-01-03 17:00:24 +08:00
Debao Zhang 4097a89c86 Update version to 0.2.2 2014-01-03 11:34:24 +08:00
Debao Zhang f14b38ffe4 Issue 17: Using std::numeric_limits instead of macros INTn_MAX/MIN 2014-01-02 17:27:22 +08:00
Debao Zhang c6e959291c Code refactoring: Cache worksheetNames 2014-01-02 13:31:29 +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 82c77b4bed Improve worksheets support 2014-01-01 15:18:07 +08:00
Debao Zhang f83fb45740 Improve the QDate support 2013-12-31 15:51:56 +08:00
Debao Zhang d9d2c261bf Merge branch 'master' into dev 2013-12-31 14:00:55 +08:00
Debao Zhang 54201b44c1 Improve formula example 2013-12-31 14:00:36 +08:00
luckyhacky 00ad00fef4 corrected case sensitivity for linux systems, doesn't affect windows building 2013-12-28 17:41:31 +01:00
Debao Zhang 513ebc2142 Update examples 2013-12-27 16:43:10 +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 3a5c844386 Add qDebug support for XlsxColor 2013-12-25 11:32:01 +08:00
Debao Zhang 28d8de76ec Fix bug: Don't wrap normal code with #if/#endif 2013-12-25 09:41:24 +08: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