Pasting copied webcontent containing images and text doesn't

General TRichView support forum. Please post your questions here
Post Reply
tituspaul
Posts: 2
Joined: Mon Apr 14, 2008 3:10 pm

Pasting copied webcontent containing images and text doesn't

Post by tituspaul »

Hi,

I tried copying web content containing Images and text and then pasting into the Action Test Demo application...I see that the images don't copy...is there any setting to turn this feature on?

Similarly, I cannot copy images and text from the ActionTest demo application to an email composer.

Please let me know if this feature is available...I need to know this before I buy ScaleRichView.

Thank you very much.

Regards
Titus
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

There are several possible reasons why images are not inserted.
1) Images have formats unsupported by Delphi by default, for example gif and png. You need to use thirdparty graphic classes to support them (see http://www.trichview.com/forums/viewtopic.php?t=89)
2) Images are on a web server. They must be downloaded before inserting. RichViewActions can do it using Indy components.
3) Internet Explorer fails to copy RTF to the Clipboard, if the selected fragment is too complicated (contains many nested tables) - it copies empty RTF. Such documents can be pasted properly only in HTML format. In RichViewActions, if they compiled with support of RvHtmlImporter, when RTF in the Clipboard is empty, HTML is inserted automatically.

All these problems are solved in the compiled ActionTest demo, at least the standard demo without ScaleRichView (it compiled with support of gif and png images, Indy, RvHtmlImporter). Otherwise, read the instructions in readme.rvf and install.txt.

As for the second problem (copying from the ActionTest) - what e-mail composer application do you use?
tituspaul
Posts: 2
Joined: Mon Apr 14, 2008 3:10 pm

Post by tituspaul »

Hi, Thank you for the quick reply.

I did try the ActionTest demo that came with ScaleRichView and that without ScaleRichView. In both, however, when I copy and paste a simple Jpeg with some text(from web page), the image is replaced with an emply square.

I use Outlook express. In outlook express email composer, when I paste from ActionTest Demo, I do get the same formatted text but without images. However, when I paste into Thunderbird's email composer, I lose the text format too in addition to the images.

Please let me know if these can be resolved.

Best Regards,
Titus
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1) About pasting from web pages. Which browser do you use, and which web page do you copy?

2) About copying to email composers.That means that Outlook Express ignores images in pasted RTF content, and Thunderbird email composer does not paste RTF at all (pastes plain text). There is nothing I can do about it.
Well, may be copying in HTML format (in addition to RVF, RTF and plain text) may help, but it is not implemented yet.
Post Reply