Issue 32690

Summary: RTF saved by OpenOffice will re-open as empty document
Product: Writer Reporter: gcc111 <openoffice.org>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, jonathan
Version: 680m49   
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Sample RTF file saved by OO 1.1.1 and not readable by OpenOffice, but OK in Abiword none

Description gcc111 2004-08-06 17:53:44 UTC
The attached file was saved by OpenOffice 1.1.1 as distributed with SuSE Linux
9.1  Professional. It could not be opened again by that version, nor by the
latest milestone 680m49. However, Abiword manages to open it but with much
formatting missing, such as headers and footers. This is not the first time we
have seen this.

The document contained sensitive correspondance and has been censored, however
this did not affect the ability of OpenOffice nor Abiword to read it. Please
contact me if you believe that the censorship was responsible for some
corruption of the file, and I can try to fix it or provide a clean copy on
condition of confidentiality.

Thanks for your help!
Comment 1 gcc111 2004-08-06 18:01:53 UTC
Created attachment 16990 [details]
Sample RTF file saved by OO 1.1.1 and not readable by OpenOffice, but OK in Abiword
Comment 2 michael.ruess 2004-08-09 10:12:20 UTC
MRU->MM: the exported RTF will be opened as empty page in OO. Can you see from
the attached RTF where the problem is? Perhaps we need an original .sxw for the
case it is an export issue? If so, please reassign to me and I'll ask for it.
Comment 3 gcc111 2004-08-09 21:45:25 UTC
Sorry, there is no original SXW file. We have been saving in RTF only for 
compatibility between MS Word and OpenOffice. 
 
Cheers, Chris. 
Comment 4 andreas.martens 2004-12-01 16:05:21 UTC
ama -> flr: Please have a look.
Comment 5 shaunmcdonald131 2006-02-27 17:58:36 UTC
I've just checked this with OOo2.0.1 build8990 on Fedora Core 2. It opened with
the data all as xxx's. I'll assume this is right. Looked fairly neat to me,
including footer.
Comment 6 Mathias_Bauer 2006-08-30 15:15:27 UTC
reassigning to hbrinkm
Comment 7 Risto Jääskeläinen 2008-09-27 16:00:20 UTC
I just click link for SampleRtfNotReadableByOpenOffice-censored.rtf and I see
empty page, when firefox starts writer OOO3000 and open loaded file.
When I copy file SampleRtfNotReadableByOpenOffice-censored.rtf to harddisk and
open it with Vista's standard WordPad, I can see file with lot of X's. I thing
it is kind of letter model. Writer display empty page in this case too.
When I save this file from wordpad (with different name), it is visible in
Writer too.

So, there is at least some difference how Writer and WordPad read this file. I
guess that way of WordPad is favored by most of user. And file is original
produced by Openoffice!

I really hope, that something is done with this RTF-issue, because RTF is in
fact the file form which is used sending files, if you don,t know what is
receiders wordprosessing sytem. I mean in Windows environment, which is used by
most of users.

Best wishes
Risto Jääkseläinen
Comment 8 michael.ruess 2009-07-14 09:26:47 UTC
*** Issue 103522 has been marked as a duplicate of this issue. ***
Comment 9 ians1967 2009-07-23 18:15:26 UTC
Can I do anything to help resolve this one (see 103522 which has been marked as 
a duplicate of this issue)?  As ristoi has pointed out rtf is a valuable format 
for portability.
Best wishes - Ian
Comment 10 michael.ruess 2009-08-25 09:36:39 UTC
Making summary more significant
Comment 11 michael.ruess 2009-08-25 09:37:12 UTC
*** Issue 104478 has been marked as a duplicate of this issue. ***
Comment 12 ians1967 2009-10-08 18:42:19 UTC
Should priority be P2 rather than P3?  Definition of P2 includes "User data is 
corrupted in an easy-to-encounter way; e.g. saving a document corrupts the 
resulting file and renders it unusable".  Alternatively support for rtf should 
be qualified.

May I offer the observation that the problem looks nore likely to be in reading 
rtf than writing it - the original problem description reports that Abiword 
could read the problem rtf document, and I have compiled and run Microsoft's 
Sample RTF Reader Implementation included in their RTF Specification Version 
1.6 which reported no error.

Good hunting
Ian
Comment 13 Risto Jääskeläinen 2011-01-18 06:51:09 UTC
Good news!

OpenOffice.org 3.3.0 Writer can open the file. Text is OK (XXXX...). Footer part
is OK I guess. 

Maybe header is too hight and it is empty. That is reason why "Yours sincerely,"
is at beginning of page nr 2.

At least enormous improvement compared to last time I test this.  Because
original rtf-file was created by guite old version of OO.o may this header
situation need testing (creating the document) with newer version?

Regards
Risto
Comment 14 Marcus 2017-05-20 11:24:14 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 15 Marcus 2017-05-20 11:25:57 UTC
Reset assigne to the default "issues@openoffice.apache.org".