From 0072bb731043f89ce978778b9d7fdc6160e29de0 Mon Sep 17 00:00:00 2001 From: xuri Date: Fri, 22 Feb 2019 22:17:38 +0800 Subject: resolve the issue corrupted xlsx after deleting formula of cell, reference #346 --- excelize.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'excelize.go') diff --git a/excelize.go b/excelize.go index 32f0451..32aa431 100644 --- a/excelize.go +++ b/excelize.go @@ -25,6 +25,7 @@ import ( type File struct { checked map[string]bool sheetMap map[string]string + CalcChain *xlsxCalcChain ContentTypes *xlsxTypes Path string SharedStrings *xlsxSST @@ -201,7 +202,8 @@ func (f *File) UpdateLinkedValue() { // row: Index number of the row we're inserting/deleting before // offset: Number of rows/column to insert/delete negative values indicate deletion // -// TODO: adjustPageBreaks, adjustComments, adjustDataValidations, adjustProtectedCells +// TODO: adjustCalcChain, adjustPageBreaks, adjustComments, +// adjustDataValidations, adjustProtectedCells // func (f *File) adjustHelper(sheet string, column, row, offset int) { xlsx := f.workSheetReader(sheet) -- cgit v1.2.1