xuri
66d85dae13
init new formula function: VLOOKUP
2021-02-04 23:57:07 +08:00
xuri
1f329e8f96
This closes #774 , closes #775 and closes #776
...
- correct adjust calculation chain in duplicate rows
- correct adjust defined name in the workbook when delete worksheet
- use absolute reference in the auto filters defined name to make it compatible with OpenOffice
- API `CoordinatesToCellName` have a new optional param to specify if using an absolute reference format
- Fix cyclomatic complexity issue of internal function `newFills` and `parseToken`
2021-02-02 22:23:16 +08:00
xuri
db7b4ee362
update formula functions test
2021-02-01 00:07:51 +08:00
xuri
4ac32278ff
Fix hyperbolic cotangent calculation incorrect and unit test
2021-01-31 13:15:10 +08:00
xuri
76c72e0a30
Nested formula function support cell references as arguments
2021-01-31 01:28:40 +08:00
xuri
dd77cfe44c
refactor formula calculation framework, add new function CHOOSE, and update dependencies module
2021-01-30 00:11:01 +08:00
Eagle Xiang
219add2f0e
value fields xlsxPatternFill.FgColor & xlsxPatternFill.BgColor cause … ( #770 )
...
* value fields xlsxPatternFill.FgColor & xlsxPatternFill.BgColor cause ineffective omitempty tags
* remove useless omitempty tag on xlsxPatternFill.FgColor and xlsxPatternFill.BgColor
2021-01-28 21:13:23 +08:00
xuri
b84bd1abc0
new formula fn: IF, LEN; not equal operator support and faster numeric precision process
2021-01-27 13:51:47 +08:00
xuri
e568319bbc
Fixed #766 , change order, and added fields of workbook fields
2021-01-23 00:09:13 +08:00
Ray
58ecf81630
Update excelize.go ( #765 )
...
miss a char as 'l' in the excel.
2021-01-20 14:40:33 +08:00
xuri
1bc5302007
Fixed #764 , add a condition for round precision
2021-01-20 00:14:21 +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
a26675517e
This closes #756 , not set the empty string for the cell when SetCellValue with nil
2021-01-08 23:57:13 +08:00
龚尚
22dc6ff33c
Update the tips message for Go modules user
2021-01-05 13:41:00 +08:00
xuri
71829c5202
AddChart support disable legend of the chart
2020-12-27 00:18:54 +08:00
xuri
576bfffbe6
This closes #752 , fix incorrectly merged cells on duplicate row, and new formula function: LOWER, PROPER, UPPER
2020-12-22 01:48:52 +00:00
xuri
77978ac68d
This closes #657 and closes #748 , AddChart support custom marker symbol and symbol size, fix AddPicture auto fit failure with multi merged cells
2020-12-14 20:56:51 +08:00
Zhang Zhipeng
ad79505173
new formula func CLEAN and TRIM, change import path to v2 ( #747 )
2020-12-14 09:56:42 +08:00
Artem Kustikov
61057c58d3
Number format read fix ( #741 )
...
* fix UT-generated file names to be ignored
* fix cell value load with invalid number format ID
* fix PR issues
2020-12-12 16:17:00 +08:00
jacentsao
95d8920c8e
support range validation for decimal ( #739 )
...
Co-authored-by: jacen_cao <jacentsao@kingdee.com>
2020-12-10 13:37:34 +08:00
xuri
13e0ed2a69
Fixed #735 , refresh active tab after delete sheet
2020-11-23 00:01:06 +08:00
xuri
599a8cb0bc
Fixed #727 , rounding numeric with precision for formula calculation
2020-11-19 21:38:35 +08:00
xuri
92c8626f81
Fixed #732 , support single line with repeated row element in the sheet data
2020-11-18 22:08:40 +08:00
Eugene Androsov
2be4bfd410
Fix row duplicate mechanism ( #729 )
2020-11-15 10:58:45 +08:00
xuri
2514bb16c6
Fix #724 , standardize variable naming and update unit tests
2020-11-11 01:03:56 +08:00
xuri
5dd0b4aec2
using POSIX directory separator in zip path with Windows
2020-11-06 20:03:13 +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
9d470bb38f
Update conversion between integer types and unit tests
2020-10-23 00:01:52 +08:00
xuri
b812e9a1a8
New formula function AND ( #701 ) and update doc for the NewSheet ( #714 )
2020-10-22 08:29:25 +08:00
xuri
4834a058aa
This closes #714 and closes #715 , fix wrong worksheet index returned by NewSheet in some case, fix panic on formatted value with no built-in number format ID
2020-10-19 23:55:54 +08:00
xuri
520aa679f3
Fix #706 , #713 improve AddPicture performance, fix missing worksheet when rename with same names
2020-10-18 00:01:33 +08:00
xuri
02530e8c8a
Fix #701 , init new formula function AND and OR, prevent formula lexer panic on retrieving the top token type
2020-10-17 01:18:22 +08:00
xuri
ac3dce0bea
- Resolve #711 , update docs for the GetSheetIndex
...
- Update unit test
2020-10-12 00:05:27 +08:00
xuri
d1926675f8
- Resolve #627 , improve multi-series line chart compatibility with KingSoft WPS
...
- Avoid to create duplicate style
- Update unit test for the auto filter
- Init code scanning alerts
2020-10-11 00:15:04 +08:00
Lijingfeng
93160287bb
Optimize memory usage when stream flush and save ( #659 )
...
* use io.Copy from stream temp file to zip Writer
* fix nil
* log
* build
* delete log
* fix compatibility for office
* Update go module
Co-authored-by: lijingfeng <lijingfeng@laiye.com>
Co-authored-by: xuri <xuri.me@gmail.com>
2020-10-05 22:17:11 +08:00
Artem Kustikov
f2b8798a34
extend cell value load to support custom datetime format ( #703 )
...
* extend cell value load to support custom datetime format
* cleanup incorrect imports
* fix numeric values conversion as done in legacy Excel
* fix tests coverage
* revert temporary package name fix
* remove personal info from test XLSX files
* remove unused dependencies
* update format conversion in parseTime
* new UT to increase code coverage
* Resolve code review issue for PR #703
* Rename broken file name generated by unit test
Co-authored-by: xuri <xuri.me@gmail.com>
2020-10-04 21:07:39 +08:00
xuri
9055a835a8
Merge pull request #710 from lbraconnier2/Pivot-failed-in-case-of-multi-columns-and-multi-data
...
fix pivot fails in case of multi columns and multi data
2020-10-01 19:04:19 +08:00
Ludovic Braconnier
2bd359bd01
fix pivot fails in case of multi columns and multi data
2020-09-30 18:20:11 +02:00
jinhyuk-kim-ca
c492220237
Pivot table generation fails when no Columns and multiple Data are provided. ( #708 )
...
fix to create pivot table in case there is no input from Columns
Co-authored-by: Jin Kim <jinhyuk.kim@cerence.com>
Co-authored-by: xuri <xuri.me@gmail.com>
2020-09-27 13:34:39 +08:00
xuri
89465f41b5
Update dependency package version and docs for the OpenFile
2020-09-22 22:29:43 +08:00
xuri
324f87bcae
add checking and limits for the worksheet
2020-09-18 22:20:58 +08:00
xuri
96917e4617
Update docs and test case for the pivot table
2020-09-15 23:31:24 +08:00
Eugene Androsov
97bffe608d
Extend pivot table funtionality ( #692 )
...
Add different pivot options
Add header options to pivot table opts
Add Style name options to pivot table opts
2020-09-11 00:45:52 +08:00
xuri
01afc6e03f
init ECMA-376 agile encryption support
2020-09-06 19:32:00 +08:00
xuri
1111de2fdb
improve compatibility for phonetic hint and sheet tab color
2020-09-03 23:44:43 +08:00
xuri
98f1a69903
support ECMA-376 document standard encryption, ref #199
2020-09-02 23:14:19 +08:00
xuri
4177c1585e
Resolve #199 , init password protection spreadsheet support
2020-09-01 00:47:44 +08:00