trichview.com

trichview.support




Re: SaveRTFToStream


Return to index


Author

Message

David Novo

Posted: 01/19/2005 18:31:14


I have had to do a similar thing and used the visible=false trick. One

small annoyance is that I seem to have to set the parent property.

However, since I do this inside a helper class method, there is no

convenient parent. It would be nice if I could do


tmpRichEdit.create

tmpRichEdit.loadRVFFromStream

tmpRichEdit.insertSomeText

tmpRichEdit.saveRVFToStream

tmpRichEdit.free


but I have to find a twincontrol to act as a parent. Is there any way

to avoid this?


-Dave


Sergey Tkachenko wrote:


> Create a hidden TRichView (Visible = False)

> Advice: call DeleteUnusedStyles before (or after) loading each

> document to make RTF files as small as possible.

>

> > I'd like to work in RVF but then convert to RTF at runtime. e.g. I

> > need to pur some fvr content into another blob field and use RTF

> > reporting components to print them.

> > The SaveRTFToStream would do this but I need to load the component

> > with

> RVF

> > content each time before I call this method. Is there another way

> > to to do this without the use of visual components? I would like to

> > do a while loop thru a set of records and convert the rvf content

> > into an rtf field

> without

> > showing everything on the screen.

> > thanks

> > Alan

> >

> >





Powered by ABC Amber Outlook Express Converter