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 --- drawing.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drawing.go') diff --git a/drawing.go b/drawing.go index 0bd8604..4fe575b 100644 --- a/drawing.go +++ b/drawing.go @@ -91,7 +91,7 @@ func (f *File) addChart(opts *chartOptions, comboCharts []*chartOptions) { Cs: &aCs{ Typeface: "+mn-cs", }, - Latin: &aLatin{ + Latin: &xlsxCTTextFont{ Typeface: "+mn-lt", }, }, @@ -1168,7 +1168,7 @@ func (f *File) drawPlotAreaTxPr(opts *chartAxisOptions) *cTxPr { LumOff: &attrValInt{Val: intPtr(85000)}, }, }, - Latin: &aLatin{Typeface: "+mn-lt"}, + Latin: &xlsxCTTextFont{Typeface: "+mn-lt"}, Ea: &aEa{Typeface: "+mn-ea"}, Cs: &aCs{Typeface: "+mn-cs"}, }, -- cgit v1.2.1