Issue 74345

Summary: Image lost saving rtf with bmp
Product: Writer Reporter: leobartoloni <leo.bartoloni>
Component: save-exportAssignee: michael.ruess
Status: CLOSED DUPLICATE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
RTF file after point 1
none
Bitmap image for point 2
none
Rtf file after point 3
none
RTF file after point 5 none

Description leobartoloni 2007-02-08 14:47:54 UTC
We have many problems with users using OOo 2.1 (and 2.0) editing RTF documents 
containing bmp images.
These images are lost after being modified.

The iter is this.
1) Creation of a new document without images, saving it as RTF.
2) Reopen document, add image from file (embedded) choosing a BMP image.
3) Save.
4) Reopen document, modify text.
5) Save.
6) Reopen document and the image is lost.

The image is visibile opening RTF with Word 2003.

Viewing RTF files, it seems that after point (3) the rtf file contains the 
image 2 times (one as pngblip and one as wmetafile8... i think for backward 
compatibility)
But after point (5) the rtf file contains image as wmetafile8 (rtf tag) but 
with the content of previous pngblip.

I'll attach the doc. at point (1), the bmp for point (2) and the doc. after 
point (3) and (5).
Comment 1 leobartoloni 2007-02-08 14:53:20 UTC
Created attachment 42859 [details]
RTF file after point 1
Comment 2 leobartoloni 2007-02-08 14:53:50 UTC
Created attachment 42860 [details]
Bitmap image for point 2
Comment 3 leobartoloni 2007-02-08 14:54:18 UTC
Created attachment 42861 [details]
Rtf file after point 3
Comment 4 leobartoloni 2007-02-08 14:54:45 UTC
Created attachment 42862 [details]
RTF file after point 5
Comment 5 michael.ruess 2007-02-08 15:55:27 UTC
Known problem, see issue.

*** This issue has been marked as a duplicate of 60831 ***
Comment 6 michael.ruess 2007-02-08 15:59:32 UTC
Closing duplicate.