Issue 63306 - RTF import - misplaced image in table
Summary: RTF import - misplaced image in table
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.0.2
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 13:40 UTC by xaliger
Modified: 2017-05-20 11:19 UTC (History)
2 users (show)

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


Attachments
test-case RTF file (74.93 KB, text/rtf)
2006-03-17 13:42 UTC, xaliger
no flags Details
Material from the repeat test, two files and screenshots (349.41 KB, application/x-compressed)
2006-09-16 19:54 UTC, tmjura
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description xaliger 2006-03-17 13:40:31 UTC
When open attached RTF (saved in Word 2003) in OOo, you get misplaced image. 
Moreover you get 2 images, but there is only 1 inside

[this rtf uses \shp with relative positioning inside table]
Comment 1 xaliger 2006-03-17 13:42:11 UTC
Created attachment 34958 [details]
test-case RTF file
Comment 2 michael.ruess 2006-03-17 16:02:17 UTC
MRU->FLR: this RTF document is imported totally wrong. Part of the table arte
placed in a frame and the graphic is available twice - with wrong anchor.
Comment 3 Mathias_Bauer 2006-08-30 15:16:13 UTC
reassigning to hbrinkm
Comment 4 tmjura 2006-09-16 19:50:23 UTC
Maybe user "xaliger" could give some information about the picture that is added 
to "wordsaved.RTF"?

I am hunting -again- for an another issue and encountered to this.
I was interested to test how this "picture in table" -issue could be in header.
Then there is two ways of adding pictures in Word.
I tested those ways to add picture to table and checked the result in OO.

0. COPY picture from "wordsaved.RTF" to clibboard, keep it there during phases 
1-18.

1. Open Word 2002
2. View => Header and Footer
3. add 2x2 table to header
4. add one picture to table (EDIT => PASTE)
5. add one picture to table (EDIT => PASTE SPECIAL => PICTURE)
=> screenshot "in_Word.PNG"
6. Save as "KOE.rtf"
7. close "KOE.rtf" in Word 2002
8. Open "KOE.rtf" in OpenOffice 2.0.3
=> screenshot "in_OpenOffice.PNG"

9. And there you have it: both pictures are dublicated, the way of adding them 
in Word does not affect how they shown in header.

10. SO - REPEATABLE with even simpler table.

I continued the test and added this time the pictures to the body of document, 
NOT in header
This is more like the original test.

11. Open Word 2002
12. add 2x2 table  
13. add one picture to table (EDIT => PASTE)
14. add one picture to table (EDIT => PASTE SPECIAL => PICTURE)
=> screenshot "comparison_in_Word.PNG"
15. Save as "VERTAILU.rtf"
16. close "VERTAILU.rtf" in Word 2002
17. Open "VERTAILU.rtf" in OpenOffice 2.0.3
=> screenshot "comparison_in_OpenOffice.PNG"

18. And there you have it: both pictures are dublicated, the way of adding them 
in Word does not affect how they shown in.
The main thing is to add the picture from "wordsaved.RTF" somehow inside a 
table.


Maybe user "xaliger" could give some information about the picture that is added 
to "wordsaved.RTF"?
I tried to repeat this test with other pictures but then I did not get the 
dublication of picture repeated.
Is it somehow related to the type of picture?

BTW: other RTF-related issues I have tested in issues 35217, 39540, 46917, 
49087, 55911, 60831 and 68385.

To be precise what I used
- WIN XP Professional version 2002 SP 2 + updates
- OpenOffice 2.0.3 OOC680_m7 Build 1 (Tue Jun 29 16;19;13 CEDT 2006) (Finnish 
version)
- OpenOffice Finnish proofreader: oo2-soikko-Windows-1.1.1.exe
- Word 2002 (10.6802.6735) SP 3 (English version)
Comment 5 tmjura 2006-09-16 19:54:36 UTC
Created attachment 39184 [details]
Material from the repeat test, two files and screenshots
Comment 6 Marcus 2017-05-20 11:19:54 UTC
Reset assigne to the default "issues@openoffice.apache.org".