https://bugs.freedesktop.org/show_bug.cgi?id=70340
Priority: medium
Bug ID: 70340
Assignee: [email protected]
Summary: FILESAVE: LO exports a corrupted DOCX
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: 4.2.0.0.alpha0+ Master
Component: Writer
Product: LibreOffice
Created attachment 87385
--> https://bugs.freedesktop.org/attachment.cgi?id=87385&action=edit
DOCX containing 'w:hyperlink' and 'w:del' nodes that is exported to a corrupted
DOCX
Problem description:
When loading the attached DOCX into LO, and saving back to DOCX - the exported
DOCX is corrupted and cannot be opened by MS Word.
Steps to reproduce:
1. Load the attached DOCX in LO.
2. Save as NEW.DOCX
3. Load the NEW.DOCX in Word
4. File is corrupt
Current behavior:
LO exports a corrupted DOCX
Expected behavior:
LO should not export a corrupted DOCX
Note: After analyzing the XML of the exported DOCX - the problem seems to be
because the nodes at the end of the 'document.xml' file are in this order:
<w:hyperlink ...>
<w:del ...>
<w:r>...</w:r>
</w:hyperlink>
</w:del>
This is wrong, because if 'w:del' should be closed before 'w:hyperlink' is
closed.
Operating System: All
Version: 4.2.0.0.alpha0+ Master
--
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