Page 1 of 1
rvf file loading problem.
Posted: Fri Sep 08, 2006 8:31 am
by yoon jin suk
My duty is converting from Delphi 3 source to Delphi 7 source.
The rvf file saved from Delphi3 is loaded well in Delphi 7.
But the rvf file saved from Delphi 7 is unloaded well in Delphi 3.
Just White page is showen. That is, the data is not showen.
I want to load rvf file saved from Delphi 7 in Delphi 3.
The TRichViewEdit version is 1.9.24.
Posted: Fri Sep 08, 2006 6:44 pm
by Sergey Tkachenko
Please send me this RVF file, I'll try to see what's wrong.
send rvf file
Posted: Mon Sep 18, 2006 5:26 am
by bojung
i sent e-mail
i am korean..
error message :
Error reading TFontInfo.FontName invalid property value ...
Posted: Mon Sep 18, 2006 6:37 pm
by Sergey Tkachenko
Oops, I am afraid it cannot be fixed
TRichView relies on Delphi streaming mechanism for saving styles, but the method of saving non-English strings was changed in newer version of Delphi.
As I understand, you use fonts with non-English names...
then .. it's impossibility?
Posted: Tue Sep 19, 2006 5:10 am
by bojung
then it's problem impossibility?
if without respect to open possibility?
tech me. please ..
it's very importance...
Posted: Tue Sep 19, 2006 6:01 am
by Sergey Tkachenko
I am afraid you need to convert documents in another formats, if you want to save them in Delphi 7 app and load both in Delphi 7 and Delphi 3 app.
For example, save RVF document without styles (rvfoSaveTextStyles, evfoSaveParaStyles excluded from RVFOptions), and save styles separately in ini-file (RVStyle.SaveINI)
LoadRTFFromStream <-> SaveRTFFromStream
Posted: Wed Sep 20, 2006 5:56 am
by bojung
i test it.
delphi 7 -> savertffromstream
delphi 3 -> loadrtffromstream .
then it's success.
but, savervffromstream , loadrvffromstream is error .
it's delphi stream problem?
Posted: Thu Sep 21, 2006 8:54 am
by Sergey Tkachenko
There must be no difference in saving to file or stream.
May be you use TStringStream? This class cannot be used for storing RVF documents or any binary data.