https://bugs.documentfoundation.org/show_bug.cgi?id=115556
Bug ID: 115556
Summary: FILESAVE DOCX Shapes in footnotes cause
SAXParseException error when the document is saved as
DOCX
Product: LibreOffice
Version: 5.4.2.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: filter:docx
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 139700
--> https://bugs.documentfoundation.org/attachment.cgi?id=139700&action=edit
The example file saved by LO
Shapes in footnotes cause corrupted files when the document is saved as DOCX.
Insert a shape in a footnote, save the file as DOCX and try to reopen the file.
We get the following error message:
File format error found at SAXParseException: '[word/document.xml line 2]:
Extra content at the end of the document', Stream 'word/document.xml', Line 2,
Column 2231(row,col).
Steps to reproduce:
1. Create a new document in LibreOffice Writer.
2. Create a short text document with multiple footnotes.
3. Insert a shape in one of the footnotes.
4. Save the document as DOCX.
5. Try to reload the file.
Actual results:
The file opens, but the user gets an error message in LO.
In Word 2013, we get an error message saying "There must be exactly one root
element in documents".
Expected results:
A shape in a footnote shouldn't result a corrupted DOCX file.
Note: Word 2013 does not allow inserting shapes in a footnote - the button is
greyed out.
--
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