summaryrefslogtreecommitdiff
path: root/xmlDrawing.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-03-10 00:04:23 +0800
committerxuri <xuri.me@gmail.com>2020-03-10 00:04:23 +0800
commit9e2318cefa4ebaa7bf6b1dbc95b30ad7a32366b1 (patch)
tree5662b564bb64068e0f60f1ade1dd5679f9df3974 /xmlDrawing.go
parent2ccb8f62edd5d1ce039e663591964b9066fd2f4e (diff)
Resolve #470, export Style structs to allow create the style for cells by given JSON or structure
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r--xmlDrawing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go
index 5bb5977..2bad16a 100644
--- a/xmlDrawing.go
+++ b/xmlDrawing.go
@@ -417,8 +417,8 @@ type formatShape struct {
// formatShapeParagraph directly maps the format settings of the paragraph in
// the shape.
type formatShapeParagraph struct {
- Font formatFont `json:"font"`
- Text string `json:"text"`
+ Font Font `json:"font"`
+ Text string `json:"text"`
}
// formatShapeColor directly maps the color settings of the shape.