mso-test: c:noMultiLvlLbl not valid for category axis
This is using the test document from forum-mso-en4-58299.xls. Importing and exporting to XLSX and then running officeotron generates an error. The c:noMultiLvlLbl element is only valid for category axes, not date axes. Change-Id: If24941b9802a8e6e8f4e9243ad8f5cf07a85b1d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193527 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Stahl <michael.stahl@collabora.com> (cherry picked from commit cdf2a068a6c5f4d4d8051d845a08f9552b913079) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193545 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -4518,7 +4518,8 @@ void ChartExport::exportOneAxis_chart(
|
||||
}
|
||||
|
||||
// FIXME: seems not support? noMultiLvlLbl
|
||||
pFS->singleElement(FSNS(XML_c, XML_noMultiLvlLbl), XML_val, OString::number(0));
|
||||
if( nAxisType == XML_catAx )
|
||||
pFS->singleElement(FSNS(XML_c, XML_noMultiLvlLbl), XML_val, OString::number(0));
|
||||
}
|
||||
|
||||
// crossBetween
|
||||
|
||||
Reference in New Issue
Block a user