trichview.com

trichview.support




Re: Copying HTML?


Return to index


Author

Message

Lauchlan M

Posted: 04/22/2004 14:15:52


> You need to use several addons to paste HTML in RichViewEdit. All of them

> are free.

> 1) RVHTMLImporter - allows to insert and paste HTML.

> http://www.trichview.com/resources/

> RichViewActions support this component (read Install.txt for

> RichViewActions, and the bottom of the document loaded by default in the

> ActionTest demo).


Install.text says


<<

0) If you want to use RichViewXML, RichViewHTML, KSDev' ThemeEngine or

Addict3 with actions,

  install them first.

  Open RichViewActions.inc, remove dot from the corresponding lines

  {.$DEFINE USERVXML}

  {.$DEFINE USERVHTML}

  {.$DEFINE USERVADDICT3}

  {.$DEFINE USERVKSDEVTE}

>>


I assume in this case I would change the .inc file, uninstall RichView and

re-install it, making sure I write over the old BPL moved to

\windows\system32?


> HTML will be added in Insert|File, in Edit|Paste Special, and in Ctrl+V if

> RTF is not present in the Clipboard or empty.


Otherwise it pastes the RTF and not the HTML?


> 2) HTML files usually contain GIF and PNG images. Delphi does not support

> them by default, but there are free third-party implementations that can

be

> used in RichView.

> See the comments in Unit3.pas from RichViewActions

> 3) When you copy from the web page opened from the remote server (via

http),

> images are not in the Clipboard but must be downloaded.

> RichViewActions can do it for you using Indy (included in new versions of

> Delphi).

> (read the bottom of the document loaded by default in the ActionTest demo)

>

>

> > (ii) the actual HTML for the selected/copied segment of the web page

(like

> > in 'View Source' in IE).

>

> It's not supported by default, but I can give a code returning it.


Thanks! I'll just focus on (i) for the moment . . .





Powered by ABC Amber Outlook Express Converter