Problem copying from one RichView blob to another

General TRichView support forum. Please post your questions here
Post Reply
Ajaz
Posts: 12
Joined: Wed Jun 15, 2022 7:35 am

Problem copying from one RichView blob to another

Post by Ajaz »

I use a TDBRichViewEdit to save text and images in a field of a Firebird table.
I want to add this content to the end of another TBDRichView edit, for this, I create a TDBRichview linked to the source table field and save this content to a Tmemorystrem through SaveRVFToStream, to add it to the TBDRichView edit through AppendRVFFromStream.

If the text is without attributes, it copies the text and images without problem. But if anywhere you put text in bold, italics, underline... from that point on it no longer copies the content.
Ajaz
Posts: 12
Joined: Wed Jun 15, 2022 7:35 am

Re: Problem copying from one RichView blob to another

Post by Ajaz »

Using TRichView.RVFOptions :=[rvfoSavePicturesBody, rvfoSaveTextStyles, rvfoSaveParaStyles] seems to fix the problem.
Post Reply