https://bugs.documentfoundation.org/show_bug.cgi?id=108269
Bug ID: 108269
Summary: DOCM files can't be opened in Word after a roundtrip
in Writer (until renaming)
Product: LibreOffice
Version: 4.0.0.3 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]
Blocks: 104528
Known limitations (not a concern of this bug report):
- Writer doesn't handle VBA macros.
- It doesn't even preserve macros (seems like section "You can choose to
preserve or delete VBA macros" in [1] is not valid for newer, OOXML formats, at
least in Writer).
Open and save the attached files in Writer. Both are DOCMs created in Word
2013, one has macro, the other doesn't.
Open the roundtripped file in Word.
=> Word gives an error: "We're sorry. We can't open <file name> because we
found a problem with its contents."
The file can only be opened after renaming it to have .DOCX extension.
One particular difference is that in the original archive /word/document.xml
has ContentType "application/vnd.ms-word.document.macroEnabled.main+xml", while
in the roundtripped file it's
"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml".
Observed with 5.4beta1 and 4.0.0.3 / Windows 7.
[1] https://help.libreoffice.org/Common/Using_Microsoft_Office_and
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=104528
[Bug 104528] [META] FILESAVE: DOCX: Corrupted file in MSO Word after RT
--
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