diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-04-29 16:33:24 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.de> | 2013-05-02 02:53:42 +0000 |
commit | b2ca1489d885cbd99362878d2fc0b78cc90b435a (patch) | |
tree | fd804c9ac4fac52e372b76436f08a96cae4f8401 /oox | |
parent | 4f6efe9cb4d0d91a0ea94a86b7a068000dceb602 (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')
-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 ); |