Created attachment 142012 [details]
example, see "begin" word
I create minimal docx in MS word (see attach). Inside MS word first line is 'this is begin', but in LO writer - 'this is begi' (without last letter).
Confirmed using LO 22.214.171.124 & 126.96.36.199 / Windows 7.
No issue with 188.8.131.52.
Bibisected to the following range:
Out of which the following commit must be the culprit:
author Vinaya Mandke <email@example.com> 2013-12-30 16:22:30 +0530
committer Miklos Vajna <firstname.lastname@example.org> 2014-01-03 09:37:58 +0100
fdo#69649 Fix for pre-rendered Table Of Contents
Since you fixed bug 92786 which was introduced by the same commit as this one, I thought you might be interested in this issue...
This issue has two problems:
1. The TOC field is started not from the beginning of the new paragraph, but after some text, therefor the last character is deleted because it is expected (in DOCX parser) to be end of paragraph symbol.
2. The TOC is not correctly finished, while the <w:fldChar w:fldCharType="separate"/> is placed execatly before end of the current paragraph node. If you add at least one character before the end of the paragraph the TOC will be created correctly and "new_paragraph" text will be inside the TOC.
We see "begin" in master 6.5+ so WFM.
Let's guess a duplicate.
*** This bug has been marked as a duplicate of bug 129402 ***
Works for mee too, thanks to all.