diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2019-06-17 14:58:54 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-06-19 11:29:32 +0200 |
commit | 21be3e19d84a88224ed7e3825b6e39c7ad0b17c2 (patch) | |
tree | 0043089df3e8a21baf3867650648ca3a672d8d5c /oox | |
parent | 54c7f48ded248f6da6a22fffca053d82674aa7b5 (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>
(cherry picked from commit 1b26a6e7a4e3865d1555fa0612845c765b114b49)
Reviewed-on: https://gerrit.libreoffice.org/74339
Reviewed-by: Balazs Varga <balazs.varga991@gmail.com>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 95962aa1d656..ffb7f8042179 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -2424,6 +2424,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; |