summaryrefslogtreecommitdiff
path: root/xmlStyles.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-10-24 00:02:22 +0800
committerxuri <xuri.me@gmail.com>2022-10-24 00:52:09 +0800
commit14c6a198ce27b44fcce5447a2b757ce403ebb8fc (patch)
treea59eea77f6e6d691a1015afa2b3629cbe7cc695b /xmlStyles.go
parentf843a9ea56710deb4cdb77ea2cd3a08d8d82d3e6 (diff)
Support get cell value which contains a date in the ISO 8601 format
- Support set and get font color with indexed color - New export variable `IndexedColorMapping` - Fix getting incorrect page margin settings when the margin is 0 - Update unit tests and comments typo fixes - ref #65, new formula functions: AGGREGATE and SUBTOTAL
Diffstat (limited to 'xmlStyles.go')
-rw-r--r--xmlStyles.go21
1 files changed, 11 insertions, 10 deletions
diff --git a/xmlStyles.go b/xmlStyles.go
index e35dbdd..c9e0761 100644
--- a/xmlStyles.go
+++ b/xmlStyles.go
@@ -334,16 +334,17 @@ type Border struct {
// Font directly maps the font settings of the fonts.
type Font struct {
- Bold bool `json:"bold"`
- Italic bool `json:"italic"`
- Underline string `json:"underline"`
- Family string `json:"family"`
- Size float64 `json:"size"`
- Strike bool `json:"strike"`
- Color string `json:"color"`
- ColorTheme *int `json:"color_theme"`
- ColorTint float64 `json:"color_tint"`
- VertAlign string `json:"vertAlign"`
+ Bold bool `json:"bold"`
+ Italic bool `json:"italic"`
+ Underline string `json:"underline"`
+ Family string `json:"family"`
+ Size float64 `json:"size"`
+ Strike bool `json:"strike"`
+ Color string `json:"color"`
+ ColorIndexed int `json:"color_indexed"`
+ ColorTheme *int `json:"color_theme"`
+ ColorTint float64 `json:"color_tint"`
+ VertAlign string `json:"vertAlign"`
}
// Fill directly maps the fill settings of the cells.