From 2616aa88cb2b1e45c03ada60093f4dfe7fabfb87 Mon Sep 17 00:00:00 2001 From: xuri Date: Fri, 3 Sep 2021 22:51:56 +0800 Subject: Add set shared formula support and documentation for the `SetCellFormula` --- xmlWorksheet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlWorksheet.go') diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 697504e..a4aef4c 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -475,7 +475,7 @@ type xlsxF struct { Content string `xml:",chardata"` T string `xml:"t,attr,omitempty"` // Formula type Ref string `xml:"ref,attr,omitempty"` // Shared formula ref - Si string `xml:"si,attr,omitempty"` // Shared formula index + Si *int `xml:"si,attr"` // Shared formula index } // xlsxSheetProtection collection expresses the sheet protection options to -- cgit v1.2.1