diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-04-29 16:33:24 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-05-07 13:21:03 +0200 |
commit | ea45a11fe308f679bd10e1a3d86f77872d479c00 (patch) | |
tree | 931764b61a79973639de591556c33bd12c4c38e4 /oox/source | |
parent | 43380be6341811f077e6f73c38ebf7a01bbc6209 (diff) |
c:varyColor is true by default in Excel
And another step closer to opening my test file correctly in Excel.
Change-Id: Ib6aa8ddb2f2792513c7263d86865e08fe5f1483d
(cherry picked from commit 81b9d431678bc270e7592e9bedb81d2d445e2122)
Reviewed-on: https://gerrit.libreoffice.org/3686
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/export/chartexport.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 5d116957f0a1..b7736d547a40 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1341,6 +1341,10 @@ void ChartExport::exportScatterChart( Reference< chart2::XChartType > xChartType XML_val, scatterStyle, FSEND ); + pFS->singleElement( FSNS( XML_c, XML_varyColors ), + XML_val, "0", + FSEND ); + // FIXME: should export xVal and yVal sal_Int32 nAttachedAxis = AXIS_PRIMARY_Y; exportSeries( xChartType, nAttachedAxis ); |