https://bugs.documentfoundation.org/show_bug.cgi?id=165642
Bug ID: 165642
Summary: FILESAVE DOCX: word/glossary missing endnotes.xml and
footnotes.xml (MS Word error on open)
Product: LibreOffice
Version: 3.3.0 release
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bibisected, bisected, filter:docx
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Blocks: 104528
Created attachment 199697
--> https://bugs.documentfoundation.org/attachment.cgi?id=199697&action=edit
T56739_min.docx: the example document
MS Word is complaining about invalid or missing content after this document is
round-tripped by LO. (This issue can only be seen in MS Word.)
For this minimal document, a bibisect points to mk's 7.5 (backported to 7.4.4)
commit dda4867a0b5a2d29d8a01a3656e0c8dac7626d2f
Author: Mike Kaganski on Tue Nov 29 20:23:13 2022 +0300
tdf#152289: implement external glossary relations roundtrip
The problem is that word/glossary/ contains settings.xml and its contents
contains references to endnotePr and footnotePr, so endnotes.xml and
footnotes.xml must also exist - but they weren't being round-tripped.
[On a larger example document, the excess glossary files were already being
round-tripped before Mike's commit, so this is not really a regression.]
I don't know what (if any) purpose these files have, but based on Mike's unit
test it seems "normal". So simply add some code to round-trip these two files
as well - using Mike's commit as the template.
Proposed fix at https://gerrit.libreoffice.org/c/core/+/182674?usp=dashboard
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=104528
[Bug 104528] [META] Saved DOCX files that MS Word can't open
--
You are receiving this mail because:
You are the assignee for the bug.