-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Comparing changes
Open a pull request
base repository: qax-os/excelize
base: v2.6.1
head repository: qax-os/excelize
compare: v2.7.0
Commits on Aug 23, 2022
-
This closes #1290 and closes #1328
- Add new smooth field in chart format parameter, support specify if smooth line chart - Fix decimal number format round issue with build-in number format
Configuration menu - View commit details
-
Copy full SHA for cb8bca0 - Browse repository at this point
Copy the full SHA cb8bca0View commit details
Commits on Aug 25, 2022
-
This closes #1247, add new function
SetSheetCol
for set worksheet c……olumn values (#1320) Signed-off-by: cdenicola <cooper.denicola@instabase.com> Co-authored-by: cdenicola <cooper.denicola@instabase.com>
Configuration menu - View commit details
-
Copy full SHA for 0e9378f - Browse repository at this point
Copy the full SHA 0e9378fView commit details
Commits on Aug 26, 2022
-
This closes #827, add new functions
GetDataValidations
and `GetCond……itionalFormats` (#1315) Signed-off-by: chenliu1993 <13630583107@163.com>
Configuration menu - View commit details
-
Copy full SHA for f866738 - Browse repository at this point
Copy the full SHA f866738View commit details
Commits on Aug 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bef49e4 - Browse repository at this point
Copy the full SHA bef49e4View commit details
Commits on Aug 30, 2022
-
This is a breaking change closes #1332 (#1333)
This use `InsertRows` instead of `InsertRow`, and using `InsertCols` instead of `InsertCol`
Configuration menu - View commit details
-
Copy full SHA for 18cd63a - Browse repository at this point
Copy the full SHA 18cd63aView commit details
Commits on Aug 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 75ce231 - Browse repository at this point
Copy the full SHA 75ce231View commit details
Commits on Sep 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 00470c1 - Browse repository at this point
Copy the full SHA 00470c1View commit details
Commits on Sep 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 961a3e8 - Browse repository at this point
Copy the full SHA 961a3e8View commit details -
This closes #1293, add new function
GetColStyle
- Fix generate workbook corruption after insert cols/rows in some case - Update unit tests - Update dependencies module
Configuration menu - View commit details
-
Copy full SHA for 0c5cdfe - Browse repository at this point
Copy the full SHA 0c5cdfeView commit details
Commits on Sep 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fb1aab7 - Browse repository at this point
Copy the full SHA fb1aab7View commit details
Commits on Sep 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c72fb74 - Browse repository at this point
Copy the full SHA c72fb74View commit details -
This makes 6 functions concurrency safety
- These 6 functions now support concurrency safe: SetColWidth, GetColWidth, SetColVisible, GetColVisible, SetColStyle and GetColStyle
Configuration menu - View commit details
-
Copy full SHA for b6cc43d - Browse repository at this point
Copy the full SHA b6cc43dView commit details
Commits on Sep 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 73cc4bd - Browse repository at this point
Copy the full SHA 73cc4bdView commit details
Commits on Sep 17, 2022
-
Using the specialized name in a variable and making comments clear
- Add JSON tags for `AppProperties`, `PivotTableOption` and `PivotTableField` structure
Configuration menu - View commit details
-
Copy full SHA for 3f70299 - Browse repository at this point
Copy the full SHA 3f70299View commit details
Commits on Sep 20, 2022
-
This closes #1354, stream writer will apply style in
RowOpts
for ea……ch cell (#1355) Co-authored-by: Tianzhi Jin <tianzhi.jin@iglooinsure.com>
Configuration menu - View commit details
-
Copy full SHA for 74dad51 - Browse repository at this point
Copy the full SHA 74dad51View commit details
Commits on Sep 22, 2022
-
Fix cpu usage problem of stream writer when merging cells (#1359)
Co-authored-by: zzt <zhangzitao@meican.com>
Configuration menu - View commit details
-
Copy full SHA for addcc1a - Browse repository at this point
Copy the full SHA addcc1aView commit details
Commits on Sep 27, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for efcf599 - Browse repository at this point
Copy the full SHA efcf599View commit details
Commits on Sep 29, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for 53a4955 - Browse repository at this point
Copy the full SHA 53a4955View commit details
Commits on Oct 7, 2022
-
This closes #1365, normalize the sheet name (#1366)
Signed-off-by: Joseph Watson <jtwatson@linux-consulting.us>
Configuration menu - View commit details
-
Copy full SHA for 5705132 - Browse repository at this point
Copy the full SHA 5705132View commit details
Commits on Oct 8, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for b1e776e - Browse repository at this point
Copy the full SHA b1e776eView commit details
Commits on Oct 9, 2022
-
Stream writer support to set inline rich text cell (#1121)
Co-authored-by: zhengchao.deng <zhengchao.deng@meican.com>
Configuration menu - View commit details
-
Copy full SHA for 2f5704b - Browse repository at this point
Copy the full SHA 2f5704bView commit details
Commits on Oct 10, 2022
-
This closes #1047, stream writer support set panes (#1123)
- New exported error `ErrStreamSetPanes` has been added
Configuration menu - View commit details
-
Copy full SHA for c02346b - Browse repository at this point
Copy the full SHA c02346bView commit details
Commits on Oct 11, 2022
-
This closes #1368, fixes number parsing issue, adds support for creat…
…e a 3D line chart
Configuration menu - View commit details
-
Copy full SHA for 0e657c8 - Browse repository at this point
Copy the full SHA 0e657c8View commit details
Commits on Oct 12, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for 7363c1e - Browse repository at this point
Copy the full SHA 7363c1eView commit details
Commits on Oct 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3d02726 - Browse repository at this point
Copy the full SHA 3d02726View commit details
Commits on Oct 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3ece904 - Browse repository at this point
Copy the full SHA 3ece904View commit details
Commits on Oct 19, 2022
-
This close #1373, fixes the incorrect build-in number format apply th…
…e 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
Configuration menu - View commit details
-
Copy full SHA for 2df615f - Browse repository at this point
Copy the full SHA 2df615fView commit details
Commits on Oct 20, 2022
-
Fix the formula calculation result issue of the OR function (#1374)
Co-authored-by: gonghaibin <gonghaibin@qq.com>
Configuration menu - View commit details
-
Copy full SHA for f843a9e - Browse repository at this point
Copy the full SHA f843a9eView commit details
Commits on Oct 23, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for 14c6a19 - Browse repository at this point
Copy the full SHA 14c6a19View commit details
Commits on Oct 25, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for f44153e - Browse repository at this point
Copy the full SHA f44153eView commit details -
This closes #1379, cleanup stream writer temporary files by the `Clos…
…e` 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
Configuration menu - View commit details
-
Copy full SHA for adf9d37 - Browse repository at this point
Copy the full SHA adf9d37View commit details
Commits on Oct 27, 2022
-
Fix the error on getting the range of merged cells on the worksheet w…
…hich 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
Configuration menu - View commit details
-
Copy full SHA for a410b22 - Browse repository at this point
Copy the full SHA a410b22View commit details
Commits on Nov 2, 2022
-
This closes #1204, breaking changes for add comments
- Allowing insert SVG format images - Unit tests updated
Configuration menu - View commit details
-
Copy full SHA for db2d084 - Browse repository at this point
Copy the full SHA db2d084View commit details -
This closes #1383, skip empty rows when saving the spreadsheet to red…
…uce file size
Configuration menu - View commit details
-
Copy full SHA for 4998b7b - Browse repository at this point
Copy the full SHA 4998b7bView commit details
Commits on Nov 5, 2022
-
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>
Configuration menu - View commit details
-
Copy full SHA for 75c912c - Browse repository at this point
Copy the full SHA 75c912cView commit details
Commits on Nov 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8753950 - Browse repository at this point
Copy the full SHA 8753950View commit details
Commits on Nov 10, 2022
-
Support update column style when inserting or deleting columns
- Go Modules dependencies upgrade - Unify internal variable name - Unit test updated
Configuration menu - View commit details
-
Copy full SHA for 58b5dae - Browse repository at this point
Copy the full SHA 58b5daeView commit details
Commits on Nov 11, 2022
-
This is a breaking change, remove partial internal error log print, t…
…hrow XML deserialize error - Add error return value for the `GetComments`, `GetDefaultFont` and `SetDefaultFont` functions - Update unit tests
Configuration menu - View commit details
-
Copy full SHA for bd5dd17 - Browse repository at this point
Copy the full SHA bd5dd17View commit details
Commits on Nov 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ac564af - Browse repository at this point
Copy the full SHA ac564afView commit details
Commits on Nov 15, 2022
-
This closes #1391, escape XML characters to avoid with corrupt file
- Update and improve unit test coverage
Configuration menu - View commit details
-
Copy full SHA for 45d168c - Browse repository at this point
Copy the full SHA 45d168cView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa80fa4 - Browse repository at this point
Copy the full SHA aa80fa4View commit details
Commits on Nov 21, 2022
-
This closes #1396, fix formula fn ADDRESS result error with empty wor…
…ksheet name (#1397) - Update unit tests Co-authored-by: jayhoo <hujie@ynningneng.com>
Configuration menu - View commit details
-
Copy full SHA for dde6b9c - Browse repository at this point
Copy the full SHA dde6b9cView commit details
Commits on Nov 28, 2022
-
This closes #1404, fixes the insert picture problem in some cases
- Updates unit tests - Updates documentation for stream mode functions - Updates hyperlinks in the documentation
Configuration menu - View commit details
-
Copy full SHA for c071395 - Browse repository at this point
Copy the full SHA c071395View commit details
Commits on Dec 1, 2022
-
This closes #1405, add new function SetSheetBackgroundFromBytes (#1406)
Co-authored-by: houjianxin.rupert <houjianxin.rupert@bytedance.com>
Configuration menu - View commit details
-
Copy full SHA for 5e0953d - Browse repository at this point
Copy the full SHA 5e0953dView commit details
Commits on Dec 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 61fda0b - Browse repository at this point
Copy the full SHA 61fda0bView commit details
Commits on Dec 19, 2022
-
This closes #1416, support set row outline level to stream (#1422)
Co-authored-by: TlyupovBM <bajjzet.tlyupov@vseinstrumenti.ru>
Configuration menu - View commit details
-
Copy full SHA for ce4f7a2 - Browse repository at this point
Copy the full SHA ce4f7a2View commit details
Commits on Dec 22, 2022
-
This closes #1425, breaking changes for sheet name (#1426)
- Checking and return error for invalid sheet name instead of trim invalid characters - Add error return for the 4 functions: `DeleteSheet`, `GetSheetIndex`, `GetSheetVisible` and `SetSheetName` - Export new error 4 constants: `ErrSheetNameBlank`, `ErrSheetNameInvalid`, `ErrSheetNameLength` and `ErrSheetNameSingleQuote` - Rename exported error constant `ErrExistsWorksheet` to `ErrExistsSheet` - Update unit tests for 90 functions: `AddChart`, `AddChartSheet`, `AddComment`, `AddDataValidation`, `AddPicture`, `AddPictureFromBytes`, `AddPivotTable`, `AddShape`, `AddSparkline`, `AddTable`, `AutoFilter`, `CalcCellValue`, `Cols`, `DeleteChart`, `DeleteComment`, `DeleteDataValidation`, `DeletePicture`, `DeleteSheet`, `DuplicateRow`, `DuplicateRowTo`, `GetCellFormula`, `GetCellHyperLink`, `GetCellRichText`, `GetCellStyle`, `GetCellType`, `GetCellValue`, `GetColOutlineLevel`, `GetCols`, `GetColStyle`, `GetColVisible`, `GetColWidth`, `GetConditionalFormats`, `GetDataValidations`, `GetMergeCells`, `GetPageLayout`, `GetPageMargins`, `GetPicture`, `GetRowHeight`, `GetRowOutlineLevel`, `GetRows`, `GetRowVisible`, `GetSheetIndex`, `GetSheetProps`, `GetSheetVisible`, `GroupSheets`, `InsertCol`, `InsertPageBreak`, `InsertRows`, `MergeCell`, `NewSheet`, `NewStreamWriter`, `ProtectSheet`, `RemoveCol`, `RemovePageBreak`, `RemoveRow`, `Rows`, `SearchSheet`, `SetCellBool`, `SetCellDefault`, `SetCellFloat`, `SetCellFormula`, `SetCellHyperLink`, `SetCellInt`, `SetCellRichText`, `SetCellStr`, `SetCellStyle`, `SetCellValue`, `SetColOutlineLevel`, `SetColStyle`, `SetColVisible`, `SetColWidth`, `SetConditionalFormat`, `SetHeaderFooter`, `SetPageLayout`, `SetPageMargins`, `SetPanes`, `SetRowHeight`, `SetRowOutlineLevel`, `SetRowStyle`, `SetRowVisible`, `SetSheetBackground`, `SetSheetBackgroundFromBytes`, `SetSheetCol`, `SetSheetName`, `SetSheetProps`, `SetSheetRow`, `SetSheetVisible`, `UnmergeCell`, `UnprotectSheet` and `UnsetConditionalFormat` - Update documentation of the set style functions Co-authored-by: guoweikuang <weikuang.guo@shopee.com>
Configuration menu - View commit details
-
Copy full SHA for 6a5ee81 - Browse repository at this point
Copy the full SHA 6a5ee81View commit details
Commits on Dec 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0c76766 - Browse repository at this point
Copy the full SHA 0c76766View commit details
Commits on Dec 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a57203a - Browse repository at this point
Copy the full SHA a57203aView commit details
Commits on Dec 29, 2022
-
Breaking change: changed the function signature for 11 exported funct…
…ions * Change `func (f *File) NewConditionalStyle(style string) (int, error)` to `func (f *File) NewConditionalStyle(style *Style) (int, error)` * Change `func (f *File) NewStyle(style interface{}) (int, error)` to `func (f *File) NewStyle(style *Style) (int, error)` * Change `func (f *File) AddChart(sheet, cell, opts string, combo ...string) error` to `func (f *File) AddChart(sheet, cell string, chart *ChartOptions, combo ...*ChartOptions) error` * Change `func (f *File) AddChartSheet(sheet, opts string, combo ...string) error` to `func (f *File) AddChartSheet(sheet string, chart *ChartOptions, combo ...*ChartOptions) error` * Change `func (f *File) AddShape(sheet, cell, opts string) error` to `func (f *File) AddShape(sheet, cell string, opts *Shape) error` * Change `func (f *File) AddPictureFromBytes(sheet, cell, opts, name, extension string, file []byte) error` to `func (f *File) AddPictureFromBytes(sheet, cell, name, extension string, file []byte, opts *PictureOptions) error` * Change `func (f *File) AddTable(sheet, hCell, vCell, opts string) error` to `func (f *File) AddTable(sheet, reference string, opts *TableOptions) error` * Change `func (sw *StreamWriter) AddTable(hCell, vCell, opts string) error` to `func (sw *StreamWriter) AddTable(reference string, opts *TableOptions) error` * Change `func (f *File) AutoFilter(sheet, hCell, vCell, opts string) error` to `func (f *File) AutoFilter(sheet, reference string, opts *AutoFilterOptions) error` * Change `func (f *File) SetPanes(sheet, panes string) error` to `func (f *File) SetPanes(sheet string, panes *Panes) error` * Change `func (sw *StreamWriter) AddTable(hCell, vCell, opts string) error` to `func (sw *StreamWriter) AddTable(reference string, opts *TableOptions) error` * Change `func (f *File) SetConditionalFormat(sheet, reference, opts string) error` to `func (f *File) SetConditionalFormat(sheet, reference string, opts []ConditionalFormatOptions) error` * Add exported types: * AutoFilterListOptions * AutoFilterOptions * Chart * ChartAxis * ChartDimension * ChartLegend * ChartLine * ChartMarker * ChartPlotArea * ChartSeries * ChartTitle * ConditionalFormatOptions * PaneOptions * Panes * PictureOptions * Shape * ShapeColor * ShapeLine * ShapeParagraph * TableOptions * This added support for set sheet visible as very hidden * Return error when missing required parameters for set defined name * Update unit test and comments
Configuration menu - View commit details
-
Copy full SHA for f58dabd - Browse repository at this point
Copy the full SHA f58dabdView commit details
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.