diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index cb4994aa89be..085427e803bb 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -738,15 +738,21 @@ void ChartExport::exportChart( const Reference< css::chart::XChartDocument >& xC pFS->endElement( FSNS( XML_c, XML_floor ) ); } - // sideWall - - // backWall - Reference< beans::XPropertySet > xBackWall( mxNewDiagram->getWall(), uno::UNO_QUERY ); - if( xBackWall.is() ) + // LibreOffice doens't distinguish between sideWall and backWall (both are using the same color). + // It is controlled by the same Wall property. + Reference< beans::XPropertySet > xWall( mxNewDiagram->getWall(), uno::UNO_QUERY ); + if( xWall.is() ) { + // sideWall + pFS->startElement( FSNS( XML_c, XML_sideWall ), + FSEND ); + exportShapeProps( xWall ); + pFS->endElement( FSNS( XML_c, XML_sideWall ) ); + + // backWall pFS->startElement( FSNS( XML_c, XML_backWall ), FSEND ); - exportShapeProps( xBackWall ); + exportShapeProps( xWall ); pFS->endElement( FSNS( XML_c, XML_backWall ) ); } |