tdf#137199: sw: convert list format string to prefix/suffix for ODF
commit726d0a2d54da3e97de242c2c10be3afd2aedf943
authorVasily Melenchuk <vasily.melenchuk@cib.de>
Fri, 28 May 2021 06:10:35 +0000 (28 09:10 +0300)
committerThorsten Behrens <thorsten.behrens@allotropia.de>
Fri, 28 May 2021 07:39:34 +0000 (28 09:39 +0200)
treee23e5a625fa0337c80c990b969f3625654d662f0
parent9864fbc9d5f532d9aa4742968886b3f94bc44dbc
tdf#137199: sw: convert list format string to prefix/suffix for ODF

Since internally LO is able right now to use list level format strings
and prefixes/suffixes only for backward compatibility, there is a need
for conversion from format string (like "%1.") to prefix ("") and suffix
(".") still used by ODT.

Change-Id: If4b459e1b25b7f0ce511e6ac2de0824bb2c43d05
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116288
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
sw/qa/extras/odfexport/data/tdf137199.docx [new file with mode: 0644]
sw/qa/extras/odfexport/odfexport2.cxx
xmloff/source/style/xmlnume.cxx