https://bugs.documentfoundation.org/show_bug.cgi?id=153878

--- Comment #4 from Caolán McNamara <caol...@redhat.com> ---
Created attachment 185955
  --> https://bugs.documentfoundation.org/attachment.cgi?id=185955&action=edit
patch to illustrate the problem better

I debugged this a little and:

The column is 0.92cm wide, so ~521 twips wide.
The numbering is aligned at 0.50cm, so there are 283 twips to the left of the
alignment and 238 to the right of the alignment.

As far as I can see the initial calculation for these numbering portions is
done with a width of *238*, not 283. So the width of 11 is 231 and is
considered ok, but 10 is 240 which is wider than the 238, so 10 is line wrapped
to give just 1 and that 10 positioned as if it was only 1. So calculation
appears to be done as if the numbering was left aligned.

attached is a debugging patch to illustrate the problem if someone else wants
to take on the task of figuring out what the right thing to do is. I find the
problem in both the earliest version of LibreOffice I have and AOO, so I think
its fundamentally inherited from OOo

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to