Third-Party Tools | RvHtmlViewImporter |
Top Previous Next |
|
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) •TrvActionInsertFile (if both RvHtmlViewImporter and RvHtmlImporter are used, this action uses RvHtmlViewImporter) •TrvActionPasteSpecial (if both RvHtmlViewImporter and RvHtmlImporter are used, this action uses RvHtmlViewImporter) •TrvActionPaste (pasted if not RVF or non-empty RTF available in the Clipboard; if both RvHtmlViewImporter and RvHtmlImporter are used, this action uses RvHtmlViewImporter) THTMLViewer can be downloaded from www.pbear.com. RvHtmlViewImporter can be downloaded from www.trichview.com/resources/. Installing1.Read the installation instructions in RvHtmlViewImporter and make the proper changes in THTMLViewer packages and source code. 2.Install HTMLViewer. 3.Install RVHTMLViewImporter. 4.Open RichViewActions.inc, remove the dot from the line {.$DEFINE USERVHTMLVIEWER}. 5.Open the RichViewActions package. Add a link to the RVHTMLViewImporter package in "Requires" section. Install the package (or rebuild it, if already installed). 6.Create THTMLViewer and TRVHTMLViewImporter components, assign THTMLViewer component to HTMLViewer property of TRVHTMLViewImporter component, assign TRVHTMLViewImporter component to RVHTMLViewImporter property of TRVAControlPanel component (if you do not see this property, steps 1-5 were not completed) Make sure that ffiHTML is included in Filter property of TrvActionInsertFile, TrvActionOpen, ffeHTML is included in Filter property of TrvActionSaveAs, TrvActionExport. See also: •PasteHTML procedure |