[Libreoffice-bugs] [Bug 130358] [FORMATTING] Numbered List Improper Indent at 10 Position
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 12 14:31:07 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=130358
--- Comment #5 from Scito <info at scito.ch> ---
I've found the location of the problem. It is in sw/source/core/doc/number.cxx
line 393ff:
// position-and-space mode LABEL_ALIGNMENT
// first line indent of general numbering in inch: -0,25 inch
const long cFirstLineIndent = -1440/4;
// indent values of general numbering in inch:
// 0,5 0,75 1,0 1,25 1,5
// 1,75 2,0 2,25 2,5 2,75
const long cIndentAt[ MAXLEVEL ] = {
1440/2, 1440*3/4, 1440, 1440*5/4, 1440*3/2,
1440*7/4, 1440*2, 1440*9/4, 1440*5/2, 1440*11/4 };
The indents are hardcoded regardless of the dimensions of the font and the
number of list number digits.
A quick fix is to increase the hard coded indent, eg. use 1600 instead of 1440.
Workaround: the first knob in the ruler can be manually dragged left to
increase the indents.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201012/8d3c9d0e/attachment.htm>
More information about the Libreoffice-bugs
mailing list