Apache OpenOffice (AOO) Bugzilla – Issue 20835
erroneous rtf files generated - missing space character
Last modified: 2013-08-07 14:41:36 UTC
If I create a file with the text Bold italic plain bold italic plain bold plain bold plain italic plain italic plain bold plain (leading space) where each word has the appropriate attribute (bold/ital/none) set, and write to an rtf file, then the first three lines have no space appearing after the first word. The third line is formatted correctly. The relevant fragment of rtf generated is (sorry about the long lines and messy wrap) \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch \af3\afs24\lang255\ltrch\dbch\af2\afs24\langfe255\loch\f0\ fs24\lang2057{\loch\f0\fs24\lang2057\i0\b{\b Bold}}{\loch\f0\fs24\lang2057 {\i italic} plain {\b bold} {\i italic} plain} \par {\loch\f0\fs24\lang2057\i0\b{\b bold}}{\loch\f0\fs24\lang2057 plain {\b bold} plain} \par {\loch\f0\fs24\lang2057\i\b0{\i italic}}{\loch\f0\fs24\lang2057 plain {\i italic} plain} \par {\loch\f0\fs24\lang2057\i0\b0 {\b bold} plain (leading space)} \par which shows that the required space is missing after the first word of the first three lines: a space following an rtf command is part of the command, and not for output.
Please Attach the documents which make this problem, so we can test it/faster to confirm. (Without the documents, we cannot confirm the problem easily/need more time) Don't forget to cut other part of the documents, so the file size is small, but we still able to see the problem.
Created attachment 10099 [details] file send by email by reporter
It is not bold but it look like bold. To reproduce: open the file in OOo save as rtf. plain text will look as bold (but not bold) when opened I can Reproduce the problem on OpenOffice 1.1 (default Install, US), Win XP Pro Sp1. (And MS Office XP Sp2). It is real problem
Created attachment 10102 [details] example oo .sxw - save as type .rtf to generate incorrect output
Reassigned to MRU
MRU->CMC: Some space characters get lost on export to RTF.
Yes, same as task #112364# in old bugtracker and fixed for 2.0 in kilkennyfilterteam14
reopen to reassign
cmc->mru: should be ok in kilkennyfilterteam14
Checked fix with CWS kilkennyfilterteam14.
Verified. Fix will be included in OO 2.0.
checked with src680m19 == > ok