Bug 55355

Summary: Writer PRINTING, PDF, FILEOPEN DOCX: Embedded image imported from docx file print at wrong size
Product: LibreOffice Reporter: Ian Miller <ian.miller>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: ilmari.lauhakangas, jmarcgby, stephanv778
Priority: medium    
Version: 3.5.4 release   
Hardware: All   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=58831
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108804    
Attachments: Meeting minutes, with captured text image on page 3.

Description Ian Miller 2012-09-26 11:26:43 UTC
Created attachment 67719 [details]
Meeting minutes, with captured text image on page 3.

An imported docx file has an imported image (scanned text).
This displays correctly in the edit window.
In the print preview the image is enlarged and clipped.
When printed (HP D7160) it is reduced to about 20%.

I have also printed the file to SnagIt (image capture).  In this case it is reduced to about 40%.
Comment 1 Stephan van den Akker 2012-11-20 21:20:11 UTC
Confirmed with supplied sample document on openSUSE 12.2 (x86-64) with:

- LO Version 4.0.0.0.alpha0+ (Build ID: 67fca3), pulled 19 November 2012.
- LibreOffice 3.5:build-403 Build ID: 350m1(Build:403)

Problem not confined to bitmaps. I can supply an example with a vector based graph that is also extremely enlarged when printed or exported to pdf.
Comment 2 Stephan van den Akker 2012-11-21 09:19:50 UTC
When opening the sample document with Libre Office version 4.0.0.0.alpha0+ (Build ID: 56d3de), on openSUSE 11.4 (x86_64), build with --enable-symbols --enable-debug, the following waring appears several times:

warn:svl.items:19480:1:/home/stephan/Software/libreoffice-master/core/svl/source/items/itempool.cxx:517: fuer Image, dort gibt es derzeit keine Statics - Bug

When exporting to PDF the scanned page is not present in the PDF. Just an empty page. Same result with LO Version 3.6:build-302 (Build ID: 360m1(Build:302)) on openSUSE 11.4.

When opening my DOCX with the vector based graph a similar warning appears:

warn:legacy.osl:18226:1:/home/stephan/Software/libreoffice-master/core/oox/source/docprop/docprophandler.cxx:319: For now unexpected tags are ignored!
warn:legacy.osl:18226:1:/home/stephan/Software/libreoffice-master/core/oox/source/helper/storagebase.cxx:74: StorageBase::StorageBase - missing base input stream
warn:svl.items:18226:1:/home/stephan/Software/libreoffice-master/core/svl/source/items/itempool.cxx:517: fuer Image, dort gibt es derzeit keine Static
Comment 3 Stephan van den Akker 2013-05-31 20:03:04 UTC
Reproducible with MASTER on Ubuntu 12.04 (32-bit):

Version: 4.2.0.0.alpha0+
Build ID: c2530b02311c46529eed53ee688bf6c83ce4b86
Comment 4 Cédric Bosdonnat 2014-01-20 08:57:53 UTC
Restricted my LibreOffice hacking area
Comment 5 Joel Madero 2015-05-02 15:42:40 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2015-06-20 16:35:35 UTC
Confirmed with preview & PDF printing.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 7 QA Administrators 2016-09-20 10:12:14 UTC Comment hidden (obsolete)
Comment 8 Stephan van den Akker 2016-09-20 13:41:20 UTC Comment hidden (obsolete)
Comment 9 Xisco Faulí 2017-09-29 08:50:40 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2020-05-23 03:43:02 UTC Comment hidden (obsolete)
Comment 11 Svatopluk Vít 2021-03-05 12:36:15 UTC
The bug is still there. In preview window - it is somehow clipped.
But when printed, no bitmap printed at all.

Version: 7.1.1.1 / LibreOffice Community
Build ID: 575c5867c4cc13d7ae78f9ce39a54a52ed38c769
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 12 Timur 2021-03-15 10:01:40 UTC
In Lo 7.2+ preview window is OK but print is clipped to small size. 
With Export as Pdf, there's no image (object from ODT).
Comment 13 QA Administrators 2023-03-16 03:28:34 UTC Comment hidden (obsolete)
Comment 14 Gibey 2023-11-27 14:50:58 UTC
Comment on attachment 67719 [details]
Meeting minutes, with captured text image on page 3.

Problem persist

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 9d0b4c0791fc17bc4181a67fd90c5aaed576d1c0
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded