diff options
author | Justin Luth <justin.luth@collabora.com> | 2024-05-17 10:01:50 -0400 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2024-05-20 15:40:07 +0200 |
commit | 047e3f62901ae89da30bf1367218104e57439f70 (patch) | |
tree | 8225635ba2e9e9f6eae0994f1273a0042646b54a /download.lst | |
parent | 02c01942328bd40183a61c054c00d8b292f9dfd0 (diff) |
related tdf#156105 sw UI: recognize '%' in numbering prefix/suffix
bug 156105's listWithPercents.odt is an example of a
properly defined ListFormat which contains a percent symbol
in the prefix and suffix, which looked fine in the document itself,
but was cut off short in the UI.
sw/qa/extras/ooxmlexport/data/tdf116883.docx is also an example,
which can be seen if you reduce the first entry to level 1
instead of level 2.
Level 1 is improperly defined as "1%>". This is invalid formatting,
so the entire thing should be considered a suffix.
MS Word also considers it to be a suffix.
This code segment still isn't completely comprehensive
because it won't properly parse "%1xyz%1%." and "%1xyz%10%."
but I'm losing patience.
There is still a potential problem with the
nInclUpperLevels calculation in case
a '%' is used as an in-between separator,
but that seems extremely theoretical and irrelevant to me.
IIUC, the main impact is that it shows some extra dots
in the bullets and numbering UI preview.
Change-Id: Ic1b8fbda62917ad4c7b88bf4fff136d72242f977
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167782
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
Tested-by: Jenkins
Diffstat (limited to 'download.lst')
0 files changed, 0 insertions, 0 deletions