diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-08-01 21:39:49 -0400 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-08-06 08:33:00 +0000 |
commit | e9f77854e20433287ca32569af01eb1508ca51a5 (patch) | |
tree | de0bd1e68f0afd6fd24f3ef56021c4984a9ddba6 /include | |
parent | 99d06de125334dba6981cec4c5f766fb8debcafb (diff) |
bnc#886540: Default chart background for pptx docs should be transparent.
Charts in docx and xlsx OTOH use solid white as the default fill style.
(cherry picked from commit 4a8f2431718f99de6fd9ee3461d703d007261c03)
(cherry picked from commit 013744a5b475e151ca0918565fb369e22dfbc1db)
Conflicts:
oox/source/drawingml/chart/chartspaceconverter.cxx
Change-Id: Ic4351fe65cabc12d60214b67c7026a317841f2c7
Reviewed-on: https://gerrit.libreoffice.org/10736
Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
Tested-by: Matúš Kukan <matus.kukan@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/helper/graphichelper.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/oox/helper/graphichelper.hxx b/include/oox/helper/graphichelper.hxx index f74963cad8b1..5981445d3263 100644 --- a/include/oox/helper/graphichelper.hxx +++ b/include/oox/helper/graphichelper.hxx @@ -24,6 +24,7 @@ #include <map> #include <rtl/ustring.hxx> #include <com/sun/star/awt/DeviceInfo.hpp> +#include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/uno/Reference.hxx> #include <oox/helper/binarystreambase.hxx> #include <oox/helper/storagebase.hxx> @@ -75,6 +76,8 @@ public: /** Derived classes may implement to resolve a palette index to an RGB color. */ virtual sal_Int32 getPaletteColor( sal_Int32 nPaletteIdx ) const; + virtual css::drawing::FillStyle getDefaultChartAreaFillStyle() const; + // Device info and device dependent unit conversion ----------------------- /** Returns information about the output device. */ |