RTF

General TRichView support forum. Please post your questions here
Post Reply
Nadya Sevova
Posts: 2
Joined: Fri May 11, 2007 11:16 am

RTF

Post by Nadya Sevova »

Hi!

I use RichView and try export in rtf. The problem is that I have <strike> tag and
if i have "<strike> some text </strike> some other text", all text till the end is striked out. Perhaps I haven't set some property, but I have no problems with other tags.

I am new to this so be kind.
Sergey Tkachenko
Site Admin
Posts: 17565
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Please send me RVF document reproducing this problem.
Nadya Sevova
Posts: 2
Joined: Fri May 11, 2007 11:16 am

Post by Nadya Sevova »

So,
I find the following

1)

Code: Select all

<html><body><p><font color=red><strike><i> only test </i></strike></font>ala bala</p></body></html> 
does NOT work, BUT

Code: Select all

<html><body><p><strike><i> samo test </i></strike>ala bala</p></body></html>  
works fine

2)when I use the component to export in rtf it generates the following code

Code: Select all

{\rtf1\ansi\ansicpg0\uc1\deff0\deflang0\deflangfe0{\fonttbl{\f0\fnil\fcharset1 Times New Roman;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}

\uc1
\pard\fi480\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\fs24 
\par \pard\fi480\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\i\strike\fs24\cf6 samo test \plain \f0\strike\fs24\cf6 ala bala}
instead of

Code: Select all


{\rtf1\ansi\ansicpg0\uc1\deff0\deflang0\deflangfe0{\fonttbl{\f0\fnil\fcharset1 Times New Roman;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}

\uc1
\pard\fi480\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\fs24 
\par \pard\fi480\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\i\strike\fs24\cf6 samo test \plain \f0\strike0\fs24\cf0 ala bala}
The difference between the two is in the second strike that should be strike0 and in the second cf6 that should be cf0

Nadya
Sergey Tkachenko
Site Admin
Posts: 17565
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Answered by e-mail
Post Reply