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: In Heading 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 4.1.0.0.alpha0+ (Build ID: b8e0455f201198b1deb8f8ca0181e6c9cadc335 Bodhi Linux 2.2 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ New (confirmed) 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) ProposedEasyHack
Adam Csaba Kiraly committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4ec9f68f25f1d75f63e57570eb24f30ebfcfe2b2 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fixed
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.