xuri
236ee61d20
This closes #1119 , style parsing issue fixed
2022-01-15 00:06:34 +08:00
xuri
b96329cc88
Breaking change for data validation and fixed #1117
...
- Remove second useless parameter `isCurrentSheet` of the function `SetSqrefDropList`
- Fix missing page setup of worksheet after re-saving the spreadsheet
2022-01-12 00:18:15 +08:00
xuri
2245fccca0
Typo fix, rename exported constants, dependencies modules and copyright update
...
Rename exported constants `NameSpaceDublinCoreMetadataIntiative` to `NameSpaceDublinCoreMetadataInitiative`
2022-01-09 00:20:42 +08:00
Jonham.Chen
af5c4d00e8
feat: implement SHA-512 algorithm to ProtectSheet ( #1115 )
2022-01-08 10:32:13 +08:00
xuri
32b23ef42d
This closes #998
...
- Support text comparison in the formula, also ref #65
- `GetCellValue`, `GetRows`, `GetCols`, `Rows` and `Cols` support to specify read cell with raw value, ref #621
- Add missing properties for the cell formula
- Update the unit test for the `CalcCellValue`
2021-09-05 11:59:50 +08:00
xuri
2616aa88cb
Add set shared formula support and documentation for the `SetCellFormula`
2021-09-03 22:51:56 +08:00
three
f6f14f507e
Speed up merge cells
2021-08-13 01:32:44 +08:00
Arnie97
7ac37edfeb
Fix data validation issues ( #975 )
...
* Fix `SetDropList` to allow XML special characters
* This closes #971 , allow quotation marks in SetDropList()
This patch included a XML entity mapping table instead of
xml.EscapeText() to be fully compatible with Microsoft Excel.
* This closes #972 , allow more than 255 bytes of validation formulas
This patch changed the string length calculation unit of data
validation formulas from UTF-8 bytes to UTF-16 code units.
* Add unit tests for SetDropList()
* Fix: allow MaxFloat64 to be used in validation range
17 decimal significant digits should be more than enough to represent
every IEEE-754 double-precision float number without losing precision,
and numbers in this form will never reach the Excel limitation of 255
UTF-16 code units.
2021-07-31 00:31:51 +08:00
xuri
7dbf88f221
This closes #971 , closes #972 and closes #974
...
- Escape XML character in the drop list
- Fix incorrect character count limit in the drop list
- Fix Excel time parse issue in some case
- Fix custom number format month parse issue in some case
- Fix corrupted file generated caused by concurrency adding pictures
2021-07-29 00:03:57 +08:00
xuri
5ce3fe8cb8
Improvement compatibility with invalid first-page number attribute in the page layout
2021-07-21 23:24:49 +08:00
xuri
ec0ca8ba50
This closes #883 , fix missing pivot attribute of conditional formatting
2021-07-16 00:00:50 +08:00
william
2f74ec171d
fix the bug when there was no count attribute in sharedStrings file
2021-05-24 15:27:36 +08:00
xuri
0e0237e62d
compatibility with non-standard page setup attributes
2021-05-07 23:08:58 +08:00
xuri
f8f699a172
Go 1.15 and later required, #65 fn: IMABS, IMCOS, IMCOSH, IMCOT, IMCSC, IMCSCH, IMEXP, IMLN and IMLOG10
2021-04-04 15:29:43 +08:00
xuri
2af96c0714
#65 fn: N, PERCENTILE.INC and T
...
typo fixed
2021-03-30 23:02:22 +08:00
James Allen
a12dfd3ce6
Add support for setting hyperlink display & tooltip ( closes #790 ) ( #794 )
2021-03-03 20:30:31 +08:00
xuri
b260485f29
support to set print black and white and specified the first printed page number
2021-01-17 01:06:08 +08:00
xuri
054bb9f061
Support to adjust print scaling of the worksheet
2021-01-16 21:51:23 +08:00
xuri
cdc57db3b3
Fix race conditions
2020-11-04 01:24:26 +00:00
xuri
c82a185af8
Compatibility improvement: parse document core part (workbook) dynamically
2020-11-04 00:28:20 +08:00
Ted
fcca8a3838
optimize memory allocation ( #722 )
...
* optimize marshal
* optimize mem alloc
* add benchmark testing
* add NewSheetWithRowNum testing
* sync struct fields order
* add BenchmarkNewSheetWithStreamWriter
* delete NewSheetWithRowNum and benchmark test
2020-11-03 17:48:37 +08:00
xuri
1111de2fdb
improve compatibility for phonetic hint and sheet tab color
2020-09-03 23:44:43 +08:00
xuri
4e4baac3bc
using Mutex lock and update benchmark
2020-08-16 03:48:11 +00:00
xuri
c3e92a51d7
Compatible with Go 1.15, fix unit test failed on Windows and fixed #689 potential race condition
2020-08-15 09:19:35 +00:00
xuri
0aa1510694
update docs and improve compatibility
2020-07-11 02:31:02 +08:00
xuri
15fd56853f
Update docs and typo fixed
2020-06-22 00:14:56 +08:00
xuri
6afc468a02
Resolve #451 , support create chart sheet
2020-03-28 23:47:26 +08:00
xuri
1d87da57ec
Resolve #492 , init support for insert and remove page break
2020-03-01 00:34:41 +08:00
xuri
52f1eee7c4
Fix #578 , escape character in the formula
2020-02-15 16:34:47 +08:00
xuri
e51aff2d95
Resolve #570 , flat columns for the column's operation
2020-02-07 00:53:38 +08:00
xuri
09485b3f9f
Improve code coverage unit tests
2019-12-29 16:02:31 +08:00
xuri
8b960ee1e6
Fix #547 and #546 , add default overlay element for the chart
2019-12-28 15:05:44 +08:00
xuri
4e4a5b9b3e
Improve compatibility, fix workbook's rels ID calc error
2019-12-23 00:07:40 +08:00
xuri
ae2865d923
Improve code coverage unit tests
2019-12-22 00:02:09 +08:00
match-meng
7358dca436
Update comments for the xmlNewDecoder ( #542 )
2019-12-20 22:22:56 +08:00
xuri
a526e90404
Fix #426 , handle empty workbook view
2019-12-16 08:32:04 +08:00
xuri
da0d2ffbb6
Fix #533 , add support overlapped mergecells
2019-12-14 19:57:37 +08:00
xuri
08d1a86c3a
Fix #523 , add stream writer for generate new worksheet with huge amounts of data
2019-12-10 00:16:17 +08:00
xuri
8d6e431dcd
Resolve #521 , fix missing elements when parsing
2019-11-28 21:53:50 +08:00
Harris
bf9a835549
Reduce allocations when writing
...
Fix #494
If a row is full, don't bother allocating a new one, just return it.
Use the last populated row as a hint for the size of new rows.
Simplify checkSheet to remove row map
2019-11-05 08:18:11 -06:00
streboryaj
2d21b5b50f
Added accessors for Getting/Setting Page Margins ( #497 )
...
* Added accessors for Getting/Setting Page Margins
* Added test cases
2019-10-15 22:26:08 +08:00
jaby
babfeb6b57
Add missing ShowZeros SheetViewOption implementation
2019-09-30 14:39:30 +02:00
xuri
a34d3b8c86
Compatibility improvement
2019-09-24 21:53:19 +08:00
xuri
eef232f09e
Fix #483 , adjust the order of fields in the structure
2019-09-18 00:47:31 +08:00
xuri
9c70d0ac86
Documentation updated, Go 1.10+ required
2019-08-11 00:36:14 +08:00
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
WuXu1995
497ad8f4be
Bugfix #454
2019-08-06 10:00:10 +08:00
xuri
cbe919fdf6
New feature: sparkline supported
2019-08-04 20:24:59 +08:00
xuri
4897276c68
Make fitToHeight tag omit empty
2019-07-05 23:15:39 +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