https://bugs.documentfoundation.org/show_bug.cgi?id=97417
Bug ID: 97417
Summary: DOCX import: paragraphs wrongly in a list in
particular document
Product: LibreOffice
Version: 4.1.6.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bisected, regression
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
DOCX file: http://bugs.documentfoundation.org/attachment.cgi?id=120911
the main difference between a ODT file exported with and without the
commit below is that we get extra paragraph numbering since
the paragraph that starts with "Verze": now all following paragraphs
are numbered.
that also happens to trigger a layout crash, see bug 96172
2b78f2cd7b9e4bab0f3b3b9119238f36a1bbc7b2 is the first bad commit
commit 2b78f2cd7b9e4bab0f3b3b9119238f36a1bbc7b2
Author: Michael Stahl <[email protected]>
Date: Wed Mar 5 23:29:06 2014 +0100
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.
(The problem in the bugdoc became much more visible with commit
ca555c596043c88894b964ac5e21f5a7271d5f3b, but was there before)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs