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
xuri
c0ac3165bd
ref #65 : new formula function COUNTIFS
2021-12-14 00:38:16 +08:00
xuri
3371933494
ref #65 : new formula functions: AVERAGEIF and COUNTIF
2021-12-13 00:02:25 +08:00
xuri
76aacfda0b
ref #65 : new formula function: SHEETS, and fix SHEET function count issue
2021-12-12 00:07:01 +08:00
jaby
b33e39369a
This closes #1090 ( #1092 )
...
Keep track of operators per function
2021-12-10 16:48:02 +08:00
xuri
1b3040659d
ref #65 : new formula functions: ISFORMULA, ISLOGICAL and ISREF
2021-12-09 20:16:12 +08:00
jaby
5bf35f8c1c
This closes #1088 ( #1089 )
...
Support check string equality with the string value of a defined name
2021-12-09 09:40:11 +08:00
xuri
44a13aa402
Export 7 errors so users can act differently on different type of errors
2021-12-07 00:26:53 +08:00
Dokiy
3325c3946d
Fix adjustMergeCellsHelper and add some test cases ( #1082 )
...
Signed-off-by: Dokiys <dokiychang@gmail.com>
2021-12-06 22:37:25 +08:00
xuri
7af55a5455
ref #65 : new formula function ODDFPRICE
2021-12-06 08:16:32 +08:00
xuri
e0c6fa1beb
Update docs for SetSheetStyle, and added 2 formula functions
...
ref #65 : new formula functions DURATION and MDURATION
fix incorrect example in SetSheetStyle docs
2021-12-04 13:11:01 +08:00
xuri
577a07f08c
Simplify code and update unit test
...
Improve unit test coverage for the functions: `NewStyle`, `SetActiveSheet`, `SearchSheet` and `deleteAndAdjustDefinedNames`
Simplify code and add comments for the function: `deleteAndAdjustDefinedNames`
2021-12-03 00:19:11 +08:00
Michael Wiesenbauer
aa359f1c74
refactor DeleteSheet for better readability ( #1078 )
...
Signed-off-by: Michael Wiesenbauer <michael.wiesenbauer@ambos.io>
Co-authored-by: Michael Wiesenbauer <michael.wiesenbauer@fau.de>
2021-12-02 22:14:57 +08:00
xuri
4ca1b305fe
Merge pull request #1077 from Dokiys/hotfix/get_num_fmt_id
...
Fix call getNumFmtID with builtInNumFmt return -1
2021-12-02 00:48:20 +08:00
Dokiy
45a1f08a2a
Fix call getNumFmtID with builtInNumFmt return -1
2021-12-01 19:11:51 +08:00
xuri
bb0eb4a42b
This closes #1075 , reload temporary files into memory on save
2021-12-01 00:10:31 +08:00