respect order of elements in OOXML chart export, related fdo#59857

Change-Id: I541e04d2f4a3b272894ceb67b4bd970e235b96a2
This commit is contained in:
Markus Mohrhard
2013-05-05 18:50:51 +02:00
parent ebfcf864e5
commit e415e070d6

View File

@@ -806,6 +806,16 @@ void ChartExport::exportChart( Reference< ::com::sun::star::chart::XChartDocumen
{
exportView3D();
// floor
Reference< beans::XPropertySet > xFloor( mxNewDiagram->getFloor(), uno::UNO_QUERY );
if( xFloor.is() )
{
pFS->startElement( FSNS( XML_c, XML_floor ),
FSEND );
exportShapeProps( xFloor );
pFS->endElement( FSNS( XML_c, XML_floor ) );
}
// sideWall
// backWall
@@ -818,16 +828,6 @@ void ChartExport::exportChart( Reference< ::com::sun::star::chart::XChartDocumen
pFS->endElement( FSNS( XML_c, XML_backWall ) );
}
// floor
Reference< beans::XPropertySet > xFloor( mxNewDiagram->getFloor(), uno::UNO_QUERY );
if( xFloor.is() )
{
pFS->startElement( FSNS( XML_c, XML_floor ),
FSEND );
exportShapeProps( xFloor );
pFS->endElement( FSNS( XML_c, XML_floor ) );
}
}
// plot area
exportPlotArea( );