[Libreoffice-ux-advise] [Bug 93970] Writer: default Heading styles 1 - 10 defined with negative indent for first line, results in odd multi-line Heading formats

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 4 12:37:37 UTC 2016


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

--- Comment #27 from Luke Deller <luke at deller.id.au> ---
(In reply to V Stuart Foote from comment #12)
> Yes, unclear why/how we have formatted multi-line Heading with a negative
> indent for first line.

I did some digging to understand this.  The old behaviour actually makes sense
when outline numbering is enabled: it means that the indent of the second line
will align with the heading text on the first line, taking into account that
the first line starts with a number followed by a tab stop before the heading
text begins.

I can also see that the default back in early 1996 was to have outline
numbering enabled, from some old German comments in revision 84a3db80 of
sw/source/core/doc/number.cxx

> Also, there is some weird juxtaposition in editengine
> in that the successive HEADING levels increase the base line of the indent.
> That doesn't seem correct either.

This increase in the indent amount makes sense when fully-qualified (dotted)
section numbering is used.  For example a level 3 heading may have a dotted
number like "5.1.7", and deeper levels have even more dots, so they need more
room for the numbering.  I guess that such numbering used to be the default.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list