davidborry
bef49e40ee
This closes #1330 update non existing sheet error messages ( #1331 )
2 years ago
chenliu1993
f8667386dc
This closes #827 , add new functions `GetDataValidations` and `GetConditionalFormats` ( #1315 )
...
Signed-off-by: chenliu1993 <13630583107@163.com>
2 years ago
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>
2 years ago
xuri
63adac2589
make workbook open filed exception message clear
...
- New exported constant `ErrWorkbookPassword`
- Rename exported constant `ErrWorkbookExt` to `ErrWorkbookFileFormat`
3 years ago
sceneq
be5a4033c0
This closes #1229 , rename ErrMaxFileNameLength to ErrMaxFilePathLength ( #1230 )
...
Co-authored-by: sceneq
3 years ago
xuri
773d4afa32
This closes #1217 , support update cell hyperlink
...
Ref #1129 , make `SetRowStyle` overwrite style of the cells
3 years ago
xuri
8a335225c7
Format code, update documentation and remove exported variable `XMLHeaderByte`
3 years ago
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
3 years ago
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
3 years ago
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`
3 years ago
xuri
2245fccca0
Typo fix, rename exported constants, dependencies modules and copyright update
...
Rename exported constants `NameSpaceDublinCoreMetadataIntiative` to `NameSpaceDublinCoreMetadataInitiative`
3 years ago
Jonham.Chen
af5c4d00e8
feat: implement SHA-512 algorithm to ProtectSheet ( #1115 )
3 years ago
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
3 years ago
xuri
089cd365a3
This closes #1097 , initialized formula function XLOOKUP and update test
3 years ago
xuri
44a13aa402
Export 7 errors so users can act differently on different type of errors
3 years ago
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%
3 years ago
xuri
2616aa88cb
Add set shared formula support and documentation for the `SetCellFormula`
3 years ago
raochq
b02f864eab
This closes #844 , support get shared formula
3 years ago
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
3 years ago
xuri
e9ae9b45b2
change go module import path to github.com/xuri/excelize
4 years ago
xuri
2ced00d6a8
This closes #872 , support re-save the new spreadsheet after `SaveAs`
4 years ago
xuri
544ef18a8c
- Support concurrency iterate rows and columns
...
- Rename exported field `File.XLSX` to `File.Pkg`
- Exported error message
4 years ago
xuri
0e02329bed
This closes #861 , support concurrency get cell picture and remove unused internal function `getSheetNameByID`
4 years ago
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.
4 years ago
xuri
be12cc27f1
This closes #652 , new SetColWidth API, support set column width in stream writing mode, and export error message
4 years ago
xuri
7e429c5b46
Fixe issue generated file corrupted caused by incorrect default XML namespace attributes
4 years ago
xuri
2af96c0714
#65 fn: N, PERCENTILE.INC and T
...
typo fixed
4 years ago
James Allen
a12dfd3ce6
Add support for setting hyperlink display & tooltip ( closes #790 ) ( #794 )
4 years ago
xuri
36b7990d6b
lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX
4 years ago
xuri
2514bb16c6
Fix #724 , standardize variable naming and update unit tests
4 years ago
xuri
5dd0b4aec2
using POSIX directory separator in zip path with Windows
4 years ago
xuri
c82a185af8
Compatibility improvement: parse document core part (workbook) dynamically
4 years ago
xuri
9d470bb38f
Update conversion between integer types and unit tests
4 years ago
xuri
520aa679f3
Fix #706 , #713 improve AddPicture performance, fix missing worksheet when rename with same names
4 years ago
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>
4 years ago
xuri
98f1a69903
support ECMA-376 document standard encryption, ref #199
4 years ago
xuri
4177c1585e
Resolve #199 , init password protection spreadsheet support
4 years ago
xuri
49257c5918
support case-sensitive doc parts to improve compatibility
5 years ago
xuri
2ae631376b
add limits for total columns, row and filename length
5 years ago
xuri
a546427fd9
Resolve #643 , avoid creating duplicate style
5 years ago
xuri
7f78464f7f
add test for ReadZipReader, close #642
5 years ago
xuri
1fe660df64
- Resolve #485 use sheet index instead of ID
...
- added 3 internal function: getSheetID, getActiveSheetID, getSheetNameByID
5 years ago
xuri
3ce4b91be9
Resolve #345 , fix missing comments by GetComments
5 years ago
xuri
cea3d806ec
Resolve #200 , ignore empty conditional format style
5 years ago
xuri
9e2318cefa
Resolve #470 , export Style structs to allow create the style for cells by given JSON or structure
5 years ago
xuri
ad883caa0f
Resolve #580 , revert commit 5ca7231ed4
5 years ago
xuri
5ca7231ed4
optimize code and comments: use println errors instead of panic
5 years ago
xuri
09485b3f9f
Improve code coverage unit tests
5 years ago
xuri
1666d04559
optimization: checking error in unit tests
5 years ago
xuri
4e4a5b9b3e
Improve compatibility, fix workbook's rels ID calc error
5 years ago