Third-Party Tools | RvHtmlViewImporter (deprecated)

<< Click to display table of contents >>

Third-Party Tools | RvHtmlViewImporter (deprecated)

Deprecated. TRichView HTML methods for HTML import provide better result.


RVHTMLViewImporter allows loading HTML files in RichView using HTML parser from THTMLViewer (freeware with source).

If activated, RichViewActions support HTML files in the following actions:

TrvActionOpen

TrvActionSaveAs (RVHTMLViewImporter is not used for saving, but HTML is added in the "Save As" action because it is added in the "Open" action)

TrvActionInsertFile

TrvActionPasteSpecial

TrvActionPaste (pasted if not RVF or non-empty RTF available in the Clipboard)

RVHTMLViewImporter is installed by TRichView Setup if THTMLViewer is already installed.

THTMLViewer can be downloaded from github.com/BerndGabriel/HtmlViewer.

How to use

Place TRVAControlPanel component on a form. If you have more than one TRVAControlPanel component in your application, link it to actions.

Assign TRvHtmlViewImporter component to TRVAControlPanel.HTMLComponent.

Assign THTMLViewer component to HTMLViewer property of TRVHTMLViewImporter (make THTMLViewer hidden).

Make sure that ffiHTML is in Filter property of TrvActionInsertFile action.

Include rvddHTML in AcceptPasteFormats property of the editor.

See also:

PasteHTML procedure

RvHtmlImporter