Version: 1.21 (using KDE KDE 3.0.3) Installed from: Mandrake RPMs when I save a file in RTF format, some of the formatings are lost: font is lost spacing between lines is lost ruler (margins for a particular line) is lost I'll attach example
Created attachment 697 [details] the original file
Created attachment 698 [details] the same file, saved as rtf
At first glance, I would tell that the RTF export filter in KOffice 1.2 cannot do any of those. However, I think that the new developement filter is able to handle it correctly. Have a nice day/evening/night!
Subject: koffice/filters/kword/rtf/oldexport CVS commit by goutte: No space between font name and ; CCMAIL: 52609@bugs.kde.org M +1 -1 rtfexport.cc 1.3 --- koffice/filters/kword/rtf/oldexport/rtfexport.cc #1.2:1.3 @@ -800,5 +800,5 @@ QString fontTableMarkup(QString fontName fontHeader += "\\fcharset0\\fprq2 "; // font definition fontHeader += fontName; - fontHeader += " ;}"; // end font table entry + fontHeader += ";}"; // end font table entry return font; // this is the font selection markup
I think that I have found the problem for the font name. In RTF font names are finished with a ; However the export filter adds an extra space. As for line spacings and indents, it is not support by the filter of KOffice 1.2.x. However the new filter of the development version of KOffice is handling them correctly. Have a nice day/evening/night!
Created attachment 701 [details] Your document exported by the developement version of the filter
can you please translate it for simple users? is there anything I need to do, or just wait for the new release of koffice (1.22) or maybe there is a patch or fix ? as for now, I simply can't use kword...
Subject: Re: rtf exporting loses some of the formattings As I suppose that you do not want to compile KOffice yourself, you need to wait on a new version. However, I do not know when your distribution will have a version with the new changes for KOffice 1.2.x. (A KOffice 1.2.2 is not scheduled for now.) As for the new filter, it will only be for KOffice 1.3, which will be released probably in late Summer 2003. I am sorry that you cannot use KWord but the problem is that the RTF export filter for KOffice 1.2.x is in bad shape, as its maintainer was lost. So technically it is still more a KOffice 1.1 filter. (Therefore it cannot do linespacing, indents, pictures, tables...) Some people have had good result with exporting as HTML. However, I do not know if it is also true for right-to-left languages. The problem of using HTML is that KWord cannot import HTML correctly. Therefore you have to keep a KWord document beside the HTML version. But otherwise, it might work by using HTML from KWord to the other word processor and RTF from the other word processor to KWord. (In the HTML export filter dialog, you should choose "enhanced". If you have problems with it, then choose "basic".) That is unfortunately the situation. As we have very few manpower for developing the filters, it goes only very slowly. Have a nice day/evening/night! On Sunday 05 January 2003 18:04, Yossi Natanson wrote: > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=52609 > > > > > ------- Additional Comments From yossin@yossin.com 2003-01-05 18:04 > ------- can you please translate it for simple users? > is there anything I need to do, or just wait for the new release of koffice > (1.22) or maybe there is a patch or fix ? > as for now, I simply can't use kword...