Bug 56632

Summary: save kword as rtf and opening this document adds .06 at the beginning
Product: kword Reporter: Ferdinand Gassauer <gassauer>
Component: filtersAssignee: Tomasz Grobelny <grotk>
Status: RESOLVED FIXED    
Severity: normal CC: nicolasg
Priority: NOR    
Version: 1.5 or before   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ferdinand Gassauer 2003-03-30 21:00:45 UTC
Version:           1.2post (using KDE 3.1.9)
Compiler:          gcc version 3.2 (SuSE Linux)
OS:          Linux (i686) release 2.4.19-4GB

Hi!
save kword as rtf and opening this document adds .06 at the beginning of the document, which should not happen
IMHO the export/save is wrong
ferdinand
Comment 1 Nicolas Goutte 2003-03-31 02:11:56 UTC
I cannot reproduce it with saving an empty document. :-(   
   
(To be sure: we are really talking about KOffice CVS HEAD, not about 1.2.1)  
  
If you want. you can check with an editor (for example Kate) where this 
sequence ".06" happens. 
 
Tags in RTF are in the form: \tag999 
So if the .06 is just after a tag, I would like to know which tag. 
 
Have a nice day/evening/night! 
Comment 2 Ferdinand Gassauer 2003-03-31 08:51:28 UTC
Subject: Re:  save kword as rtf and opening this document adds .06 at the beginning

On Monday 31 March 2003 02:11, you wrote:

>
> Tags in RTF are in the form: \tag999
> So if the .06 is just after a tag, I would like to know which tag.

<snip>
\snext0\ql\fi0\f0\fs24\i0\b0\ul0\strike0 Standard;
\s1\snext0\qc\fi0\f0\fs48\i0\b0\ul0\strike0 Document Title;
\s2\snext0\ql\fi0\f1\fs40\i0\b1\ul0\strike0 Head 1;
\s3\snext0\ql\fi0\f1\fs32\i0\b1\ul0\strike0 Head 2;
\s4\snext0\ql\fi0\f1\fs24\i0\b1\ul0\strike0 Head 3;
\s5\snext5\ql\fi0\f0\fs24\i0\b0\ul0\strike0 Enumerated List;
\s6\snext6\ql\fi0\f1\fs24\i0\b0\ul0\strike0 Alphabetical List;
\s7\snext7\ql\fi0\f1\fs24\i0\b0\ul0\strike0 Bullet List;
\s8\snext0\ql\fi0\f1\fs16\i0\b0\ul0\strike0 Header;
\s9\snext0\ql\fi0\f1\fs14\i0\b0\ul0\strike0 Footer;
\s10\snext5\ql\fi0\f0\fs24\i0\b0\ul0\strike0 Enumerated List 2;
\s11\snext5\ql\fi0\f0\fs24\i0\b0\ul0\strike0 Enumerated List 3;
}{\info {\comment Generated by KWord's RTF Export Filter 2.53 
}}\paperw11900\paperh16820\margl1127.06\margr560\margt840

it looks like margl1127.06 ....

Comment 3 Nicolas Goutte 2003-03-31 09:07:16 UTC
Subject: Re:  save kword as rtf and opening this document adds .06 at the beginning

On Monday 31 March 2003 08:51, Ferdinand Gassauer wrote:
(...)
> }}\paperw11900\paperh16820\margl1127.06\margr560\margt840
>
> it looks like margl1127.06 ....

It is what I was fearing... Now we need many many roundings in the RTF export 
filter code.

Have a nice day/evening/night!

Comment 4 Nicolas Goutte 2003-04-06 02:39:27 UTC
*** Bug has been marked as fixed ***.