https://bugs.documentfoundation.org/show_bug.cgi?id=168977

            Bug ID: 168977
           Summary: FILESAVE DOCX Document with chart in footer can't be
                    opened in Word after roundtrip
           Product: LibreOffice
           Version: 7.2.0.4 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 104522, 104528

Open attachment 96041 from bug 76356 (in other name, fdo76356-1.docx), a DOCX,
save it back to DOCX format, and try opening it in Word.

=> Word can't open the file cleanly.

If one:
- unzips the saved DOCX,
- executes the following command (can be done in Linux/Cygwin, needs xmllint
installed): find . \( -name "*.xml" -o -name "*.rels" \) -type f -exec xmllint
--output '{}' --format '{}' \;
- rezips the files with DOCX extension,

Word points to line 37 in word/document.xml, which is this line:
<w:footerReference w:type="first" r:id="rId7"/>
(rId7 refers to footer3.xml)

Observed with LO 26.2.0.0.alpha0+ (8ea8e254a3151f5390f3a10ff156fcaf8e7c5d5c),
7.2.0.4 / Windows.

This is a regression/implementation error from the following commit in 7.2,
before that only a single header/footer XML was exported:
author          Daniel Arato (NISZ) <[email protected]>      Fri Feb 05
12:07:48 2021 +0100
committer       László Németh <[email protected]>   Tue May 04 19:14:22
2021 +0200

tdf#69635 DOCX: export hidden (shared) headers/footers


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104522
[Bug 104522] [META] DOCX (OOXML) header & footer-related issues
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.

Reply via email to