Browse Source

fix #236 that the file is broken when the origin file contains formula

GaoXiang 9 years ago
parent
commit
365867b437
1 changed files with 1 additions and 1 deletions
  1. 1 1
      xmlWorksheet.go

+ 1 - 1
xmlWorksheet.go

@@ -277,8 +277,8 @@ type xlsxC struct {
 	R string `xml:"r,attr"`           // Cell ID, e.g. A1
 	S int    `xml:"s,attr,omitempty"` // Style reference.
 	T string `xml:"t,attr,omitempty"` // Type.
-	V string `xml:"v,omitempty"`      // Value
 	F *xlsxF `xml:"f,omitempty"`      // Formula
+	V string `xml:"v,omitempty"`      // Value
 }
 
 // xlsxF directly maps the f element in the namespace