Issue 12713

Summary: RTF import adds lots of rubbish at the begging of the document
Product: Writer Reporter: egle
Component: codeAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: OOo 1.1 Beta   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
original .sxw file
none
RTF file which is opened with the rubish text at the bigining. Besides it has picture export problems
none
the patch none

Description egle 2003-03-27 12:22:18 UTC
When opening attached .rtf file (made from attached .sxw document) lots of
rubbish text (1Numbering Symbols;Bullets;Internet Link;Endnote
Characters;Footnote anchor;RTF_Num 2 1;RTF_Num 2 2;RTF_Num 2 3;RTF_Num 2
4;RTF_Num 2 5;RTF_Num 2 6;RTF_Num 2 7;RTF_Num..., etc.) appeared at the begging
of the document.

This document was created with OOo, then saved as .doc and edited with MSWord,
later that .doc was edited with OOo and saved as .sxw. These steps accomplished
without problems. The .sxw was saved as .rtf.

Opening this .rtf document with OOo 1.0.2 didn't cause such problem.
Comment 1 egle 2003-03-27 12:24:17 UTC
Created attachment 5272 [details]
original .sxw file
Comment 2 egle 2003-03-27 12:27:31 UTC
Created attachment 5273 [details]
RTF file which is opened with the rubish text at the bigining. Besides it has picture export problems
Comment 3 settantta 2003-03-28 04:02:48 UTC
I con confirm this behaviour. I did the following:

Opened both documents in 1.1 beta.
RTF file displayed "garbage" at the top.

did "Save As" of the original .sxw to RTF, (different file name)
closed and reopened in 1.1 beta. File displayed same "garbage" at the top.

Opened both files in 1.0.2 RTF was missing graphics, but no "garbage"
at top. 

"Save As" to RTF from 1.0.2 (Different file name...). Closed and
reopened. No "garbage, but still no grahics (just an empty frame wiht
ALT text).

Opened RTF file in 1.1 beta... Same result as previous.

Conclusion: 1.1beta does not handle RTF in the same way as 1.0.x.
Definitely a bug, suggest highest priority for fixing.

I can't chane the status, someone else will need to do that. (Don't
have the necessary priveliges:( )
Comment 4 egle 2003-03-28 12:27:01 UTC
Alex, I've set priority to 2, you think, that priority should be 1 ?
Maybe you can vote for this bug ?

Also what you think about missing graphics ? I should report another bug ?
I found, that there are a bug #12485 about RTF export and images.
Maybe I should only add comment to bug #12485 ?
Comment 5 h.ilter 2003-03-31 15:40:53 UTC
MRUs area.
Comment 6 michael.ruess 2003-06-13 15:05:29 UTC
MRU->CMC: export the attached .sxw to RTF and reload -> looks like the
Style names are imported as part of the body text...
Comment 7 caolanm 2003-06-18 12:43:36 UTC
Can and will fix for 1.1
Comment 8 caolanm 2003-06-18 12:44:44 UTC
Created attachment 6963 [details]
the patch
Comment 9 caolanm 2003-06-18 14:01:18 UTC
fixed in sw017, broken because of fix for issue 4727. Both now work
correctly.
Comment 10 caolanm 2003-06-19 15:11:21 UTC
reopen to reassign
Comment 11 caolanm 2003-06-19 15:12:25 UTC
NO rubbish on reload in sw017. issue 4727 has to work at the same time
and does.
Comment 12 michael.ruess 2003-06-20 09:45:01 UTC
Confirmed the fix in CWS sw017.
Comment 13 michael.ruess 2003-06-20 09:45:28 UTC
Fix verfied with internal CWS.
Will be available in OO 1.1.
Comment 14 michael.ruess 2003-09-19 09:46:50 UTC
Fixed in RC4.