Paste text with images from IE\Firefox

General TRichView support forum. Please post your questions here
Post Reply
Tobias
Posts: 5
Joined: Sat Jan 30, 2010 5:55 pm

Paste text with images from IE\Firefox

Post by Tobias »

I need to paste formated text from IE\Firefox. If I paste with .Paste method, there are no images.
I made working demo using RvHtmlViewImporter and Indy. But in such case all images downloaded from web. When there many pictures, it is pain on slow connections.
When I copy such data to MS Words, it is copies instantly, so pictures already in clipboard. Btw, when I copy first to Word and then from Word to RichEdit there are also no problems.
So, it is possible to copy such clipboard data to RichEdit without redownloading images?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

When I copy a web page from FireFox to MS Word, Word attempts to download data, my firewall shows it.
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post by Marsianin »

I'm using RVHTMLViewImporter to paste HTML and RVE.OnImageNeeded but sometimes downloaded images inserted with wrong size (usually much smaller) but these images shows fine in the Web.
So after paste I have to resize some images to 100% manually :(
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Can you give me an example of web page to reproduce this problem?
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post by Marsianin »

Try to copy and paste this forum page and look at 'new topic' and similar buttons.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Confirmed. A fixed version is uploaded
Post Reply