[Libreoffice-bugs] [Bug 113608] FILEOPEN DOCX Table cell indentation grows in particular document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 15 07:12:09 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=113608

--- Comment #11 from Justin L <jluth at mail.com> ---
Created attachment 144180
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144180&action=edit
numbering.docx: replaced Cmsor with Heading for 2, 3, and 4

(In reply to Gabor Kelemen from comment #10)
> "Heading 4" is "Címsor 4" in Hungarian, which is saved without the accented
> í character and the space.
And this is good proof that Mark's commit is valid because the code logic is
dependant on the use of English.

Doing a bibisect based on this modified-to-use-english-style-names document, I
run into a one-day range of broken builds in LO 4.3. Combining the results of
43all and 43max, I get the 20 commit range of
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=76fe205d7e0fe0a73616453209d8094cab9ce79f..a6e19ea7a8885dcbdb1d8b2f56586373595ba8aa

of which this one stands out (although reverting it does not resolve the
problem, so likely this one also just exposes an existing problem...)
>author	Michael Stahl 2014-03-06 00:20:00 +0100
>commit	2b78f2cd7b9e4bab0f3b3b9119238f36a1bbc7b2
>rhbz#988516: DOCX import: fix context stack when importing header/footer
>
>When a header/footer substream is parsed, a ParagraphGroup is started,
>but not ended; so the properties of the last paragraph in the
>header/footer are applied to a paragraph in the body.
>
>The obvious fix to add a call to endParagraphGroup() at the end of w:p
>element breaks table cells.  So add a call to endParagraphGroup() at
>the end of the "hdr"/"ftr" element.>

None of this points in a clear direction yet. I had to change Cmsor -> Heading
for all three - just doing one at a time didn't work. However, the bug is less
dependent on Cmsor2 (since I didn't change that in document.xml).

Reference: (note these are bibisect commits, not code commits)
first bad 43all bibisect commit: 56a3b3c781fc2eb55f46641d89a866a91119a8a3
first bad 43max bibisect commit: 1dad09c0413728618600e94167f71b6fdda422e3
last good 43max bibisect commit: bd286ce1d9d478895e4a9aacf3469b659917f5ff

-- 
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/20180815/e266c1c3/attachment.html>


More information about the Libreoffice-bugs mailing list