Apache OpenOffice (AOO) Bugzilla – Issue 68385
RTF export: tabstops become lost from second paragraph on
Last modified: 2017-05-20 11:15:36 UTC
When saving the text with tabstop-formatting as RTF-file the tabstops in the lines after line 2 become lost. The tabstops in the first line are saved only. The same bevaviour under Linux as under Windows.
Created attachment 38422 [details] Example odt-file. Try to save the document as rtf-file and examine the result in the line 2
MRU->HBRINKM: open attached document and export to RTF, reload -> the tab in the second paragraph is lost.
Hmm, I checked that example.odt. Confirmed as repeatable. However. I have more complex example related to tabstops. Open the file "_MALLI_YRITYS.RTF". I have screenshot made "tabulators_in_OO.PNG" where I have describe the unwanted behaviour. There are those three tabstops, and for some reason OO puts those three tabulators "over" that one tabstop. The file "_MALLI_YRITYS.RTF" was seen in right format in Word 2002. The text in the file "_MALLI_YRITYS.RTF" is based on standard of Finnish Standards Association SFS and there is specificly definitions how text should be visible, saved and printed. Other RTF-problems I have gone through in issues 35217, 39540, 46917, 49087, 53816, 55911 and 60831. 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 39123 [details] the file and screenshot
Yes, I can confirm it. MS Word 2000 SP3 opens the file "_MALLI_YRITYS.RTF" properly, with all saved tabstops. When opening the same file with OpenOffice 2.0.3: the tabstops in the lines 17 (partially), 19, 20, 21 (partially), 22, 23, 24 (partially) and so on and are lost. The tabstops are lost in this case while opening the rtf-file, not while converting the document to rtf! The lines, where the tabstops are lost, contain the non-standard paragraph format: horizontal text indents "before text" and "first line". Hopefully it will help you.
Yes, I see. The tabstops are really lost from some lines when opened in OpenOffice 2.0.3. And tabstops ARE visible when opened in Word 2002. I don´t know in which program the original file "_MALLI_YRITYS.RTF" is made. It was copied from one CD containing these (Finnish) model legal documents, print year is 1999. But then the RTF-format used must be from year 1999. I don´t know about the versions of the RTF standard. Anyway. It seems to be some kind of problem in IMPORTING of tabstops from RTF files. Your (yozhhh) problem is with EXPORTING tabstops to RTF-file from OO. Hmm... I have some RTF-files from year 1998 or before. I could test importing those older files to OO 2.0.3 and check how tabstops are handled then.
OpenOffice.org 1.1.5 does not have this bug!
RTF bugs are planned to become fixed with our new filter -> target 3.0
The docx import filter consumed most of our resources in the "interop" area. Due to that we must retarget this issue. -> 3.x
I cannot reproduce this issue, as of ooo320-m19.
Reset assigne to the default "issues@openoffice.apache.org".