summaryrefslogtreecommitdiff
path: root/xmlStyles.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2018-03-07 12:56:18 +0800
committerRi Xu <xuri.me@gmail.com>2018-03-07 12:56:18 +0800
commitecc3adf22ab825b69c2aca74018247fbb4ed8cfd (patch)
treed80cc8a4019fe5c717754b3f13f2b9923562e4d8 /xmlStyles.go
parent06e54bf1c6658f7c78b43c5d1d37b0cc8e2d9e64 (diff)
- Add protection properties associated with the cell support, relate issue #191;
- godoc and go test has been updated
Diffstat (limited to 'xmlStyles.go')
-rw-r--r--xmlStyles.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmlStyles.go b/xmlStyles.go
index 8477804..05ff22b 100644
--- a/xmlStyles.go
+++ b/xmlStyles.go
@@ -344,6 +344,10 @@ type formatStyle struct {
Vertical string `json:"vertical"`
WrapText bool `json:"wrap_text"`
} `json:"alignment"`
+ Protection *struct {
+ Hidden bool `json:"hidden"`
+ Locked bool `json:"locked"`
+ } `json:"protection"`
NumFmt int `json:"number_format"`
DecimalPlaces int `json:"decimal_places"`
CustomNumFmt *string `json:"custom_number_format"`