Excelize is written in Go for operating Office Excel document libraries, based on the ECMA-376 Office OpenXML standard. You can use it to read, write, XLSX documents created by Microsoft Excel ™ 2007 or later and. Compared to other open-source libraries, Excelize support writing with the original picture (table), style sheets, and complex perspective slicers and other documents, also supports insert pictures and charts to Excel document, and the document will not be lost after saving original style, can be applied to various reports in the system. 2018 China Open Source code named cloud Gitee most valuable open source projects GVP .
July 1, 2019, the community officially released 2.0.1 version, this version includes several new features, bug fixes and compatibility upgrade optimization. The following is a summary of the updated version of the complete list of changes can be viewed Change log .
Gitee: gitee.com/xurime/excelize
Release Notes
This version of the most significant changes include:
new features
- New
SetHeaderFooter()
methods, support setting headers and footers, related issue # 394 - New
SetColStyle()
methods, support setting column styles, the relevant issue # 397 - New
SetDefaultFont()
andGetDefaultFont()
methods, support to set the default font workbook related issue # 390 - New
SetDocProps()
andGetDocProps()
methods, support to set and get document properties, related issue # 415 - Function
AddChart()
newly added to create 26 kinds of charts: tufted cones, stacking cones,% stacked cones, three-dimensional Cone, tufted level cone, stacked horizontal cone, Stacked percentage level Cone, tufted pyramid, stacked pyramid, % stacked pyramids, three-dimensional pyramid, tufted level pyramid, pyramid stacked horizontally, stacked percentage level pyramid, clustered Column, stacked Column, stacked Column percentage, three-dimensional bar graph, the horizontal tufted cylindrical, stacked horizontal cylinder, stacked cylinder percentage level, 3D surface, a top frame surface, 3D surface frame, bubble three-dimensional bubble chart, graph type unsupported will return error - New
SetDefinedName()
andGetDefinedName()
methods, support to set and get the name - Optimize and clear error messages when opening an encrypted file
- Function
AddPicture()
now supports adding TIF and TIFF format images
Bug fixes
- Fix the problem when there is a double quotation generated data validation formula
- In some cases fix generating internal count error caused problems repeated annotation, related issue # 373
- Under repair some cases due to internal worksheet map reading error caused the problem failed to read the file, the relevant issue # 404
- Compatibility enhanced document processing comprising a PivotTable, related issue # 413
- Improved compatibility font size and bold style, the relevant Issue # 411 , # 420 and # 425
- Optimization of the internal components to fix the problem recalculation delete the worksheet or document damage caused by the insertion of rows in some cases, the relevant issue # 421 and # 424
- Hidden worksheets failure under repair problems some cases, the relevant issue # 418
- Bug Fixes lead to overflow inside the theme color index chart series lead to excessive damage to the document in some cases, the relevant issue # 422
other
- Perfect to enhance the unit test coverage, line coverage reached 96.05%
- Code optimization, repair golint problem