summaryrefslogtreecommitdiff
path: root/shape.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-10-28 00:31:55 +0800
committerxuri <xuri.me@gmail.com>2022-10-28 00:31:55 +0800
commita410b22bdd50e9f212b0b454e5aed798e3476394 (patch)
treed8b234f1171f4c0222d09182dc9ed8e7e3ace658 /shape.go
parentadf9d37d82edd3dbc365fece76a031a92e2220d6 (diff)
Fix the error on getting the range of merged cells on the worksheet which contains one cell merged cell range
- Parse workbook default theme for custom theme color support in the feature - Variables name typo fix - Add system foreground and background color as RGB in the IndexedColorMapping list
Diffstat (limited to 'shape.go')
-rw-r--r--shape.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/shape.go b/shape.go
index e3c6c8b..9f250d7 100644
--- a/shape.go
+++ b/shape.go
@@ -418,7 +418,7 @@ func (f *File) addDrawingShape(sheet, drawingXML, cell string, opts *shapeOption
AltLang: "en-US",
U: u,
Sz: p.Font.Size * 100,
- Latin: &aLatin{Typeface: p.Font.Family},
+ Latin: &xlsxCTTextFont{Typeface: p.Font.Family},
},
T: text,
},