• R/O
  • HTTP
  • SSH
  • HTTPS

excelize: List of commits

Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets


RSS
Rev. Time Author
45d168c 2022-11-15 23:08:37 xuri

This closes #1391, escape XML characters to avoid with corrupt file

- Update and improve unit test coverage

ac564af 2022-11-13 01:40:04 xuri

Remove internal error log print, throw XML deserialize error

bd5dd17 2022-11-12 01:16:23 xuri

This is a breaking change, remove partial internal error log print, throw XML deserialize error

- Add error return value for the `GetComments`, `GetDefaultFont` and `SetDefaultFont` functions
- Update unit tests

58b5dae 2022-11-11 02:50:07 xuri

Support update column style when inserting or deleting columns

- Go Modules dependencies upgrade
- Unify internal variable name
- Unit test updated

8753950 2022-11-08 01:35:19 March


Delete shared formula in calc chain when writing a formula cell (#1387)

75c912c 2022-11-05 13:41:07 Martin Martinez Rivera


This closes #1384, fix segmentation fault in `formattedValue` (#1385)

- Add nil pointer guard in cell format
- Add tests to verify the nil checks in formattedValue

Co-authored-by: Zach Clark <zachmclark@gmail.com>

4998b7b 2022-11-03 01:23:48 xuri

This closes #1383, skip empty rows when saving the spreadsheet to reduce file size

db2d084 2022-11-02 09:45:06 xuri

This closes #1204, breaking changes for add comments

- Allowing insert SVG format images
- Unit tests updated

a410b22 2022-10-28 01:31:55 xuri

Fix the error on getting the range of merged cells on the worksheet which contains one cell merged cell range

- Parse workbook default theme for custom theme color support in the feature
- Variables name typo fix
- Add system foreground and background color as RGB in the IndexedColorMapping list

adf9d37 2022-10-26 01:04:23 xuri

This closes #1379, cleanup stream writer temporary files by the `Close` function

- Fix error on inserting columns or rows on the worksheet which contains one cell merged cell range
- Fix getting incomplete rich text cell value in some cases
- Unit tests updated

f44153e 2022-10-25 11:24:45 xuri


This closes #1377, stream writer writes inline string type for string cell value

- Add `CellTypeFormula`, `CellTypeInlineString`, `CellTypeSharedString` and remove `CellTypeString` in `CellType` enumeration
- Unit tests updated

14c6a19 2022-10-24 01:52:09 xuri

Support get cell value which contains a date in the ISO 8601 format

- Support set and get font color with indexed color
- New export variable `IndexedColorMapping`
- Fix getting incorrect page margin settings when the margin is 0
- Update unit tests and comments typo fixes
- ref #65, new formula functions: AGGREGATE and SUBTOTAL

f843a9e 2022-10-21 01:04:32 gonghaibinx


Fix the formula calculation result issue of the OR function (#1374)

Co-authored-by: gonghaibin <gonghaibin@qq.com>

2df615f 2022-10-20 01:02:30 xuri

This close #1373, fixes the incorrect build-in number format apply the result

- An error will be returned when setting the stream row without ascending row numbers, to avoid potential mistakes as mentioned in #1139
- Updated unit tests

3ece904 2022-10-15 01:03:49 GaoFei


This closes #1369, support set, and get font color with theme and tint (#1370)

3d02726 2022-10-14 01:48:16 xuri

This closes #320, support custom chart axis font style

7363c1e 2022-10-13 01:13:36 xuri

Go 1.16 and later required, migration of deprecation package `ioutil`

- Improving performance for stream writer `SetRow` function, reduces memory usage over and speedup about 19%
- Update dependencies module
- Update GitHub workflow

0e657c8 2022-10-12 01:06:09 xuri

This closes #1368, fixes number parsing issue, adds support for create a 3D line chart

c02346b 2022-10-11 01:05:02 Harrison


This closes #1047, stream writer support set panes (#1123)

- New exported error `ErrStreamSetPanes` has been added

2f5704b 2022-10-10 01:11:18 charles.deng


Stream writer support to set inline rich text cell (#1121)

Co-authored-by: zhengchao.deng <zhengchao.deng@meican.com>

b1e776e 2022-10-08 23:08:16 xuri

Support to set summary columns to appear to the right of detail in an outline

- Simplify calculation engine code
- Update documentation for the functions
- Update dependencies module

5705132 2022-10-07 13:11:59 Joseph Watson


This closes #1365, normalize the sheet name (#1366)

Signed-off-by: Joseph Watson <jtwatson@linux-consulting.us>

53a4955 2022-09-29 23:04:50 xuri

This closes #1358, made a refactor with breaking changes, see details:

This made a refactor with breaking changes:

Motivation and Context

When I decided to add set horizontal centered support for this library to resolve #1358, the reason I made this huge breaking change was:

- There are too many exported types for set sheet view, properties, and format properties, although a function using the functional options pattern can be optimized by returning an anonymous function, these types or property set or get function has no binding categorization, so I change these functions like `SetAppProps` to accept a pointer of options structure.
- Users can not easily find out which properties should be in the `SetSheetPrOptions` or `SetSheetFormatPr` categories
- Nested properties cannot proceed modify easily

Introduce 5 new export data types:
`HeaderFooterOptions`, `PageLayoutMarginsOptions`, `PageLayoutOptions`, `SheetPropsOptions`, and `ViewOptions`

Rename 4 exported data types:
- Rename `PivotTableOption` to `PivotTableOptions`
- Rename `FormatHeaderFooter` to `HeaderFooterOptions`
- Rename `FormatSheetProtection` to `SheetProtectionOptions`
- Rename `SparklineOption` to `SparklineOptions`

Remove 54 exported types:
`AutoPageBreaks`, `BaseColWidth`, `BlackAndWhite`, `CodeName`, `CustomHeight`, `Date1904`, `DefaultColWidth`, `DefaultGridColor`, `DefaultRowHeight`, `EnableFormatConditionsCalculation`, `FilterPrivacy`, `FirstPageNumber`, `FitToHeight`, `FitToPage`, `FitToWidth`, `OutlineSummaryBelow`, `PageLayoutOption`, `PageLayoutOptionPtr`, `PageLayoutOrientation`, `PageLayoutPaperSize`, `PageLayoutScale`, `PageMarginBottom`, `PageMarginFooter`, `PageMarginHeader`, `PageMarginLeft`, `PageMarginRight`, `PageMarginsOptions`, `PageMarginsOptionsPtr`, `PageMarginTop`, `Published`, `RightToLeft`, `SheetFormatPrOptions`, `SheetFormatPrOptionsPtr`, `SheetPrOption`, `SheetPrOptionPtr`, `SheetViewOption`, `SheetViewOptionPtr`, `ShowFormulas`, `ShowGridLines`, `ShowRowColHeaders`, `ShowRuler`, `ShowZeros`, `TabColorIndexed`, `TabColorRGB`, `TabColorTheme`, `TabColorTint`, `ThickBottom`, `ThickTop`, `TopLeftCell`, `View`, `WorkbookPrOption`, `WorkbookPrOptionPtr`, `ZeroHeight` and `ZoomScale`

Remove 2 exported constants:
`OrientationPortrait` and `OrientationLandscape`

Change 8 functions:
- Change the `func (f *File) SetPageLayout(sheet string, opts ...PageLayoutOption) error` to `func (f *File) SetPageLayout(sheet string, opts *PageLayoutOptions) error`
- Change the `func (f *File) GetPageLayout(sheet string, opts ...PageLayoutOptionPtr) error` to `func (f *File) GetPageLayout(sheet string) (PageLayoutOptions, error)`
- Change the `func (f *File) SetPageMargins(sheet string, opts ...PageMarginsOptions) error` to `func (f *File) SetPageMargins(sheet string, opts *PageLayoutMarginsOptions) error`
- Change the `func (f *File) GetPageMargins(sheet string, opts ...PageMarginsOptionsPtr) error` to `func (f *File) GetPageMargins(sheet string) (PageLayoutMarginsOptions, error)`
- Change the `func (f *File) SetSheetViewOptions(sheet string, viewIndex int, opts ...SheetViewOption) error` to `func (f *File) SetSheetView(sheet string, viewIndex int, opts *ViewOptions) error`
- Change the `func (f *File) GetSheetViewOptions(sheet string, viewIndex int, opts ...SheetViewOptionPtr) error` to `func (f *File) GetSheetView(sheet string, viewIndex int) (ViewOptions, error)`
- Change the `func (f *File) SetWorkbookPrOptions(opts ...WorkbookPrOption) error` to `func (f *File) SetWorkbookProps(opts *WorkbookPropsOptions) error`
- Change the `func (f *File) GetWorkbookPrOptions(opts ...WorkbookPrOptionPtr) error` to `func (f *File) GetWorkbookProps() (WorkbookPropsOptions, error)`

Introduce new function to instead of existing functions:
- New function `func (f *File) SetSheetProps(sheet string, opts *SheetPropsOptions) error` instead of `func (f *File) SetSheetPrOptions(sheet string, opts ...SheetPrOption) error` and `func (f *File) SetSheetFormatPr(sheet string, opts ...SheetFormatPrOption

efcf599 2022-09-28 01:04:17 xuri

This closes #1360, closes #1361

- Fix default number format parse issue with a long string of digits
- Fix creating a sheet with an empty name cause a corrupted file
- The `GetCellStyle` function no longer return master cell style of the merge cell range
- Using the specialized name in variables and functions

addcc1a 2022-09-23 01:02:45 Zitao


Fix cpu usage problem of stream writer when merging cells (#1359)

Co-authored-by: zzt <zhangzitao@meican.com>

74dad51 2022-09-21 01:29:34 invzhi


This closes #1354, stream writer will apply style in `RowOpts` for each cell (#1355)

Co-authored-by: Tianzhi Jin <tianzhi.jin@iglooinsure.com>

3f70299 2022-09-18 01:07:15 xuri

Using the specialized name in a variable and making comments clear

- Add JSON tags for `AppProperties`, `PivotTableOption` and `PivotTableField` structure

73cc4bd 2022-09-14 01:05:05 Artem Tarasenko


This closes #1345, support set custom line color in the charts (#1346)

b6cc43d 2022-09-11 01:04:04 xuri

This makes 6 functions concurrency safety

- These 6 functions now support concurrency safe: SetColWidth, GetColWidth, SetColVisible, GetColVisible, SetColStyle and GetColStyle

c72fb74 2022-09-10 14:05:34 dafengge0913


Fix DeleteComment slice bounds out of range (#1343)

Show on old repository browser