Issue 117980 - Docx file displays nothing. Picture background is lost.
Summary: Docx file displays nothing. Picture background is lost.
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.3
Hardware: PC Linux, all
: P3 Normal with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on:
Reported: 2011-05-05 07:06 UTC by Dotan Cohen
Modified: 2013-01-29 21:43 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

docx file which does not open (688.30 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-05-05 07:06 UTC, Dotan Cohen
no flags Details
png image showing how the document should look (548.59 KB, image/png)
2011-05-05 07:07 UTC, Dotan Cohen
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Dotan Cohen 2011-05-05 07:06:15 UTC
Created attachment 76484 [details]
docx file which does not open

Attached is a valid Docx file. I do not know which version of MSO created it. The file displays nothing in OOo. Thanks.
Comment 1 Dotan Cohen 2011-05-05 07:07:39 UTC
Created attachment 76485 [details]
png image showing how the document should look
Comment 2 Dotan Cohen 2011-05-10 11:20:23 UTC
From the LibreOffice mailing list it appears that this document consists of a single image placed in a textbox. The problem is that in OOo/LO images in textboxes are not shown.

Furthermore, in the same thread it became apparent that this is a common issue: for some reason MSO users often place images in textboxes.
Comment 3 davidsangulo 2011-05-21 19:50:29 UTC
I have had this problem with multiple documents from multiple sources.

Software: 3.2.1
OOO320m19 (Build:9505)
ooo-build, Ubuntu package 1:3.2.1-7ubuntu1.1

Ubuntu 10.10

I know I was able to read .docx files previously.  I've only noticed this problem in the last two weeks (in May, 2011)
Comment 4 Dotan Cohen 2011-05-22 12:44:23 UTC
@dsa42: Please check if these documents do in fact consist of a single image placed in a textbox. If so, please state that here. If not, or if you are not sure, then please email to me the documents or put them on a public host. Thanks.
Comment 5 davidsangulo 2011-05-22 13:14:34 UTC
The documents that I cannot read do not consist of a single image in a text box.  

I have sent one of the documents to dotancohen, but I do not with the document to be put in any public place (not in any regression tests, etc.)  I do not wish the document to be forwarded to anyone else.
Comment 6 Oliver-Rainer Wittmann 2012-06-13 12:26:11 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 7 Regina Henschel 2012-09-30 11:09:57 UTC
The attached document has two errors.
1. The text is inside a text field. It is not the old doc kind text field, but a drawing object text field. It might be, that the root cause is the same as in bug 117972, but I'm not sure about that. At least the error message in the debug build is the same
Error: DomainMapper_Impl::ImportGraphic From File C:/AOO_2012_09_git/trunk/main/writerfilter/source/dmapper/DomainMapper_Impl.cxx at Line 3565

2. The green picture is not correctly imported.
It has set this green color as background color with gradient. This background is missing after import. The error is the same, when I use a solid fill in Word 2010.
The picture has set crop values in Word 2010. The crop values are lost on import.

In debug build I get the error
Error: GraphicHelper::getSchemeColor - scheme colors not implemented From File C:/AOO_2012_09_git/trunk/main/oox/source/helper/graphichelper.cxx at Line 153

The picture is inserted in the header in Word 2010. That might give additional difficulties.

I'll use this report for the second error and adapt the summary accordingly.