Kaydet (Commit) 54fbbc20 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

respect element order in OOXML chart export, related fdo#63114

Change-Id: I591a63c38ab18b03a2f86428defbdac0cb96a1c0
üst 911186d9
......@@ -1530,15 +1530,15 @@ void ChartExport::exportSeries( Reference< chart2::XChartType > xChartType, sal_
}
}
// export data points
exportDataPoints( uno::Reference< beans::XPropertySet >( aSeriesSeq[nSeriesIdx], uno::UNO_QUERY ), nSeriesLength );
// export data labels
// Excel does not like our current data label export
// for scatter charts
if( eChartType != chart::TYPEID_SCATTER && eChartType != chart::TYPEID_BAR )
exportDataLabels( uno::Reference< beans::XPropertySet >( aSeriesSeq[nSeriesIdx], uno::UNO_QUERY ), nSeriesLength );
// export data points
exportDataPoints( uno::Reference< beans::XPropertySet >( aSeriesSeq[nSeriesIdx], uno::UNO_QUERY ), nSeriesLength );
//export error bars here
Reference< XPropertySet > xSeriesPropSet( xSource, uno::UNO_QUERY );
Reference< XPropertySet > xErrorBarYProps;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment