Kaydet (Commit) 4e441a35 authored tarafından Gülşah Köse's avatar Gülşah Köse Kaydeden (comit) Andras Timar

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
(cherry picked from commit 1e38d5b9)
Reviewed-on: https://gerrit.libreoffice.org/66702Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst f3b2383b
......@@ -3168,6 +3168,7 @@ void ChartExport::exportDataLabels(
continue;
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"))
{
......@@ -3182,7 +3183,6 @@ void ChartExport::exportDataLabels(
}
// Individual label property that overwrites the baseline.
pFS->singleElement(FSNS(XML_c, XML_idx), XML_val, I32S(nIdx), FSEND);
exportTextProps( xPropSet );
writeLabelProperties(pFS, this, xLabelPropSet, aParam);
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