sw padded numbering: add layout

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 3 March 2020 09:19 EST

lcl_formatArabicZero() looks a bit over-complicated with its hardcoded limit of 2. Word supports limits of 3, 4 and 5 as well, so prepare for handling them in a generic way.

Change-Id: If6e5634b11616f0ac05e1387016e22f4b171bbfb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89864

642b7706101a sw padded numbering: add layout
...ppunitTest_i18npool_defaultnumberingprovider.mk | 44 ++++++++++++++++++
i18npool/Module_i18npool.mk | 1 +
.../qa/cppunit/test_defaultnumberingprovider.cxx | 53 ++++++++++++++++++++++
.../defaultnumberingprovider.cxx | 28 ++++++++++++
4 files changed, 126 insertions(+)

Upstream: cgit.freedesktop.org


  • Share