Created attachment 75527 [details]
sample document illustrating the issue
Some documents have headings spanning in many lines (see attached sample document) with the help of new line character (alt + enter).
The new line character (x0A or \n) inserted in the paragraph should not be carried in the index. The index should be "flat". Example:
CHAPTER I \n
Bla bla bla\cr
in Index it shoud display
CHAPTER I Bla Bla Bla.................................10 \cr
(This is possibly an easy hack)
Version 188.8.131.52.alpha0+ (Build ID: b8e0455f201198b1deb8f8ca0181e6c9cadc335
Bodhi Linux 2.2
Enhancement (Prevents high quality work, looks a bit awkward in the Index)
High (IMHO the index looks a bit awkward as is so I pushed this to High)
Adam Csaba Kiraly committed a patch related to this issue.
It has been pushed to "master":
fdo#61458, index should be "flat"
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (ProposedEasyHack -> needsDevEval)