[Libreoffice-bugs] [Bug 125657] New: DOCX Export Document with a picture and page break doesn't open in MS Word when saved as DOCX
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 3 14:12:56 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=125657
Bug ID: 125657
Summary: DOCX Export Document with a picture and page break
doesn't open in MS Word when saved as DOCX
Product: LibreOffice
Version: 6.3.0.0.alpha1+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: libreoffice at nisz.hu
Created attachment 151872
--> https://bugs.documentfoundation.org/attachment.cgi?id=151872&action=edit
The original file created with Microsoft Word.
This is a simple document with a picture and a page break. When the document is
saved as DOCX with LibreOffice 6.4 master (Version: 6.4.0.0.alpha0+ (x64),
Build ID: 02bee5f5d846f40f244c5acab044177576a6d869, Time: 2019-06-02_21:57:08)
the exported document doesn't open with Microsoft Word and the following error
message is shown:
The file Picture-pagebreak-export-issue-lo64.docx cannot be opened because
there are problems with the contents.
The same DOCX file opens without any problems when exported with LibreOffice
6.2.4 (Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64).
The issue is caused by this part in the word/document.xml file:
<a:srcRect l="-350.08752188047" t="-622.153094100656" r="-350.08752188047"
b="-622.153094100656"/>
If we change the values to integers the document opens in Microsoft Word
without any issue:
<a:srcRect l="-350" t="-622" r="-350" b="-622"/>
Steps to reproduce:
1. Open the attached Picture-pagebreak-export-issue.docx file with
LibreOffice Writer.
2. Save the file as DOCX.
3. Try to open the resulted file with Microsoft Word.
Actual results:
The file doesn't open in Microsoft Word and the following error message is
shown:
The file Picture-pagebreak-export-issue.docx cannot be opened because there are
problems with the contents.
Expected results:
The file should open without any problems.
LibreOffice details:
Version: 6.4.0.0.alpha0+ (x64)
Build ID: 02bee5f5d846f40f244c5acab044177576a6d869
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win;
TinderBox: Win-x86_64 at 42, Branch:master, Time: 2019-06-02_21:57:08
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded
Version: 6.2.4.2 (x64)
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win;
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190603/4965cc7f/attachment.html>
More information about the Libreoffice-bugs
mailing list