TrvHtmlViewImporter and THMLViewer v11.8

General TRichView support forum. Please post your questions here
Post Reply
Sergey Tkachenko
Site Admin
Posts: 13470
Joined: Sat Aug 27, 2005 10:28 am
Contact:

TrvHtmlViewImporter and THMLViewer v11.8

Post by Sergey Tkachenko » Wed Sep 13, 2017 5:16 pm

TrvHtmlViewImporter imports HTML in TRichView, using THTMLViewer ( https://github.com/BerndGabriel/HtmlViewer/ )

Our installer installs TrvHtmlViewImporter automatically, if THTMLViewer 11.7 is already installed
(THTMLViewer does not include packages for Delphi 10.1 and 10.2; since the package for Delphi 10 is named FrameViewerXE9.dpk, our installer assumes that the package for Delphi 10.1 is FrameViewerXE10.dpk, and for 10.2 is FrameViewerXE11.dpk)

THTMLViewer 11.8 was released recently.
Unfortunately, it has changes that prevent compilation of TrvHtmlViewImporter, some properties of THtmlTable were made private.
I already sent a request to return them back, I hope this problem will be fixed.

Meanwhile, you have the following solutions:

1) Use version 11.7 (you can choose a version to download on their web site)
2) Use version 11.8 with modifications. Open HTMLSubs.pas, find the declaration of THtmlTable, and move from the private to the public section the following variables:
BkGnd, BkColor, CellSpacingVert, CellSpacingHorz, CellPadding.

Post Reply