summaryrefslogtreecommitdiff
path: root/sheet.go
Commit message (Collapse)AuthorAge
* Simplify code and update unit testxuri2021-12-03
| | | | | Improve unit test coverage for the functions: `NewStyle`, `SetActiveSheet`, `SearchSheet` and `deleteAndAdjustDefinedNames` Simplify code and add comments for the function: `deleteAndAdjustDefinedNames`
* refactor DeleteSheet for better readability (#1078)Michael Wiesenbauer2021-12-02
| | | | Signed-off-by: Michael Wiesenbauer <michael.wiesenbauer@ambos.io> Co-authored-by: Michael Wiesenbauer <michael.wiesenbauer@fau.de>
* Fix sheet deletion fail in some casexuri2021-11-18
|
* ref #65: new formula function PRICExuri2021-11-17
| | | | | - fix COUPPCD result accuracy issue - update close spreadsheet example in documentation and README
* This closes #1061, support multi-byte language on set header footerxuri2021-11-16
| | | | typo fixed and simplify code for read the data values arguments of formula functions
* This closes #1057, merge column styles to reduce spreadsheet sizexuri2021-11-14
|
* return immediately when matched for efficiency (#1049)Sean Liang2021-11-03
|
* This closes #833, closes #845, and closes #1022, breaking changesxuri2021-09-19
| | | | | | - Close spreadsheet and row's iterator required - New options `WorksheetUnzipMemLimit` have been added - Improve streaming reading performance, memory usage decrease about 93.7%
* This closes #998xuri2021-09-05
| | | | | | | - 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`
* Improve security and simplify codexuri2021-08-15
| | | | | | | - 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
* Speed up merge cellsthree2021-08-13
|
* This closes #971, closes #972 and closes #974xuri2021-07-29
| | | | | | | | - Escape XML character in the drop list - Fix incorrect character count limit in the drop list - Fix Excel time parse issue in some case - Fix custom number format month parse issue in some case - Fix corrupted file generated caused by concurrency adding pictures
* Improvement compatibility with invalid first-page number attribute in the ↵xuri2021-07-21
| | | | page layout
* This closes #879, fix delete defined name failed in some casexuri2021-07-15
|
* This closes #873, make the sheet names are not case sensitive for ↵xuri2021-07-10
| | | | `NewSheet`, `GetSheetIndex`, `DeleteSheet`
* Make the functions `SetSheetRow`, `New Style` and `SetCellStyle` concurrency ↵xuri2021-07-07
| | | | safety
* Support concurrency add picturexuri2021-07-06
|
* - Support concurrency iterate rows and columnsxuri2021-07-05
| | | | | - Rename exported field `File.XLSX` to `File.Pkg` - Exported error message
* This closes #861, support concurrency get cell picture and remove unused ↵xuri2021-07-04
| | | | internal function `getSheetNameByID`
* fix: LocalSheetID in DefinedName should be equal to SheetIndex instead of ↵vettich2021-07-03
| | | | SheetID (#868)
* This closes #652, new SetColWidth API, support set column width in stream ↵xuri2021-05-10
| | | | writing mode, and export error message
* compatibility with non-standard page setup attributesxuri2021-05-07
|
* This closes #834, fix invalid file path and duplicate namespace when ↵xuri2021-05-06
| | | | re-creating worksheet
* Go 1.15 and later required, #65 fn: IMABS, IMCOS, IMCOSH, IMCOT, IMCSC, ↵xuri2021-04-04
| | | | IMCSCH, IMEXP, IMLN and IMLOG10
* #65 fn: N, PERCENTILE.INC and Txuri2021-03-30
| | | | typo fixed
* updated SetDefinedName's localSheetId attr to use sheetIndexDavid2021-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Excelize 2.3.2 OUT: ``` <sheets> <sheet name="Q-P-QP-11" sheetId="55" r:id="rId1"/> <sheet name="Q-P-QP-12" sheetId="53" r:id="rId2"/> <sheet name="Q-P-QP-13" sheetId="54" r:id="rId3"/> <sheet name="Q-P-RN-12" sheetId="56" r:id="rId4"/> <sheet name="Q-P-RN-13" sheetId="57" r:id="rId5"/> <sheet name="C-C-QP-11-12-13-RN-12-13" sheetId="50" r:id="rId6"/> <sheet name="E-T-QP-11-12-13" sheetId="31" r:id="rId7"/> <sheet name="E-T-BK" sheetId="60" r:id="rId8"/> <sheet name="E-A-RN-12-13" sheetId="43" r:id="rId9"/> <sheet name="F1-A-QP-11-12-13" sheetId="1" r:id="rId10"/> <sheet name="F2-A-QP-11-12-13" sheetId="23" r:id="rId11"/> <sheet name="C-A-QP-12-13-RN-12-13" sheetId="48" r:id="rId12"/> <sheet name="C-T-QP-12-13" sheetId="7" r:id="rId13"/> <sheet name="R-T-QP-12-RN-12-13" sheetId="45" r:id="rId14"/> <sheet name="C-T-QP-11" sheetId="58" r:id="rId15"/> <sheet name="R-T-QP-11" sheetId="3" r:id="rId16"/> <sheet name="A-T-QP-11-12-RN-12" sheetId="13" r:id="rId17"/> <sheet name="A2-T-RN-13" sheetId="42" r:id="rId18"/> <sheet name="ap-T-QP-11" sheetId="59" r:id="rId19"/> <sheet name="B-A-QP-12-13" sheetId="32" r:id="rId20"/> <sheet name="B-A-QP-11" sheetId="33" r:id="rId21"/> </sheets> <definedNames> <definedName localSheetId="58" name="_xlnm.Print_Titles">ap-T-QP-11!$2:$5</definedName> <definedName localSheetId="2" name="_xlnm.Print_Titles">R-T-QP-11!$2:$13</definedName> </definedNames> ``` MS Excel 2010 out ``` <sheets> <sheet name="Q-P-QP-11" sheetId="55" r:id="rId1"/> <sheet name="Q-P-QP-12" sheetId="53" r:id="rId2"/> <sheet name="Q-P-QP-13" sheetId="54" r:id="rId3"/> <sheet name="Q-P-RN-12" sheetId="56" r:id="rId4"/> <sheet name="Q-P-RN-13" sheetId="57" r:id="rId5"/> <sheet name="C-C-QP-11-12-13-RN-12-13" sheetId="50" r:id="rId6"/> <sheet name="E-T-QP-11-12-13" sheetId="31" r:id="rId7"/> <sheet name="E-T-BK" sheetId="60" r:id="rId8"/> <sheet name="E-A-RN-12-13" sheetId="43" r:id="rId9"/> <sheet name="F1-A-QP-11-12-13" sheetId="1" r:id="rId10"/> <sheet name="F2-A-QP-11-12-13" sheetId="23" r:id="rId11"/> <sheet name="C-A-QP-12-13-RN-12-13" sheetId="48" r:id="rId12"/> <sheet name="C-T-QP-12-13" sheetId="7" r:id="rId13"/> <sheet name="R-T-QP-12-RN-12-13" sheetId="45" r:id="rId14"/> <sheet name="C-T-QP-11" sheetId="58" r:id="rId15"/> <sheet name="R-T-QP-11" sheetId="3" r:id="rId16"/> <sheet name="A-T-QP-11-12-RN-12" sheetId="13" r:id="rId17"/> <sheet name="A2-T-RN-13" sheetId="42" r:id="rId18"/> <sheet name="ap-T-QP-11" sheetId="59" r:id="rId19"/> <sheet name="B-A-QP-12-13" sheetId="32" r:id="rId20"/> <sheet name="B-A-QP-11" sheetId="33" r:id="rId21"/> </sheets> <definedNames> <definedName name="_xlnm.Print_Titles" localSheetId="18">'ap-T-QP-11'!$2:$5</definedName> <definedName name="_xlnm.Print_Titles" localSheetId="15">'R-T-QP-11'!$2:$13</definedName> </definedNames> ``` Compare localSheetId it uses sheet index instead of sheet's sheetId
* This improves compatibility for absolute XML path, Windows-style directory ↵xuri2021-02-27
| | | | separator and inline namespace;
* check empty rich text run properties; new formula fn: LEFT, LEFTB, RIGHT, RIGHTBxuri2021-02-23
|
* lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, ↵xuri2021-02-15
| | | | CONCATENATE, COUNT, COUNTBLANK, MAX
* This improves compatibility for worksheet relative XML path and multi rules ↵xuri2021-02-11
| | | | auto filter
* fix custom row height check issuexuri2021-02-08
|
* This closes #774, closes #775 and closes #776xuri2021-02-02
| | | | | | | | - correct adjust calculation chain in duplicate rows - correct adjust defined name in the workbook when delete worksheet - use absolute reference in the auto filters defined name to make it compatible with OpenOffice - API `CoordinatesToCellName` have a new optional param to specify if using an absolute reference format - Fix cyclomatic complexity issue of internal function `newFills` and `parseToken`
* Fixed #764, add a condition for round precisionxuri2021-01-20
|
* support to set print black and white and specified the first printed page numberxuri2021-01-17
|
* Support to adjust print scaling of the worksheetxuri2021-01-16
|
* Fixed #735, refresh active tab after delete sheetxuri2020-11-23
|
* Fix #724, standardize variable naming and update unit testsxuri2020-11-11
|
* using POSIX directory separator in zip path with Windowsxuri2020-11-06
|
* Compatibility improvement: parse document core part (workbook) dynamicallyxuri2020-11-04
|
* optimize memory allocation (#722)Ted2020-11-03
| | | | | | | | | | | | | | | * optimize marshal * optimize mem alloc * add benchmark testing * add NewSheetWithRowNum testing * sync struct fields order * add BenchmarkNewSheetWithStreamWriter * delete NewSheetWithRowNum and benchmark test
* New formula function AND (#701) and update doc for the NewSheet (#714)xuri2020-10-22
|
* This closes #714 and closes #715, fix wrong worksheet index returned by ↵xuri2020-10-19
| | | | NewSheet in some case, fix panic on formatted value with no built-in number format ID
* Fix #706, #713 improve AddPicture performance, fix missing worksheet when ↵xuri2020-10-18
| | | | rename with same names
* - Resolve #711, update docs for the GetSheetIndexxuri2020-10-12
| | | | - Update unit test
* Default row height compatibility with Apache OpenOffice and Kingsoft WPS, ↵xuri2020-08-22
| | | | unit test update and typo fixed
* This closes #677 and closes #679, fix panic when enabling compiler inline flagsxuri2020-08-06
|
* support parse and generate XML element namespace dynamic, fix #651xuri2020-07-18
|
* Fix issue 665 (#666)jaby2020-07-14
|
* support case-sensitive doc parts to improve compatibilityxuri2020-07-09
|
* Update docs and typo fixedxuri2020-06-22
|