diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-04-29 00:12:07 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-04-29 00:15:01 +0200 |
commit | e81d0c400c02a87d7fa492dbc5ac9f7921167920 (patch) | |
tree | f2b9a40ca91d813907cb4f6e5edec96b697817a2 | |
parent | 3812e99e939e6f3d8a6246c7adaa01de4e5abb99 (diff) |
change order to allow validation of chart part
My simple test file is finally valid but is still now shown in Excel.
There must be another bug in our exporter.
Change-Id: Ib55e5b32edc3a556e9081b3008df539275dc289b
-rw-r--r-- | oox/source/export/chartexport.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 9198924bdec5..c3cf09fdb146 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -2188,6 +2188,9 @@ void ChartExport::_exportAxis( XML_val, sTickLblPos, FSEND ); + // shape properties + exportShapeProps( xAxisProp ); + pFS->singleElement( FSNS( XML_c, XML_crossAx ), XML_val, I32S( aAxisIdPair.nCrossAx ), FSEND ); @@ -2282,8 +2285,6 @@ void ChartExport::_exportAxis( FSEND ); } - // shape properties - exportShapeProps( xAxisProp ); // TODO: text properties pFS->endElement( FSNS( XML_c, nAxisType ) ); |