Apache OpenOffice (AOO) Bugzilla – Issue 70269
White spaces filtering in header and TOC
Last modified: 2017-04-19 13:39:26 UTC
According to Ukrainian requirements h1 should be formated like -- Part 1.<CR> Header text. -- but TOC should be formated as(without caret return) -- Part 1. Header text. -- (BTW MSWord do this correct) in addition it'll be a good idea to allow insert <CR> as divide character
Reassigned to ES.
Reassigned
In the description of the bug it should be line feed (<LF> or <Shift+Enter>) instead of carriage return (<CR> or <Enter>). This applies to all heading levels (1, 2 and 3). It limits the editor not to use headings on multiple lines in case in the TOC it expects it to be in a single line. No straightforward workaround in case the editor wants the title on multiple lines and expects a single line in the table of contents. In case the editor wants to have a title on multiple lines in the table of contents then carriage return can be used in the title and that will be propagated in the TOC. The line feed <Shift+Enter> solution for multiple line headings is used as a "standard" in desktop editors, please see: https://wordribbon.tips.net/T013231_Two-Line_Headings_in_a_TOC https://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_other/help-with-two-line-heading-in-toc/b5846c37-7dd9-43c4-964d-e598d46f19a0 http://wordfaqs.ssbarnhill.com/TOCTips.htm This is an issue with no straightforward solution for open office users and community: https://forum.openoffice.org/en/forum/viewtopic.php?f=71&t=5481 https://forum.openoffice.org/en/forum/viewtopic.php?f=71&t=539 https://forum.openoffice.org/en/forum/viewtopic.php?t=61311 I'll attach the writer document and a screenshot from word 2013 with the same text formatting.
Created attachment 86009 [details] Multiple line Heading in TOC
Created attachment 86010 [details] Example of stripped <LF> in word 2013