Commit Graph

991 Commits

Author SHA1 Message Date
xuri d383f0ae6e
ref #65: new formula function WORKDAY.INTL 2022-06-13 00:05:52 +08:00
Eng Zer Jun 6bcf5e4ede
refactor: replace strings.Replace with strings.ReplaceAll (#1250)
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-06-12 00:19:12 +08:00
xuri f5d3d59d8c
ref #65: new formula function EOMONTH 2022-06-11 14:08:21 +08:00
xuri 980fffa2b6
ref #65: new formula function EDATE 2022-06-10 00:10:22 +08:00
xuri 604a01bf6b
ref #65: new formula function WEEKNUM 2022-06-09 08:16:48 +08:00
xuri 8fde918d98
This update docs and tests for workbook encryption 2022-05-31 11:14:42 +08:00
xuri 7a6d5f5ebe
This initialized support for encryption workbook by password, ref #199
- Remove exported variable `ErrEncrypt`
2022-05-29 19:37:10 +08:00
dependabot[bot] 551b83afab
This update dependencies module and GitHub Action settings
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-26 13:01:49 +08:00
xuri 1c167b96a3
Improves the calculation engine, docs update, and adds the dependabot
- Initialize array formula support for the formula calculation engine
- Update example and unit test of `AddPivotTable`
- Update the supported hash algorithm of ProtectSheet
2022-05-26 00:15:28 +08:00
xuri afb2d27c90
This fix formula calculation accuracy issue and panic when set pane
- Fix `GROWTH` and `TREND` calculation accuracy issue
- Fix panic when add pane on empty sheet views worksheet
- New exported constants `MinFontSize`
2022-05-23 13:02:11 +08:00
xuri 63adac2589
make workbook open filed exception message clear
- New exported constant `ErrWorkbookPassword`
- Rename exported constant `ErrWorkbookExt` to `ErrWorkbookFileFormat`
2022-05-20 20:46:29 +08:00
xuri 8f16a76781
This fixes a part of staticcheck issues and updates the code of conduct
Update example for set cell hyperlinks with `HyperlinkOpts`
2022-05-18 23:15:24 +08:00
sceneq be5a4033c0
This closes #1229, rename ErrMaxFileNameLength to ErrMaxFilePathLength (#1230)
Co-authored-by: sceneq
2022-05-16 21:05:22 +08:00
xuri 19a0cf3cec
This closed #1163, fix set cell value with column and row style inherit issue 2022-05-15 15:38:40 +08:00
xuri c2311ce87d
This made library allowing insert WMF format image 2022-05-14 00:54:36 +08:00
xuri 0c3fd0223c
This closes #1225, allowing insert EMF format images 2022-05-13 01:03:40 +08:00
xuri eed431e0fc
This closes #1219, fixes cell value reading issue, improves performance, and 1904 date system support
- Fix incorrect cell data types casting results when number formatting
- Support set cell value on 1904 date system enabled, ref #1212
- Improve performance for set sheet row and the merging cells, fix performance impact when resolving #1129
2022-05-02 12:30:18 +08:00
xuri 773d4afa32
This closes #1217, support update cell hyperlink
Ref #1129, make `SetRowStyle` overwrite style of the cells
2022-05-01 12:28:36 +08:00
xuri 856ee57c40
This closes #1212, init support for 1900 or 1904 date system 2022-04-30 09:54:11 +08:00
xuri 0f93bd23c9
This closes #1213, fix get incorrect rich text value caused by missing cell type checking 2022-04-29 13:53:09 +08:00
xuri df91b34a3f
This closes #1211, improve the compatibility with invalid internal styles count 2022-04-28 15:33:25 +08:00
xuri 0f7a0c8f3b
Optimization formula calculation performance and update README card badge 2022-04-24 23:43:19 +08:00
xuri 81d9362b4f
ref #65, new formula function: CONVERT 2022-04-20 00:01:39 +08:00
xuri c2be30ce90
This closes #1203, supporting same field used for pivot table data and rows/cols 2022-04-19 20:54:05 +08:00
xuri 0b8965dba9
ref #65, initial formula functions: GROWTH and TREND 2022-04-17 23:49:37 +08:00
xuri 6fa950a4f8
ref #65, new formula functions: SKEW.P and SLOPE, remove no-required format default 2022-04-16 13:53:16 +08:00
David 5a279321bb
added macro functionality to shape (#1182) 2022-04-15 15:13:41 +08:00
xuri 66776730b6
ref #65, new formula functions: PEARSON and RSQ 2022-04-15 00:27:47 +08:00
xuri c0d341706d
ref #65, new formula functions: MINVERSE and MMULT 2022-04-14 00:08:26 +08:00
xuri 396cf99d45
ref #65, new formula functions: COVARIANCE.S and STDEVPA 2022-04-12 08:18:09 +08:00
xuri c1940c2a1e
This includes new formula functions support, dependencies upgrade, and bug fix
- Fix page setup fields parsing issue
- Go Modules dependencies upgrade
- Ref #65, CONFIDENCE.T and PHI
- Ref #1198, Fix the issue that the chart axis maximum and minimum didn't work when the value is 0
2022-04-11 00:04:00 +08:00
xuri 9b8f1a15e1
ref #65, new formula functions: MODE.MULT and MODE.SNGL 2022-04-07 08:16:55 +08:00
xuri 5bf4bce9d4
ref #65, #1196: fix the compatibility issue and added new formula function
- New formula functions: MODE and T.TEST
2022-04-06 00:03:22 +08:00
xuri 26174a2c43
This closes #1196, fix the compatibility issue and added new formula function
ref #65, new formula functions: TINV and TTEST
2022-04-05 00:03:46 +08:00
xuri ecbc6e2fde
ref #65, new formula functions: T.INV and T.INV.2T
- Typo fixed
2022-04-04 00:21:33 +08:00
xuri be8fc0a4c5
ref #65, new formula functions: T.DIST.2T and T.DIST.RT
- Update GitHub Action settings
2022-04-03 01:18:32 +08:00
xuri b8345731a4
ref #65, new formula functions: T.DIST and TDIST 2022-04-02 00:04:21 +08:00
xuri d9b5afc1ac
ref #65, new formula functions: NEGBINOM.DIST and NEGBINOMDIST 2022-04-01 00:09:36 +08:00
xuri 18c48d8291
ref #65, new formula functions: CHISQ.INV and CHISQ.INV.RT 2022-03-31 00:04:40 +08:00
xuri 29d63f6ae0
ref #65, new formula functions: HYPGEOM.DIST and HYPGEOMDIST 2022-03-30 00:01:38 +08:00
xuri 0030e800ca
ref #65, new formula functions: F.TEST and FTEST 2022-03-29 00:03:58 +08:00
xuri 46336bc788
ref #65, new formula functions: CHISQ.DIST.RT CHISQ.DIST and GAMMALN.PRECISE 2022-03-28 08:13:47 +08:00
xuri f8d763d0bd
ref #65, new formula functions: CHITEST and CHISQ.TEST 2022-03-27 11:53:45 +08:00
xuri 17141a9638
ref #65, new formula functions: F.DIST.RT and SERIESSUM 2022-03-26 11:15:04 +08:00
xuri 4affeacc45
ref #65, new formula functions: F.DIST and FDIST 2022-03-25 00:41:48 +08:00
xuri 8a335225c7
Format code, update documentation and remove exported variable `XMLHeaderByte` 2022-03-24 00:19:30 +08:00
xuri 139ee4c4b0
ref #65, new formula functions: AVERAGEIFS and SUMPRODUCT 2022-03-23 08:14:19 +08:00
xuri 797958210d
ref #65, new formula functions: CRITBINOM and SUMIFS 2022-03-22 00:03:29 +08:00
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