From ecc3adf22ab825b69c2aca74018247fbb4ed8cfd Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Wed, 7 Mar 2018 12:56:18 +0800 Subject: - Add protection properties associated with the cell support, relate issue #191; - godoc and go test has been updated --- xmlStyles.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmlStyles.go') 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"` -- cgit v1.2.1