forked from p30928647/excelize
Remove calculated properties to make recalculate formulas in some spreadsheet applications, such as Kingsoft WPS
This commit is contained in:
parent
cb79754068
commit
2ccb8f62ed
|
@ -273,6 +273,9 @@ func replaceStyleRelationshipsNameSpaceBytes(contentMarshal []byte) []byte {
|
|||
// </row>
|
||||
//
|
||||
func (f *File) UpdateLinkedValue() error {
|
||||
wb := f.workbookReader()
|
||||
// recalculate formulas
|
||||
wb.CalcPr = nil
|
||||
for _, name := range f.GetSheetMap() {
|
||||
xlsx, err := f.workSheetReader(name)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue