xuri
fb1aab7add
This closes #744 , the `Save`, `Write` and `WriteTo` function accept saving options
2022-09-08 22:20:21 +08:00
xuri
75ce231728
This closes #1323 , an error will be returned when set the not exist style ID
2022-09-01 00:41:52 +08:00
davidborry
bef49e40ee
This closes #1330 update non existing sheet error messages ( #1331 )
2022-08-28 00:16:41 +08:00
chenliu1993
f8667386dc
This closes #827 , add new functions `GetDataValidations` and `GetConditionalFormats` ( #1315 )
...
Signed-off-by: chenliu1993 <13630583107@163.com>
2022-08-27 00:45:46 +08:00
Cooper de Nicola
0e9378fec2
This closes #1247 , add new function `SetSheetCol` for set worksheet column values ( #1320 )
...
Signed-off-by: cdenicola <cooper.denicola@instabase.com>
Co-authored-by: cdenicola <cooper.denicola@instabase.com>
2022-08-25 09:34:29 +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
sceneq
be5a4033c0
This closes #1229 , rename ErrMaxFileNameLength to ErrMaxFilePathLength ( #1230 )
...
Co-authored-by: sceneq
2022-05-16 21:05:22 +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
8a335225c7
Format code, update documentation and remove exported variable `XMLHeaderByte`
2022-03-24 00:19:30 +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
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
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
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
089cd365a3
This closes #1097 , initialized formula function XLOOKUP and update test
2021-12-25 21:51:09 +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
xuri
790c363cce
This closes #833 , closes #845 , and closes #1022 , breaking changes
...
- Close spreadsheet and row's iterator required
- New options `WorksheetUnzipMemLimit` have been added
- Improve streaming reading performance, memory usage decrease about 93.7%
2021-09-19 11:06:54 +08:00
xuri
2616aa88cb
Add set shared formula support and documentation for the `SetCellFormula`
2021-09-03 22:51:56 +08:00
raochq
b02f864eab
This closes #844 , support get shared formula
2021-08-15 01:19:49 +08:00
xuri
48c16de8bf
Improve security and simplify code
...
- Make variable name more semantic
- Reduce cyclomatic complexities for the formula calculate function
- Support specified unzip size limit on open file options, avoid zip bombs vulnerability attack
- Typo fix for documentation and error message
2021-08-15 00:06:40 +08:00
xuri
e9ae9b45b2
change go module import path to github.com/xuri/excelize
2021-07-28 00:38:09 +08:00
xuri
2ced00d6a8
This closes #872 , support re-save the new spreadsheet after `SaveAs`
2021-07-09 00:04:58 +08:00
xuri
544ef18a8c
- Support concurrency iterate rows and columns
...
- Rename exported field `File.XLSX` to `File.Pkg`
- Exported error message
2021-07-05 00:03:56 +08:00
xuri
0e02329bed
This closes #861 , support concurrency get cell picture and remove unused internal function `getSheetNameByID`
2021-07-04 12:13:06 +08:00
Alluuu
58f9287559
This closes #409 Remove UTC timezone requirement from date.go ( #853 )
...
According to issue #409
There is absolutely no reason for the timezone to be in UTC, and converting the local times to UTC while keeping values is hacky at least.
Excel has no understanding of timezones, hence the user of this library should know what timezone their values are supposed to be, by following the timezone within their timeTime structs.
2021-06-04 23:06:58 +08:00
xuri
be12cc27f1
This closes #652 , new SetColWidth API, support set column width in stream writing mode, and export error message
2021-05-10 00:09:24 +08:00
xuri
7e429c5b46
Fixe issue generated file corrupted caused by incorrect default XML namespace attributes
2021-04-30 00:14:42 +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
36b7990d6b
lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX
2021-02-15 00:09:35 +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
c82a185af8
Compatibility improvement: parse document core part (workbook) dynamically
2020-11-04 00:28:20 +08:00
xuri
9d470bb38f
Update conversion between integer types and unit tests
2020-10-23 00:01:52 +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
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
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
xuri
49257c5918
support case-sensitive doc parts to improve compatibility
2020-07-09 01:24:11 +08:00
xuri
2ae631376b
add limits for total columns, row and filename length
2020-05-29 00:26:40 +08:00
xuri
a546427fd9
Resolve #643 , avoid creating duplicate style
2020-05-24 20:20:22 +08:00
xuri
7f78464f7f
add test for ReadZipReader, close #642
2020-05-23 13:29:51 +08:00
xuri
1fe660df64
- Resolve #485 use sheet index instead of ID
...
- added 3 internal function: getSheetID, getActiveSheetID, getSheetNameByID
2020-04-23 02:01:14 +08:00
xuri
3ce4b91be9
Resolve #345 , fix missing comments by GetComments
2020-03-31 00:02:00 +08:00
xuri
cea3d806ec
Resolve #200 , ignore empty conditional format style
2020-03-16 00:13:01 +08:00
xuri
9e2318cefa
Resolve #470 , export Style structs to allow create the style for cells by given JSON or structure
2020-03-10 00:04:23 +08:00
xuri
ad883caa0f
Resolve #580 , revert commit 5ca7231ed4
2020-02-19 00:08:10 +08:00
xuri
5ca7231ed4
optimize code and comments: use println errors instead of panic
2020-01-03 23:57:25 +08:00
xuri
09485b3f9f
Improve code coverage unit tests
2019-12-29 16:02:31 +08:00