Commit Graph

993 Commits

Author SHA1 Message Date
xuri 067c5d5643
This closes #1185, fix formula function calculation result precision issue on arm64
* New formula functions: BINOM.DIST.RANGE and BINOM.INV
* Fix complex number calculation result precision issue
2022-03-21 00:02:42 +08:00
xuri 49424b0eb3
ref #65, #1185, new formula functions and precision improvement
* New formula functions: BETA.DIST, BINOMDIST and BINOM
* Fix a part of formula function calculation result precision issue on arm64
2022-03-20 00:16:32 +08:00
xuri 94f197c4fe
This improved formula calculate precision and added zero placeholder number format support 2022-03-19 00:05:47 +08:00
xuri 14b461420f
This fix scientific notation and page setup fields parsing issue 2022-03-18 00:52:10 +08:00
xuri 1da129a3df ref #65, new formula functions: CHIINV and BETADIST 2022-03-17 03:13:07 +00:00
xuri c3424a9a0f
ref #65, new formula functions: LOGNORM.DIST and LOGNORMDIST 2022-03-16 00:19:29 +08:00
xuri 4220bf4327
ref #65, new formula functions: LOGNORM.INV and LOGINV
* Update docs for the function `SetCellHyperLink`
2022-03-15 00:05:02 +08:00
xuri e1d660dda7
ref #65, new formula functions: GAMMA.INV and GAMMAINV and format code 2022-03-12 00:45:27 +08:00
xuri 361611c23a
ref #65, new formula functions: GAMMA.DIST and GAMMADIST 2022-03-11 00:07:30 +08:00
xuri aee7bdd3a0
ref #65, new formula functions: F.INV and GAUSS 2022-03-10 00:05:20 +08:00
longphee 74b1a998d6
This closes #1172, support set hole size for doughnut (#1173) 2022-03-09 12:34:48 +08:00
xuri 56aa6b8263
ref #65, new formula functions and read boolean data type cell value support
* added 3 new formula functions: BETAINV, BETA.INV, F.INV.RT
2022-03-08 00:03:02 +08:00
xuri 61eb265c29
This closes #1171, improve the compatibility and added new formula function
ref #65, added new formula function: FINV
2022-03-07 00:07:03 +08:00
xuri 354d1696d8
ref #65, new formula functions: CORREL, SUMX2MY2, SUMX2PY2, and SUMXMY2 2022-03-06 00:29:33 +08:00
xuri f0cb29cf66
This closes #1162, improve the compatibility with alternate content
Preserve alternate content in the workbook, worksheet, and drawingML
2022-03-05 14:48:34 +08:00
xuri 129052ae7d
This closes #1164, fix nested formula calculation result error 2022-03-04 00:44:50 +08:00
xuri 3971e8a48b
ref #65, new formula functions: COVAR, COVARIANCE.P, EXPON.DIST and EXPONDIST 2022-03-02 00:05:37 +08:00
xuri 1efa283887
ref #65, new formula functions FORMULATEXT and TYPE 2022-03-01 00:10:59 +08:00
xuri 42a9665aa9
ref #65: formula function INDIRECT support and formula engine improvement
Support calculation with the none parameter formula function after infix operator notation
2022-02-28 01:01:24 +08:00
xuri 471c8f22d0
This closes #1160, and added 4 new formula functions
* Fix show sheet tabs issue
* Ref #65, new formula functions: ERROR.TYPE, HOUR, SECOND TIMEVALUE
2022-02-26 21:32:57 +08:00
xuri 92764195dc
This improvement number format support
* Local month name and AM/PM format support Tibetan and Traditional Mongolian
* Support text place holder
2022-02-25 22:24:20 +08:00
wangxuliBY 3231817169
This fixed code review issue in PR #1154 (#1159) 2022-02-25 21:37:49 +08:00
xuri e84130e55c
Improvement local month name and AM/PM format support in number format
* Support for the Vietnamese, Wolof and Xhosa
2022-02-23 22:42:07 +08:00
xuri 8a6815fccc
Improvement local month name and AM/PM format support in number format
* Support for the Irish, Russian, Spanish, Thai, Turkish, Welsh, Yi, and Zulu
2022-02-22 08:22:18 +08:00
xuri 07be993631
Fixed parsing decimal precision issue 2022-02-18 00:02:39 +08:00
xuri f87c39c41d
This closes #1148, resolve limitations when adding VBA project to the workbook
Added two exported functions `SetWorkbookPrOptions` and `GetWorkbookPrOptions` to support setting and getting the code name property of the workbook
Re-order fields of the workbook properties group to improve the compatibility
Go Modules dependencies upgrade
Put workbook related operating in new `workbook.go` source code
Library introduction docs block updated
2022-02-17 00:09:11 +08:00
xuri ad09698515
Initialize local month name and AM/PM format support for number format 2022-02-14 00:05:47 +08:00
xuri 4b64b26c52
Ref: #660, #764, #1093, #1112, #1133 This improve number format support
- Introduced NFP (number format parser) dependencies module
- Initialize custom dates and times number format support
- Dependencies module upgraded
2022-02-13 00:06:30 +08:00
xuri 3f8f4f52e6
This closes #1139, `SetCellDefault` support non-numeric value
- Add default value on getting `View` property of sheet views
- Add examples and unit test for set sheet views
- Re-order field on sheet view options
- Fix incorrect build-in number format: 42
- Simplify code for the `stylesReader` function
2022-02-08 00:08:06 +08:00
David 0f1fcb78d5
Support workbook views Showruler settings (#1138) 2022-02-06 21:52:28 +08:00
David 862dc9dc13
Support workbook views settings (#1136) 2022-02-04 13:45:42 +08:00
xuri 156bf6d16e
This closes #1129, make cell support inheritance columns/rows style
Correct cells style in merge range
Fix incorrect style ID returned on getting cell style in some cases
Unit test updated and simplified code
2022-01-27 22:37:32 +08:00
xuri 3ee3c38f9c
Fix file corrupted in some cases, check file extension and format code
Fix file corrupted when save as in XLAM / XLSM / XLTM / XLTX extension in some case
New exported error ErrWorkbookExt has been added, and check file extension on save the workbook
Format source code with `gofumpt`
2022-01-23 00:48:26 +08:00
xuri 74f6ea94ea
ref #1054, breaking change for the column and row's iterator
This removed 3 exported functions: `TotalCols`, `CurrentCol` and `CurrentRow`
2022-01-19 00:51:09 +08:00
xuri 4daa6ed0b4
Breaking change: remove `TotalRows` of row iterator and performance optimization
Reduce allocation memory 20%, and 80% GC times for the row's iterator
2022-01-17 08:05:52 +08:00
xuri 50c4dedf8d This closes #1122, improve compatibility with LibreOffice
Fixed the issue auto filter doesn't work on LibreOffice if the sheet name has spaces
2022-01-16 14:28:35 +08:00
xuri 236ee61d20
This closes #1119, style parsing issue fixed 2022-01-15 00:06:34 +08:00
Dokiy 67127883dd
Fix adjustMergeCells not modifies cell rect (#1118) 2022-01-14 00:28:31 +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 891e5baac1
ref #1096, reduce memory usage by about 50% for large data spreadsheet 2022-01-11 00:31:11 +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 9e64df6a96
Update create style example, using a pointer of the structure instead of JSON 2022-01-05 00:13:29 +08:00
xuri e37e060d6f
This closes #1107, stream writer will create a time number format for time type cells
Unit test coverage improved
2021-12-31 00:00:01 +08:00
vst c5990ea348
Preserve horizontal tab character when set the cell value (#1108) 2021-12-30 00:36:04 +08:00
xuri 89b85934f6
This closes #1096, memory usage optimization and another 4 changes
- Unzip shared string table to system temporary file when large inner XML, reduce memory usage about 70%
- Remove unnecessary exported variable `XMLHeader`, we can using `encoding/xml` package's `xml.Header` instead of it
- Using constant instead of inline text for default XML path
- Rename exported option field `WorksheetUnzipMemLimit` to `UnzipXMLSizeLimit`
- Unit test and documentation updated
2021-12-27 23:49:28 +08:00
xuri 6b1e592cbc
This closes #1095, support to set and get document application properties 2021-12-26 14:55:53 +08:00
xuri 089cd365a3
This closes #1097, initialized formula function XLOOKUP and update test 2021-12-25 21:51:09 +08:00
xuri 6051434bf8
ref #65, new formula functions MAXIFS and MINIFS 2021-12-19 13:36:24 +08:00
xuri 63fe422299
new formula function and update docs for formula functions
ref #65, new formula function: INDEX (array formula not support yet)
2021-12-17 00:08:56 +08:00