Issue 106116 - RTF files not exported correctly
Summary: RTF files not exported correctly
Status: REOPENED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.1.1
Hardware: Mac Mac OS X, all
: P4 Minor (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 23:36 UTC by jonathandl
Modified: 2014-10-31 02:51 UTC (History)
2 users (show)

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


Attachments
This is the original document. (10.68 KB, text/plain)
2009-10-21 00:02 UTC, jonathandl
no flags Details
This is the same document saved as .RTF. (14.89 KB, text/rtf)
2009-10-21 00:04 UTC, jonathandl
no flags Details
RTF Saved by AOO 4.1.1 (14.62 KB, text/rtf)
2014-10-30 19:29 UTC, orcmid
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jonathandl 2009-10-20 23:36:00 UTC
This is very similar to the issues in bugs #49268 and #57692 – if the root cause is the same then please 
feel free to close this ticket.  When files are saved as .RTF, the formatting is not saved correctly.  The 
problem can be reproduced by saving any file as .RTF and then re-opening it in OpenOffice.
Comment 1 jonathandl 2009-10-21 00:02:32 UTC
Created attachment 65486 [details]
This is the original document.
Comment 2 jonathandl 2009-10-21 00:04:04 UTC
Created attachment 65487 [details]
This is the same document saved as .RTF.
Comment 3 michael.ruess 2009-10-28 16:40:53 UTC
It is the same as issue 74236.

*** This issue has been marked as a duplicate of 74236 ***
Comment 4 michael.ruess 2009-10-28 16:41:18 UTC
Closing duplicate.
Comment 5 jonathandl 2014-10-30 04:46:19 UTC
I have retested this.  The problem is fixed partially, but not completely.

The original .ODT file is 1 page long.  When I save it as .RTF in 4.0.1 on a Macintosh, it saves as 2 pages but the formatting is now otherwise correct.
Comment 6 orcmid 2014-10-30 17:47:55 UTC
According to Jonathan's report (Comment #5), there remains an issue with regard to pagination.  I am removing this as a duplicate of #74236, since these individual RTF defects won't be caught if lumped onto #74236. #74236 does not address the problem that is raised with this one.

I notice that Latest Confirmation does not allow versions earlier than 4.1.0 now.  I trust Jonathan will re-confirm with 4.1.0 or later on MAC OSX.
Comment 7 jonathandl 2014-10-30 18:08:42 UTC
I wonder if the pagination issue with my sample document is the same as that in bug #44691?
Comment 8 jonathandl 2014-10-30 18:23:38 UTC
(In reply to orcmid from comment #6)

> I notice that Latest Confirmation does not allow versions earlier than 4.1.0
> now.  I trust Jonathan will re-confirm with 4.1.0 or later on MAC OSX.

It will be a while before I can get a chance to do that.  Parking ticket in "resolved" status until that happens.  (seems that issue #49268 is the general "RTF problems" bug.)

*** This issue has been marked as a duplicate of issue 49268 ***
Comment 9 orcmid 2014-10-30 19:26:41 UTC
This is not the same defect as #49268.

#49268 is about opening an RTF file incorrectly, losing the custom tab settings and (sometimes) the page margins.
 
This issue #106116 is about whether or not an ODF file is being saved as RTF incorrectly (and that might also be opened incorrectly, but that takes more analysis).

In the supplied "document saved as .RTF", there are two defects in the RTF document as confirmed in several different RTF consumers.  The individual resume-experience entries are entirely in bold-face, rather than with bold just for the name of the employer.  And there were spacing problems causing breaking onto a second page that did not happen with the ODF original.

As of Apache OpenOffice 4.1.1, a saved RTF from the original document no longer has the bold-face problem.  It continues to have the pagination problem.  The pagination problem also occurs when the saved RTF is opened in Microsoft Word 2013 and LibreOffice 4.3, the same as with Apache OpenOffice 4.1.1. Oddly enough, the AOO 4.1.1-saved RTF opens perfectly in Microsoft Windows 8.1 WordPad.

The different that causes the pagination problem when the RTF is loaded is in the empty paragraphs that are used for adding blank lines.  In the original ODF Text (AOO .ODT) document, those blank lines are set for 10pt Times New Roman.  In the RTF, those lines are presented in 12pt Times New Roman, making the blank lines enough higher that the final line of the document breaks onto a second page.  This can be demonstrated by viewing the original document side-by-side with a same-zoom view of the 4.1.1-created RTF.
Comment 10 orcmid 2014-10-30 19:29:03 UTC
Created attachment 84128 [details]
RTF Saved by AOO 4.1.1

This is the RTF saved by Apache OpenOffice 4.1.1 from the original ODT document attached to this issue.