
xcelize is a library written in pure Go providing a set of functions that allow you to write to and read from XLAM / XLSM / XLSX / XLTM / XLTX files. Supports reading and writing spreadsheet documents generated by Microsoft Excel™ 2007 and later. Supports complex components by high compatibility, and provided streaming API for generating or reading data from a worksheet with huge amounts of data.
GitHub: github.com/xuri/excelize
We are pleased to announce the release of version 2.7.1. Featured are a handful of new areas of functionality and numerous bug fixes.
A summary of changes is available in the Release Notes.
Release Notes
The most notable changes in this release are:
Color field in the ChartLine data typeShapeParagraph with RichTextRunColor field from the type Shape, and uses the Fill instead of itAutoFilterListOptionsTableOptions to TableAddChart function require using ChartType enumeration value to specify the chart typefunc (f *File) AutoFilter(sheet, rangeRef string, opts *AutoFilterOptions) error to func (f *File) AutoFilter(sheet, rangeRef string, opts []AutoFilterOptions) errorfunc (f *File) AddPictureFromBytes(sheet, cell, name, extension string, file []byte, opts *GraphicOptions) error to func (f *File) AddPictureFromBytes(sheet, cell string, pic *Picture) errorfunc (f *File) GetPicture(sheet, cell string) (string, []byte, error) to func (f *File) GetPictures(sheet, cell string) ([]Picture, error)func (f *File) AddVBAProject(bin string) error to func (f *File) AddVBAProject(file []byte) errorfunc (f *File) GetComments() (map[string][]Comment, error) to func (f *File) GetComments(sheet string) ([]Comment, error)func (f *File) AddTable(sheet, rangeRef string, opts *TableOptions) error to func (f *File) AddTable(sheet string, table *Table) errorfunc (sw *StreamWriter) AddTable(rangeRef string, opts *TableOptions) error to func (sw *StreamWriter) AddTable(table *Table) errorSetSheetDimension and GetSheetDimension for workbook dimension supports, related issue #1463NewStyle function support to create of 17 kinds of fill variants stylesAddPicture function allowing insert BMP format imagesGetPictures function support to get multiple images in a cellSetConditionalFormat function support to creating a conditional format with a "stop if true" or "icon sets" ruleSetConditionalFormat function support to set border color and create solid color for the color data bar, related issue #1462AddChart function support to set the format for the chart data series solid fill, related issue #1474AddChart function support to set the bubble size in a data seriesAddChart function support to specifies the values in second plot for the bar/pie of pie chartAddChart function support to set number format for chart data labels and axis, related issue #1499AddTable function support to specify if show header row of the table when create the tableAddTable function support to validate table name, and added a new error constant ErrTableNameLength, related issue #1468AutoFilter function support to add multiple filter columns when create auto filterCalcCellValue function support to specify if applying number format style for the cell calculation resultCalcCellValue function support double-byte chars for formula functions: LEFT, LEN, LENB, MID, MIDB, RIGHT and RIGHTB, related issue #1476CalcCellValue function now returns formula error string in the result, and using the error message in returns error, related issue #1490GetCellHyperLink function support get cell hyperlink for merged cellsChartType for represents chart type enumerationThanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version: