summaryrefslogtreecommitdiff
path: root/xmlStyles.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmlStyles.go')
-rw-r--r--xmlStyles.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmlStyles.go b/xmlStyles.go
index 92e4e6a..afdc170 100644
--- a/xmlStyles.go
+++ b/xmlStyles.go
@@ -11,10 +11,14 @@
package excelize
-import "encoding/xml"
+import (
+ "encoding/xml"
+ "sync"
+)
// xlsxStyleSheet is the root element of the Styles part.
type xlsxStyleSheet struct {
+ sync.Mutex
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/spreadsheetml/2006/main styleSheet"`
NumFmts *xlsxNumFmts `xml:"numFmts,omitempty"`
Fonts *xlsxFonts `xml:"fonts,omitempty"`