https://bugs.documentfoundation.org/show_bug.cgi?id=99501
Bug ID: 99501
Summary: FILESAVE: corrupt docx produced for paragraph with
page-break-before following table
Product: LibreOffice
Version: 5.1.1.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 124634
--> https://bugs.documentfoundation.org/attachment.cgi?id=124634&action=edit
Test case: page-break-before on paragraph after table
The attached document has a table, immediately followed by a paragraph which is
set to have a page break before it.
(Right click -> "Paragraph" -> "Text Flow" tab -> "Breaks")
When saving this file to docx format, a file is produced which Microsoft Word
cannot open. I think this is because a text run <w:r> containing a page break
is inserted as a child of the body element <w:body>, but text run elements are
not allowed there.
Steps to reproduce:
1) in LibreOffice open the attached pagebreakaftertable.odt
2) save as .docx, close
3) try to open the docx file in Microsoft Word - fails with "Unspecified error"
in /word/document.xml
4) try to open the docx file in LibreOffice: it actually opens but note that
the page break has been lost
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs