Apache OpenOffice (AOO) Bugzilla – Issue 63306
RTF import - misplaced image in table
Last modified: 2017-05-20 11:19:54 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]
Created attachment 34958 [details] test-case RTF file
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.
reassigning to hbrinkm
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)
Created attachment 39184 [details] Material from the repeat test, two files and screenshots
Reset assigne to the default "issues@openoffice.apache.org".