Kostya Privezentsev
18cd63a548
This is a breaking change closes #1332 ( #1333 )
...
This use `InsertRows` instead of `InsertRow`, and using `InsertCols` instead of `InsertCol`
2 years ago
davidborry
bef49e40ee
This closes #1330 update non existing sheet error messages ( #1331 )
2 years ago
xuri
8152bbb2ce
This closes #1312 , #1313 , fix number format issue
...
- Add supported options in the docs of the functions `SetSheetPrOptions` and `GetSheetPrOptions`
- Add go1.19 unit test settings, and made the test case compatible with go1.19
- Update dependencies module
2 years ago
Thomas Charbonnel
ed91cddea5
This closes #1296 , add new function `GetRowOpts` for stream reader ( #1297 )
...
- Support get rows properties by `GetRowOpts` function
- New exported constant `MaxCellStyles`
2 years ago
xuri
40ed1d1b81
Fix potential file corrupted when changing cell value or the col/row
...
- Remove shared formula subsequent cell when setting the cell values
- Support adjust table range when removing and inserting column/row
3 years ago
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
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
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
f0cb29cf66
This closes #1162 , improve the compatibility with alternate content
...
Preserve alternate content in the workbook, worksheet, and drawingML
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
74f6ea94ea
ref #1054 , breaking change for the column and row's iterator
...
This removed 3 exported functions: `TotalCols`, `CurrentCol` and `CurrentRow`
3 years ago
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
3 years ago
Dokiy
67127883dd
Fix adjustMergeCells not modifies cell rect ( #1118 )
3 years ago
xuri
2245fccca0
Typo fix, rename exported constants, dependencies modules and copyright update
...
Rename exported constants `NameSpaceDublinCoreMetadataIntiative` to `NameSpaceDublinCoreMetadataInitiative`
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
44a13aa402
Export 7 errors so users can act differently on different type of errors
3 years ago
li
60b13affbd
Support get current row/col and total rows/cols in the stream reader ( #1054 )
3 years ago
xuri
de38402f74
This closes #1031 , fix small float parsed error in some case
...
- new formula function: YEARFRAC, ref #65
- update the codecov version
- remove unused variable
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
32b23ef42d
This closes #998
...
- Support text comparison in the formula, also ref #65
- `GetCellValue`, `GetRows`, `GetCols`, `Rows` and `Cols` support to specify read cell with raw value, ref #621
- Add missing properties for the cell formula
- Update the unit test for the `CalcCellValue`
3 years ago
xuri
a55f354eb3
This closes #989 , closes #990
...
New API: `SetRowStyle` support for set style for the rows
Update documentation for the `GetRows`, `SetCellStyle` and `SetColStyle`
3 years ago
xuri
e9ae9b45b2
change go module import path to github.com/xuri/excelize
4 years ago
xuri
f62c45fe0c
This closes #848 and closes #852 , fix reading decimals precision
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
d932e62a12
This closes #855 , fix missing formula cell when getting rows value
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
30549c5e90
fix custom row height check issue
4 years ago
xuri
2fb135bc94
handle end element event in the worksheet row/column iterator XML SAX parser
4 years ago
xuri
b84bd1abc0
new formula fn: IF, LEN; not equal operator support and faster numeric precision process
4 years ago
xuri
576bfffbe6
This closes #752 , fix incorrectly merged cells on duplicate row, and new formula function: LOWER, PROPER, UPPER
4 years ago
xuri
2514bb16c6
Fix #724 , standardize variable naming and update unit tests
4 years ago
xuri
ac3dce0bea
- Resolve #711 , update docs for the GetSheetIndex
...
- Update unit test
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
324f87bcae
add checking and limits for the worksheet
4 years ago
xuri
88de2f8d51
Default row height compatibility with Apache OpenOffice and Kingsoft WPS, unit test update and typo fixed
4 years ago
xuri
0aa1510694
update docs and improve compatibility
5 years ago
xuri
2285d4dc71
handle the cell without r attribute in a row element
5 years ago
xuri
1fe660df64
- Resolve #485 use sheet index instead of ID
...
- added 3 internal function: getSheetID, getActiveSheetID, getSheetNameByID
5 years ago
xuri
821a5d8672
AddPivotTable API changed: new structure PivotTableField to hold pivot table fields for better scalability
5 years ago
xuri
8b20ea1685
Fix #586 , duplicate row with merged cells
5 years ago
xuri
5ca7231ed4
optimize code and comments: use println errors instead of panic
5 years ago
xuri
5f5ec76740
Fix #551 , handle empty rows in streaming reading
5 years ago
xuri
1666d04559
optimization: checking error in unit tests
5 years ago
xuri
ae2865d923
Improve code coverage unit tests
5 years ago
xuri
5d8365ca17
Fix #529 , handle empty inline rich text
5 years ago
xuri
7965e1231b
Resolve #146 , make the GetRow function read data as streaming. Ref: #382 , #515
5 years ago
xuri
5e418ebd66
Resolve #507 , add the new function `DeleteDefinedName`
5 years ago
xuri
87390cdd99
Resolve #511 , allow empty columns in the pivot table
5 years ago
Michael
9fe267ffcf
Pre-allocate some memory when reading files ( #510 )
5 years ago