Commit Graph

434 Commits

Author SHA1 Message Date
Harris acd76425c2
Handle multi row inline strings
The inline string struct is actually the same
as the shared strings struct, reuse it.

Note that Go version 1.10 is required.

Fixes #462
2019-08-09 08:12:08 -05:00
Harris e07581e980
Further improve read performance
Instead of re-encoding the full sheet to change the namespaces
in the encoded bytes, read the sheet again and do the byte
replacements there.

In this case, file access ends up being more performant than
marshaling the sheet back to XML.

In the SharedStrings test, ensure the strings are actually read.

Fix #439
2019-08-07 08:06:40 -05:00
xuri 3599b24c95
Merge pull request #459 from WuXu1995/master
Bugfix #454
2019-08-06 10:30:12 +08:00
WuXu1995 497ad8f4be
Bugfix #454 2019-08-06 10:00:10 +08:00
xuri 451e6e384a
Merge pull request #456 from mlh758/fix-439
Fix #439
2019-08-05 22:18:31 +08:00
Harris ac91ca0ded
Only parse xml once when reading
We were parsing the whole sheet twice since the
sheet reader already reads in all the rows.

getTotalRowsCols function is unused after these changes
so it has been deleted as well.

Closes #439
2019-08-05 08:50:45 -05:00
xuri cbe919fdf6
New feature: sparkline supported 2019-08-04 20:24:59 +08:00
xuri 1092009541
Fixed doc corruption when deleting all merged cells 2019-08-03 23:10:01 +08:00
xuri 9279c86d85
Add extensions URI of spreadsheetML 2019-07-31 23:53:49 +08:00
xuri b5f7d4a78e
Merge pull request #447 from dongkai16z/master
Fix #443
2019-07-26 09:21:25 +08:00
xuri da7001fcf1
Merge pull request #448 from Sustainedhhh/master
Fix #442
2019-07-25 23:06:54 +08:00
Sustainedhhh 0c9e5137e3
Fix #442 2019-07-25 20:31:21 +08:00
董凯 53e653f28e
Fix #443 2019-07-25 20:27:03 +08:00
xuri c1357ee58f
Fix invalid formula in data validation drop list 2019-07-22 22:36:44 +08:00
xuri 35e485756f
Resolve #217, new function add VBA project supported. 2019-07-21 12:56:36 +08:00
xuri 855c3605f6
Fix #437, recalculate offset for merged cells adjuster 2019-07-20 19:24:57 +08:00
xuri 4f469530de
Update docs 2019-07-17 19:25:41 +08:00
xuri 74c6112658
Fix #434, add missing comments 2019-07-15 09:13:55 +08:00
xuri 363a057345
Structure update #434
Add a missing element of the comment text elements
2019-07-14 13:13:10 +08:00
xuri 6962061200
add comments for SheetView parameters 2019-07-08 20:17:47 +08:00
Farmerx 821b90d1f0
# add: add Remarks for CalcChain c Attributes 2019-07-08 15:18:36 +08:00
xuri 14d490c83d
Add unit test for SetPageLayout 2019-07-07 00:17:15 +08:00
xuri e14d2febc8
Resolve #432, supplement the function of SetPageLayout
SetPageLayout support to set fit to width and height
2019-07-06 15:11:51 +08:00
xuri 4897276c68
Make fitToHeight tag omit empty 2019-07-05 23:15:39 +08:00
xuri e780aa27c8
Add unit test for GroupSheets and UngroupSheets 2019-07-04 16:15:20 +08:00
xuri 8b2d4cb697
New feature: group and ungroup sheets support
New functions `GroupSheets` and `UngroupSheets` added
Refactor sheet index calculation
2019-07-03 00:50:10 +08:00
xuri dc8210d4a7
Update GoDoc and typo fixed 2019-06-30 19:50:47 +08:00
xuri 54def7eaad
Add TIF, TIFF format images and more detailed error information when open the encrypted file 2019-06-27 21:58:14 +08:00
xuri 9f8623047d
Optimize code, fix golint issues 2019-06-20 00:00:40 +08:00
xuri e77c462d3f
Support to create bubble and 3D bubble chart 2019-06-19 00:01:18 +08:00
xuri a335be7e4e
New functions: SetDefinedName and GetDefinedName added 2019-06-18 23:07:44 +08:00
xuri 5cf1c05ed4
Add surface 3D, wireframe Surface 3D, contour, and wireframe contour chart support 2019-06-15 20:55:56 +08:00
xuri dc0869fde3
support to create cone, pyramid and cylinder series chart for column and bar types 2019-06-14 00:05:10 +08:00
xuri e124f6000a
Fix #425, handle empty font style format 2019-06-13 08:25:35 +08:00
xuri 821632cf89
Fix #424, refactor merged cells adjuster 2019-06-12 08:10:33 +08:00
xuri 46a3632ee0
Fix #422, avoid accent theme color index overflow 2019-06-09 09:53:02 +08:00
xuri 421f945f51
Fixed #418, #420, #421, init adjust calculation chain support
Update testing case
2019-06-08 00:00:55 +08:00
xuri 3997dee1f5
Fix #411, change font size to float type 2019-06-07 09:16:55 +08:00
xuri cff16fa811
- Supplemental worksheet struct fields and field order adjustment
- Testing case for set and get doc properties
- Update charts struct XML tags
2019-06-05 22:06:15 +08:00
xuri db99373b25
Resolve #415, init set and get doc properties support 2019-06-04 23:30:55 +08:00
xuri d038ca2e9c
Fix #413, make pivot cache ID not omit empty 2019-06-01 15:37:47 +08:00
xuri 6233757805
Merge pull request #391 from mlh758/390-change-default-font
Add the ability to change the default font
2019-05-24 09:48:14 +08:00
Harris b1c9884f6d Add the ability to change the default font
Closes #390
2019-05-23 17:01:30 -05:00
xuri f91f548614
Resolve #404, get sheet map by target rels. 2019-05-17 22:58:12 +08:00
xuri 7e77e14814
Resolve #397, support set style by columns 2019-05-16 13:36:50 +08:00
xuri 25763ba3e1
fixed #373, comments duplicate caused by inner counting errors 2019-05-11 09:46:20 +08:00
xuri 69b38ddcd6
Resolve #394, init set header and footer support 2019-05-05 16:25:57 +08:00
xuri 72701e89c7
Fix structs fields definition errors and keep double quotes in data validation formula 2019-05-04 00:10:11 +08:00
xuri 63e97ffc9a Remove Go 1.8 test in TravisCI 2019-05-03 02:11:53 +08:00
xuri b1f632d408 Resolve #393, upgrade Go module to v2 2019-05-02 15:57:47 +08:00