Issue 123123

Summary: DOCX: Writer Fails to render file containing encoded .BMP image
Product: Writer Reporter: Alan A. Jorgensen, Ph.D. <aaj>
Component: viewingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: aaj, elish, issues
Version: 4.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
An MS Word .DOCX document containing only a small .BMP image.
none
A rich text file (.rtf) containing only a small encoded .BMP image for comparison
none
Comparison of rendering of test .DOCX file between MS Word and Writer
none
Comparison of document rendered by Writer for test file and .RTF version of the same test file. none

Description Alan A. Jorgensen, Ph.D. 2013-08-27 21:56:01 UTC
Created attachment 81396 [details]
An MS Word .DOCX document containing only a small .BMP image.

Writer fails to render the image of a .DOCX MS Word file containing only a small, encoded bit mapped (.BMP) image.

This file was created by constructing a file, Images, using MS WordPad with small images of various formats to use as a base case file for fuzz testing OO Writer.  This file was saved in various formats including .ODT, .RTF, and .DOCX.

Writer rendered the .ODT and .RTF files consistently with MS Word and MS WordPad but failed to render anything from the .DOCX file.

This file was reduced until only a single image remained that failed to render, Images1.DOCX, attached.

A similar file was created, Images1.RTF, also attached, that Writer renders properly.

REPRODUCTION STEPS.

1. Save the attached files, Images1.RTF and Images1.DOCX in a convenient directory.
2. Open Images1.RTF with OO Writer, version 4.0.0, from the directory chosen in step 1.
3. Note the small image of an anser.
4. Open Images1.DOCX with MS Word 2007, from the directory chosen in step 1.
5. Note that the image is appears similar to that of step 3.
6. Close MS Word 2007 so that there will not be a file use conflict.
7. Open Images1.DOCX with OO Writer version 4.0.0.
8. Note that the image does not appear and that document page is empty and can be edited.  The document displayed should be the same as the document displayed in step 3.

Additional files are attached to illustrate Writer Image1.DOCX vs. Image1.RTF and Writer Image1.DOCX vs MS Word Image1.DOCX
Comment 1 Alan A. Jorgensen, Ph.D. 2013-08-27 21:58:14 UTC
Created attachment 81397 [details]
A rich text file (.rtf) containing only a small encoded .BMP image for comparison
Comment 2 Alan A. Jorgensen, Ph.D. 2013-08-27 21:59:41 UTC
Created attachment 81398 [details]
Comparison of rendering of test .DOCX file between MS Word and Writer
Comment 3 Alan A. Jorgensen, Ph.D. 2013-08-27 22:01:19 UTC
Created attachment 81399 [details]
Comparison of document rendered by Writer for test file and .RTF version of the same test file.
Comment 4 Edwin Sharp 2013-08-28 06:00:12 UTC
Confirmed with Rev. 1516794 and Word 2007 Win 7

File   Word   Writer
DOCX  image   blank
RTF   blank   image