summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-29 16:33:24 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-29 16:43:07 +0200
commit81b9d431678bc270e7592e9bedb81d2d445e2122 (patch)
tree7e76d17d3d3450805ffeb698b9dcf055aeb8f90b /oox
parent5c19f86a077622141560bdba97e94136db9e9b40 (diff)
c:varyColor is true by default in Excel
And another step closer to opening my test file correctly in Excel. Change-Id: Ib6aa8ddb2f2792513c7263d86865e08fe5f1483d
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index d0895f3c5ce8..98fff6fd65ae 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1330,6 +1330,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 );