From a410b22bdd50e9f212b0b454e5aed798e3476394 Mon Sep 17 00:00:00 2001 From: xuri Date: Fri, 28 Oct 2022 00:31:55 +0800 Subject: 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 --- shape.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shape.go') 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, }, -- cgit v1.2.1