Subject RE: [firebird-support] Again: richtext to plaintext UDF
Author Alan McDonald
> Alan McDonald schrieb:
> >>Hello again,
> >>
> >>as nobody replied to my last post, I try it again and keep it more
> >>straightforward ;-)
> >>
> >>Does anybody know of a practicable method of extracting plain text from
> >>a blob field containing rich text?
> >>
> >>I would be happy about:
> >>- an existing UDF (or UDF library) already implementing this
> >>- an algorithm, a function or a component that I can use to write my own
> >>UDF in Delphi
> >>- any other idea how to solve the task.
> >>
> >>Thanks
> >>Urs
> >
> >
> > maybe you could write a UDF with the TRichView component which has
> > SavetoStream, LoadfromStream functions.
> > Alan
> >
> That was already proposed to me in a Delphi forum.
> But as described in my earlier post the line "RichEdit1.Plaintext :=
> true" (apparently it was this line) caused the Firebird server to crash.
>
> Urs

I'm not talking about that component. I'm talking about TRichView which
doesn't have a plaintext property, only method to convert from native RVF to
RTF or Plaintext.
Alan
see http://www.trichview.com/