Bug 55355 - Writer PRINTING, PDF, FILEOPEN DOCX: Embedded image imported from docx file print at wrong size
Summary: Writer PRINTING, PDF, FILEOPEN DOCX: Embedded image imported from docx file p...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
Depends on:
Blocks: Print-Preview
  Show dependency treegraph
Reported: 2012-09-26 11:26 UTC by Ian Miller
Modified: 2021-03-15 10:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

Meeting minutes, with captured text image on page 3. (57.08 KB, application/vnd.oasis.opendocument.text)
2012-09-26 11:26 UTC, Ian Miller

Note You need to log in before you can comment on or make changes to this bug.
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 (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 (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):

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:
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: / 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).