Kaydet (Commit) 1e38d5b9 authored tarafından Gülşah Köse's avatar Gülşah Köse

tdf#122031 Change element order for OOXML compatibility.

Change-Id: I8cca2db6157996dd25afa4c95e769725188fdfb9
Signed-off-by: 's avatarGülşah Köse <gulsah.kose@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/66686Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Jenkins
üst 88e139f1
...@@ -3232,6 +3232,7 @@ void ChartExport::exportDataLabels( ...@@ -3232,6 +3232,7 @@ void ChartExport::exportDataLabels(
continue; continue;
pFS->startElement(FSNS(XML_c, XML_dLbl), FSEND); pFS->startElement(FSNS(XML_c, XML_dLbl), FSEND);
pFS->singleElement(FSNS(XML_c, XML_idx), XML_val, I32S(nIdx), FSEND);
if (GetProperty(xLabelPropSet, "NumberFormat") || GetProperty(xLabelPropSet, "PercentageNumberFormat")) if (GetProperty(xLabelPropSet, "NumberFormat") || GetProperty(xLabelPropSet, "PercentageNumberFormat"))
{ {
...@@ -3246,7 +3247,6 @@ void ChartExport::exportDataLabels( ...@@ -3246,7 +3247,6 @@ void ChartExport::exportDataLabels(
} }
// Individual label property that overwrites the baseline. // Individual label property that overwrites the baseline.
pFS->singleElement(FSNS(XML_c, XML_idx), XML_val, I32S(nIdx), FSEND);
exportTextProps( xPropSet ); exportTextProps( xPropSet );
writeLabelProperties(pFS, this, xLabelPropSet, aParam); writeLabelProperties(pFS, this, xLabelPropSet, aParam);
pFS->endElement(FSNS(XML_c, XML_dLbl)); pFS->endElement(FSNS(XML_c, XML_dLbl));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment