[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - oox/source
Bartosz Kosiorek
gang65 at poczta.onet.pl
Sat Apr 7 09:43:28 UTC 2018
oox/source/export/chartexport.cxx | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
New commits:
commit 49c0d98cb2bec7d171f9847b1335874c05042187
Author: Bartosz Kosiorek <gang65 at poczta.onet.pl>
Date: Sun Feb 18 22:12:29 2018 +0100
Add export of the side wall for 3D chart, during .xlsx export
LibreOffice doens't distinguish between sideWall and backWall.
It is controlled by the same Wall property.
Change-Id: If1919cf0a9bad3e80544cc5b2ae0f40f606febeb
Reviewed-on: https://gerrit.libreoffice.org/49429
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Bartosz Kosiorek <gang65 at poczta.onet.pl>
(cherry picked from commit ff63bae0133e3b90b32af88a4307fb4f5dafd95f)
Reviewed-on: https://gerrit.libreoffice.org/50679
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 86e7c7c6afb1..d3ff150d47b5 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -735,15 +735,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 ) );
}
More information about the Libreoffice-commits
mailing list