Bug 41227 - FILEOPEN: WRITER error importing doc files with images into frames
Summary: FILEOPEN: WRITER error importing doc files with images into frames
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.3 release
Hardware: All Windows (All)
: high major
Assignee: Cédric Bosdonnat
URL:
Whiteboard: (target:4.0.0)
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 06:13 UTC by Luigi Boccia
Modified: 2013-02-17 15:52 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Original Docx file (162.33 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-09-26 06:15 UTC, Luigi Boccia
Details
SCREENSHOT (162.33 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-09-26 06:15 UTC, Luigi Boccia
Details
How the docx documents looks like in MS Word (106.78 KB, image/jpeg)
2011-09-26 06:16 UTC, Luigi Boccia
Details
Error example (423.18 KB, application/x-zip)
2011-09-27 14:51 UTC, Luigi Boccia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luigi Boccia 2011-09-26 06:13:12 UTC
Problem description: 
Error importing a docx file with images placed into frames. 
In libreoffice, image into frame does not appear.

Steps to reproduce:
1. open attached docx file with libreoffice writer
2. compare with MS Word version (attached image).

Current behavior:
Image located into frames is not recognized in libreoffice

Expected behavior:
Image into frame should appear correctly while importing.
Comment 1 Luigi Boccia 2011-09-26 06:15:30 UTC
Created attachment 51620 [details]
Original Docx file

SCREENSHOT COMMENT
Comment 2 Luigi Boccia 2011-09-26 06:15:59 UTC
Created attachment 51621 [details]
SCREENSHOT

SCREENSHOT COMMENT
Comment 3 Luigi Boccia 2011-09-26 06:16:59 UTC
Created attachment 51622 [details]
How the docx documents looks like in MS Word

SCREENSHOT COMMENT
Comment 4 Luigi Boccia 2011-09-26 06:23:28 UTC
Similar error was described also in bug: 38701 where the word text boxes is used instead of frames.
Comment 5 Rainer Bielefeld Retired 2011-09-27 03:35:46 UTC
I did several tests with reporter's sample:
- Empty page with "LibreOffice 3.4.3 RC2 - WIN7 Home Premium (64bit) 
  German UI [OOO340m1 (Build:302)]", I can't find any picture in the 
  zipped contents after I saved document as .odt
- "LibreOffice Portable 3.3.3  - WIN7  Home Premium (64bit) 
   German UI [OOO330m19 (Build:301  Tag 3.3.3.1)]" shows an empty frame with
   expected size, but incorrect arranged
-  Server installation of Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) 
   English UI [(Build ID: 81607ad-3dca5fd-da627d2)]" shows a mini-frame, arranged
   more or less correctly (top of page, centered), but empty
- looks fine with MS WORD Viewer
- no contents visible with OOo 3.3

@Luigi Boccia:
Unfortunately this picker is missing in the new Bug Submission Assistant: What OS do you use?

This one might be related to or DUP of
Bug 39505 - pictures not shown after FILEOPEN docx

@Cédric:
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.


- Reported with Bug Submission Assistant -
Comment 6 Luigi Boccia 2011-09-27 04:20:45 UTC
I'm experienced the same error both in Windows Professional 7 64Bit and in Windows 7 Professional 32 bit.

I hope you'll be able to emend this error which is essential in importing doc files of conference papers or scientific papers.
Comment 7 Rainer Bielefeld Retired 2011-09-27 04:38:15 UTC
WIN for now, but I believe it will be the same for all OS.

@Luigi Boccia:
Unfortunately I currently have no MSO available. Can you do some additional research concerning Frame without picture, Picture without frame ... and attach a sample document with those cases? May be that helps.
Comment 8 Luigi Boccia 2011-09-27 14:51:12 UTC
Created attachment 51691 [details]
Error example

Note: I'm using the words text box and frames as equivalent words.

The error is not present when a docx file is saved as odt from MS Word. However, images within text boxes do not appear when the docx file is opened with Libreoffice.
The attached examples should further clarify this aspect. 

Image and frames.docx
	This file contains three examples of images with frames or without frames

Images and frames.pdf
	This file shows how the previous file looks like in MS Word

Image and frames (Exported from MS Word).odt
	Is the first file (.docx) saved as odt from MS Word 2010. File visualization is correct. 

Therefore the only problem is when a docx file is opened directly with Libreoffice. In this case, only image without text box appear.
Comment 9 Rainer Bielefeld Retired 2011-09-27 21:28:51 UTC
@Luigi
Thank you, I believe now the testkit is complete
Comment 10 Björn Michaelsen 2011-12-23 13:26:08 UTC
Since all new unconfirmed bugs start in state UNCONFIRMED now and old unconfirmed bugs were moved to NEEDINFO with a explanatory comment, all bugs promoted above those bug states to NEW and later are automatically confirmed making the CONFIRMED whiteboard status redundant. Thus it will be removed.
Comment 11 Luigi Boccia 2011-12-24 06:08:22 UTC
Error confirmed in LO3.5 beta1
Comment 12 Rainer Bielefeld Retired 2011-12-24 07:11:05 UTC
<http://wiki.documentfoundation.org/BugReport_Details#Version>
Comment 13 Jorendc 2013-02-17 15:52:05 UTC
Opening this file using LibreOffice 4.0.0 with Linux Mint 14 x64 result in the same behavior as shown in your screenshot of MS Word. Therefore I mark this as RESOLVED FIXED.

Kind regards,
Joren