<< 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:
•TrvActionSaveAs (RVHTMLViewImporter is not used for saving, but HTML is added in the "Save As" action because it is added in the "Open" action)
•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.
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