https://bugs.documentfoundation.org/show_bug.cgi?id=173259
Bug ID: 173259
Summary: FILEOPEN: DOCX images are vertically cropped in
LibreOffice Writer and LibreOffice-generated PDF,
while rendering correctly in Microsoft Word
Product: LibreOffice
Version: 26.2.5.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Issue Description:
A DOCX document created using a Microsoft Word template contains embedded
images positioned within the document body.
The document renders correctly in Microsoft Word, and PDF files exported from
Microsoft Word preserve the image size, crop settings, and alignment as
expected.
When the same DOCX document is opened in LibreOffice Writer, portions of the
images are cropped. The cropping affects the visual rendering inside Writer and
is also present in PDFs exported from LibreOffice.
As a result, LibreOffice does not reproduce the document layout and image
presentation seen in Microsoft Word.
Steps to Reproduce:
1.Open the attached DOCX document in Microsoft Word.
2.Verify that the image is displayed completely and aligned correctly.
3.Export the document to PDF from Microsoft Word.
4.Open the same DOCX document in LibreOffice Writer.
5.Observe the image rendering.
6.Export the document to PDF from LibreOffice Writer.
7.Compare:
1.Microsoft Word view vs LibreOffice Writer view.
2.Microsoft Word PDF vs LibreOffice PDF.
Actual Results:
*Images appear vertically cropped when the DOCX is opened in LibreOffice
Writer.
*Visible image area is reduced compared to Microsoft Word.
*Image positioning and displayed content differ from the original layout.
*The same incorrect cropping is preserved when exporting the document to PDF
from LibreOffice.
*The generated PDF does not match either the original DOCX rendering in Word
or the PDF produced by Microsoft Word.
Expected Results:
*LibreOffice Writer should display the image exactly as shown in Microsoft
Word.
*Image crop settings, dimensions, anchoring, and alignment should be
preserved when importing the DOCX document.
*PDF exported from LibreOffice should match the layout and image rendering
seen in Microsoft Word.
*No image content should be lost or cropped during DOCX import or PDF
export.
Reproducible: Always
User Profile Reset: No
Additional Information:
Version: 26.2.5.2 (X86_64)
Build ID: cd7284b4cbbfeb507e630c1aac019f4157393acb
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
--
You are receiving this mail because:
You are the assignee for the bug.