tdf#145178 Formats in section Foot/Endnotes not read from saved files
commitb58c969f11a9ce5824ace49d21ead73afb776874
authorLouis Possoz <louis.possoz@quelfutur.org>
Sat, 30 Apr 2022 05:39:38 +0000 (30 06:39 +0100)
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Wed, 1 Jun 2022 17:04:08 +0000 (1 19:04 +0200)
tree783c16a37b7d7efc132dbbb9fbff63da00cf2bad
parent33e1d55aba6b6f91c056de7ed6c9aff2832782bf
tdf#145178 Formats in section Foot/Endnotes not read from saved files

Imported, 'num-suffix' & 'num-format' properties generate debug warnings:

warn:xmloff:10220:10220:xmloff/source/text/
   XMLSectionFootnoteConfigImport.cxx:123: unknown attribute urn:oasis
   :names:tc:opendocument:xmlns:style:1.0 style:num-suffix value=]]
warn:xmloff:10220:10220:xmloff/source/text/
   XMLSectionFootnoteConfigImport.cxx:123: unknown attribute urn:oasis
   :names:tc:opendocument:xmlns:style:1.0 style:num-format value=One

The faulty code is within XMLSectionFootnoteConfigImport::startFastElement()

The namespace for these two properties must be set to 'STYLE'
   (it is wrongly set to 'TEXT')

Change-Id: I923f12e19ed15779c67b2159d88d80a2ccb04e17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133605
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit bbec710bd25fc5da27636cde73fe4ab23c76904f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135054
Tested-by: Jenkins
(cherry picked from commit aa8aab0a753d6ee79cb371b2a4f141070715449a)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135057
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
xmloff/source/text/XMLSectionFootnoteConfigImport.cxx