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
ducquangkstn
866fda2300
fix #503 rows next issue
5 years ago
xuri
2e791fa433
Optimize code of Getting/Setting Page Margins
5 years ago
Harris
ac91ca0ded
Only parse xml once when reading
...
We were parsing the whole sheet twice since the
sheet reader already reads in all the rows.
getTotalRowsCols function is unused after these changes
so it has been deleted as well.
Closes #439
6 years ago
xuri
a88459d5f1
add unit tests to functions
6 years ago
xuri
f2df344739
Resolve #369,#370
...
add error return value
exported functions:
GetMergeCells
ProtectSheet
UnprotectSheet
UpdateLinkedValue
GetMergeCells
SetSheetVisible
inner functions:
workSheetReader
copySheet
6 years ago
xuri
f0244c0016
Add unit test to improve testing coverage
6 years ago
xuri
40ff5dc1a7
refactor: handler error instead of panic,
...
Exported functions:
SetCellStyle
InsertCol
RemoveCol
RemoveRow
InsertRow
DuplicateRow
DuplicateRowTo
SetRowHeight
GetRowHeight
GetCellValue
GetCellFormula
GetCellHyperLink
SetCellHyperLink
SetCellInt
SetCellBool
SetCellFloat
SetCellStr
SetCellDefault
GetCellStyle
SetCellValue
MergeCell
SetSheetRow
SetRowVisible
GetRowVisible
SetRowOutlineLevel
GetRowOutlineLevel
GetRows
Columns
SearchSheet
AddTable
GetPicture
AutoFilter
GetColVisible
SetColVisible
GetColOutlineLevel
SetColOutlineLevel
SetColWidth
GetColWidth
inner functions:
adjustHelper
adjustMergeCells
adjustAutoFilter
prepareCell
setDefaultTimeStyle
timeToExcelTime
addDrawingChart
addDrawingVML
addDrawingPicture
getTotalRowsCols
checkRow
addDrawingShape
addTable
6 years ago