From 0dac43445b35da7e554dd4d7574c59611a0d0be1 Mon Sep 17 00:00:00 2001 From: Balazs Varga Date: Sat, 16 Mar 2019 18:05:01 +0100 Subject: tdf#81437 XLSX import: fix missing chart border MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit of MSO 2007/2010 documents with "automatic" chart area formatting, setting also the default 0.75 pt border width and light gray border color. Note: MSO 2007/2010 and MSO 2013/2016 have different "automatic" border colors. This fix uses the last, light gray version instead of the dark one. Change-Id: I579f3745d5fcb2a36e1b4d519320631d20e60fd4 Reviewed-on: https://gerrit.libreoffice.org/69341 Tested-by: Jenkins Reviewed-by: László Németh --- include/oox/helper/graphichelper.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/oox/helper/graphichelper.hxx b/include/oox/helper/graphichelper.hxx index 0f277ca98fd0..a3db628ee361 100644 --- a/include/oox/helper/graphichelper.hxx +++ b/include/oox/helper/graphichelper.hxx @@ -73,6 +73,12 @@ public: virtual sal_Int32 getDefaultChartAreaFillStyle() const; + /** Returns chartspace automatic default border style */ + virtual sal_Int32 getDefaultChartAreaLineStyle() const; + + /** Returns chartspace automatic default border width in Emu */ + virtual sal_Int16 getDefaultChartAreaLineWidth() const; + // Device info and device dependent unit conversion ----------------------- /** Returns information about the output device. */ -- cgit