Bug 66119 - FILEOPEN: .doc image incorrectly placed, using "Left" by 0 cm instead of Word's 11 cm "to the right of column"
Summary: FILEOPEN: .doc image incorrectly placed, using "Left" by 0 cm instead of Word...
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: Confirmed:4.2.0.2:OSX
Keywords: filter:doc
Depends on:
Blocks: DOC
  Show dependency treegraph
 
Reported: 2013-06-24 10:05 UTC by Luke
Modified: 2023-05-25 01:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
MS .doc file fails to import correctly (552.50 KB, application/msword)
2013-06-24 10:05 UTC, Luke
Details
Comparison of Doc in Word vs Writer (1.15 MB, image/png)
2013-06-24 10:07 UTC, Luke
Details
correct image placement (305.65 KB, image/png)
2014-01-12 15:11 UTC, retired
Details
Center lost with copy-paste (191.00 KB, application/msword)
2014-01-21 17:28 UTC, Luke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke 2013-06-24 10:05:38 UTC
Created attachment 81320 [details]
MS .doc file fails to import correctly

This bug was tested LibreOffice v4.1 RC1 running in windows 7 and XP. It appears that LibreOffice loses formatting when importing MS Word 2003 .doc files. I have attached an example.

Steps to reproduce the bug:
1. Open attached Demo-Hayden-Management.doc document in writer 
2. Open attached Demo-Hayden-Management.doc document in Word2003/Office 365
3. Compare the documents. 

Note item #3 in the image comparison. The picture is placed on the wrong side of the page.
Comment 1 Luke 2013-06-24 10:07:06 UTC
Created attachment 81321 [details]
Comparison of Doc in Word vs Writer

Image #3 is on the left side, when it should be on the right.
Comment 2 Jorendc 2013-06-24 11:44:59 UTC
I can confirm this behavior using Mac OSX 10.8.3 with LibreOffice 4.1.0.1 RC.

Kind regards,
Joren
Comment 3 retired 2014-01-12 15:10:31 UTC Comment hidden (obsolete)
Comment 4 retired 2014-01-12 15:11:03 UTC Comment hidden (obsolete)
Comment 5 Luke 2014-01-21 11:54:37 UTC Comment hidden (obsolete)
Comment 6 retired 2014-01-21 12:37:09 UTC Comment hidden (obsolete)
Comment 7 Luke 2014-01-21 17:28:38 UTC
Created attachment 92529 [details]
Center lost with copy-paste

This issue appears to be related to the image itself. I created a new doc in Word 2007, added random text, inserted a non-transparent .jpg, and copied/pasted the image from "Demo-Hayden-Management.doc". I aligned the .jpg image right and the copied image center. LO only lost the format of the copy/pasted image from the original doc.
Comment 8 Xisco Faulí 2015-09-07 15:34:15 UTC
This issue is still present in

Version: 5.0.1.2
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: es-ES (es_ES)

on Windows 7 (64-bit)
Comment 9 Luke 2015-11-13 06:50:54 UTC
Under Format->Image->Type->Position
The import sets:
Horizontal: Left, by: 0, to: Paragraph area
According to Word, the correct values should be: 
Horizontal: From left, by: 4.44", to: Paragraph area

Something is causing the "From Left" attribute to be read as "Left"
Comment 10 QA Administrators 2017-12-10 16:40:59 UTC Comment hidden (obsolete)
Comment 11 Timur 2018-02-20 11:55:32 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2019-02-21 03:42:44 UTC Comment hidden (obsolete)
Comment 13 Luke 2019-02-21 04:29:03 UTC
still repo with Version: 6.3.0.0.alpha0+ (x64)
Build ID: 77d5795f9e79a996fa6ee8153f7bc565c4440b02
Comment 14 Justin L 2023-05-25 01:04:09 UTC
repro 7.6+