Page 1 of 1
Plain text from blob field with rvf format
Posted: Wed Mar 14, 2012 12:03 pm
by jota
Hi.
I need present plain text from a blob field, in a dbgrid component (really, an small portion of every blob field).
It´s saved with rvf format.
Can anyone help me
Thank in advance.
Posted: Fri Mar 16, 2012 7:06 am
by Sergey Tkachenko
You need to load this field in TRichView/TDBRichView component and then save as text.
For loading, you can either link TDBRichView to this field, or use TRichView.LoadRVFFromStream (see Demos\*\DB Demo\2 RichViewEdit)
For saving, you can, for example, use GetAllText from RVGetText unit (or from RVGetTextW unit, if you need Unicode text).
Posted: Sat Sep 01, 2012 6:45 pm
by jota
Hi
I´m downloading xe2 version of trichview, from your web page, but i do not find RVGetText.pas inside. Is there another download link?
Thanks
Posted: Sat Sep 01, 2012 7:25 pm
by Sergey Tkachenko
If you download a trial version, it includes RVGetTextW.dcu.
Help on this unit:
http://www.trichview.com/help/idh_rvgettext.html