diff options
author | xuri <xuri.me@gmail.com> | 2019-02-22 22:17:38 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-02-22 22:17:38 +0800 |
commit | 0072bb731043f89ce978778b9d7fdc6160e29de0 (patch) | |
tree | c44726082c606dbbcf6fa5c1dfba31cd81993c84 /excelize.go | |
parent | e780e41e0222517caa9c69030b5955ab2b458a49 (diff) |
resolve the issue corrupted xlsx after deleting formula of cell, reference #346
Diffstat (limited to 'excelize.go')
-rw-r--r-- | excelize.go | 4 |
1 files changed, 3 insertions, 1 deletions
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) |