Bug 71703 - FILEOPEN: DOC image (WMF) rotation is not preserved
Summary: FILEOPEN: DOC image (WMF) rotation is not preserved
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: interoperability
Keywords: filter:doc
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2013-11-17 15:51 UTC by Pierre C
Modified: 2019-02-09 17:02 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
sample doc file (971.00 KB, application/msword)
2013-11-17 15:51 UTC, Pierre C
Details
expeted result (771.90 KB, application/pdf)
2013-11-17 15:52 UTC, Pierre C
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre C 2013-11-17 15:51:59 UTC
Created attachment 89364 [details]
sample doc file

When opening attached file, images are not 90° rotated

on pdf file one can see the expected result
Comment 1 Pierre C 2013-11-17 15:52:47 UTC
Created attachment 89365 [details]
expeted result
Comment 2 Jean-Baptiste Faure 2013-11-17 16:45:25 UTC Comment hidden (obsolete)
Comment 3 Pierre C 2013-11-17 18:00:05 UTC Comment hidden (obsolete)
Comment 4 Maxim Monastirsky 2013-11-18 09:16:47 UTC
Confirmed with 4.1.3.2 & master build (Build ID: f7e6521efca5e5966a65e84848a1c35d71ba1a0b) under Fedora 19 (64-bit).

Reproducible also with a new doc document:
1) Open a new document in Word (I've used Word 2010 SP2)
2) Import any image
3) Rotate it
4) Save it to DOC
5) Open it with LibreOffice
6) The image isn't rotated
Comment 5 vulcain 2013-12-16 22:22:57 UTC
Bug still here on LibreOffice 4.2.0.0.beta2 (Build ID: 1a27be92e320f97c20d581a69ef1c8b99ea9885d ) and on LibreOffice 4.1.4.2 (Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72). The both are on Ubuntu 12.04.3 x86_64
Comment 6 Cor Nouws 2014-01-19 15:55:06 UTC Comment hidden (obsolete)
Comment 7 Pierre C 2014-01-19 16:48:05 UTC Comment hidden (obsolete)
Comment 8 Pierre C 2014-08-19 21:17:08 UTC Comment hidden (obsolete)
Comment 9 Pierre C 2014-12-16 20:59:52 UTC
Still ugly with LO 4.4.0b2
Comment 10 Robinson Tryon (qubit) 2015-12-14 05:59:32 UTC Comment hidden (obsolete)
Comment 11 Justin L 2016-02-15 18:34:05 UTC
Unable to replicate with JPG or PNG files - they always import with rotated settings.

The images in the example attachment (Dossier réponses-E42-session2012.doc) are .WMF files.  Those images are not rotated in .doc (inherited from OOo - bibisect-43all) up to today (LO 5.2dev).  In 5.2dev, the option to rotate or flip WMF images is disabled.  They need to be compressed to PNG or JPG first.
Comment 12 Cor Nouws 2016-02-15 18:42:49 UTC
Updating summary and version according to the (thanks, useful) comment#11 from justin
Comment 13 Timur 2017-08-31 13:20:39 UTC
Repro with 6.0+.
Comment 14 Xisco Faulí 2017-10-03 14:36:01 UTC
Still reproducible in

Version: 6.0.0.0.alpha0+
Build ID: 34e8fd7e99489e9f50a512b07c6f3923b358b4d3
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

@Armin, this is still reproducible after the EMF refactoring. would you like to take a look at it?
Comment 15 Armin Le Grand 2017-10-18 07:21:48 UTC
Hi Xisco, no change here by EMF+ changes (if it is EMF+ at all), problem is unchanged more that rotation is not imported
Comment 16 QA Administrators 2018-10-19 02:51:10 UTC Comment hidden (obsolete)
Comment 17 Cor Nouws 2019-02-09 17:02:38 UTC
still the same in Version: 6.3.0.0.alpha0+
Build ID: b45289e48e0f354b9996e2846dd041db4a9947ce
CPU threads: 4; OS: Linux 4.15; UI render: GL; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-02-08_12:51:03
Locale: nl-NL (nl_NL.UTF-8); UI-Language: en-US
Calc: threaded