trichview.com

trichview.support




Re: Import HTML with <img src="http://.....


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/19/2003 12:45:55


Hi,


In the next update, TRichView will have a new event: OnImportPicture. This

event will be a complete analog of TrvHtmlImporter's OnImageRequired2.

This event will be called when importing external images from RTF (and all

office converters use RTF as an intermediate format).

This feature is already implemented (together with example code using Indy),

and will be available for registered users soon (may be, this weekend)


PS: Indices of the specific converters may vary from computer to computer.

It's not safe to assume that HTML import converter has index 0.


> Hi,

>

> first: Thanks for your answer in support.examples. Its works! I buyed

> TRichview yesterday per remittance. Great Component!

>

> The next thing I have to do, is to import an html-file. I tried this:

>

> RVOfficeConverter1.ImportRV('c:\test.html', RichViewEdit1, 0);

>

> It works, but the linked images can't be loaded. Of course. How can I

solve

> the problem? I need an event where i can do something like this:

>

> RichViewEdit1.InsertPicture('http://www.xxx.de//123.jpg', Grafic,

> rvvaBaseline);

>

> Loading the Picture from an URL and put it into a TGraphic isn't a problem

> for me.

>

> buy Andre

>

>





Powered by ABC Amber Outlook Express Converter