trichview.com

trichview.support




Re: How to insert WideString and RTF code into TRichview


Return to index


Author

Message

zzz

Posted: 04/28/2003 14:09:11


Maybe my poor english lead you to the wrong way,


I finally found that I can save the RTF code to a stream and use InsertRTFFromStreamEd

the insert the stream to TRichview.




"Sergey Tkachenko" <svt@trichview.com> wrote:

>Do you want to insert RTF files at the specified places of RichView

>document?

>If yes, there is only one method to do it: to assemble on some (may be

>hidden) RichView a complete document (with included contents of embedded

>files) and save it.

>See the demo in

>Demos/Delphi/Assorted/Fields/MailMerge2/

>(it inserts RVF fields from database, but can be modified to insert RTF

>files)

>

>>

>> ok, now I know that I cannot insert complete RTF file in another RTF.

>> But I still need this function,

>> since you can load the rtf file correctly, it mean you can parse the rtf

>> code correctly,

>> Could you please wrote something to parse the format and insert it into

>TRichview

>> ?

>>

>>

>

>





Powered by ABC Amber Outlook Express Converter