summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga991@gmail.com>2019-06-17 14:58:54 +0200
committerLászló Németh <nemeth@numbertext.org>2019-06-18 12:55:54 +0200
commit1b26a6e7a4e3865d1555fa0612845c765b114b49 (patch)
tree07802ae4fddc478d21e7d8d9be309192284b1ac2 /oox
parentcc0dc723c7d8354b5203310ef1381bbf54258eba (diff)
tdf#111824 Chart OOXML Export: fix Z axis labels
Export 3D barchart Z ("deep") axis properties into <serAx> xml tag, as the OOXML Standard requires. Change-Id: I8ee2282a28e9b4bdea6e96c96256f832b1a1aada Reviewed-on: https://gerrit.libreoffice.org/74170 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index ae16670ebe56..65b7bd3c3e23 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2423,6 +2423,8 @@ void ChartExport::exportAxis(const AxisIdPair& rAxisIdPair)
nAxisType = XML_valAx;
else if( eChartType == chart::TYPEID_STOCK )
nAxisType = XML_dateAx;
+ else if( eChartType == chart::TYPEID_BAR )
+ nAxisType = XML_serAx;
// FIXME: axPos, need to check axis direction
sAxPos = "b";
break;