problem installing thtmlviewer

General TRichView support forum. Please post your questions here
Post Reply
hartcons
Posts: 21
Joined: Sat Aug 01, 2015 12:26 am

problem installing thtmlviewer

Post by hartcons »

we're trying to install thtmlviewer into the c++ personality of rad studio 10.3.1 and getting errors

we're following these instructions:
https://nachbar.name/2011/07/16/compili ... uilder-xe/

but still having trouble.

the goal is to test RvHtmlViewImporter to see if it can import the html produced by the web html editor tinyMCE

basically we're looking to send html from the web to the server and then pdf that html on the server using richview/gnostice

here the messages from trying to compile the package:

Checking project dependencies...
Compiling thtmlviewerpackage.cbproj (Release, Win32)
dcc32 command line for "C:\EcbXE10Forse\HtmlViewer-11.9\source\BegaHtmlPrintPreviewForm.pas"
c:\program files (x86)\embarcadero\studio\20.0\bin\dcc32.exe -AGenerics.Collections=System.Generics.Collections;
Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DNDEBUG
-IC:\EcbXE10Forse\HtmlViewer-11.9\source;"c:\program files (x86)\embarcadero\studio\20.0\lib\Win32\release";
C:\Users\Bruce\Documents\Embarcadero\Studio\20.0\Imports;"c:\program files (x86)\embarcadero\studio\20.0\Imports";
C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"c:\program files (x86)\embarcadero\studio\20.0\include";
C:\Components\TRichView\TRichView\Source\Include;C:\Components\TRichView\TRichView\Source;C:\Components\TRichView\RichViewActions\Source\Include;
C:\Components\TRichView\RichViewActions\Source;C:\Components\TRichView\RvHtmlImporter\Source;C:\Components\TRichView\RvXml\Source;
C:\Components\TRichView\ThirdParty\ReportBuilder\Source\Include;C:\Components\TRichView\ThirdParty\ReportBuilder\Source;
C:\Components\TRichView\ThirdParty\DevExpress\Source;C:\Components\TRichView\ThirdParty\rvHtmlViewImporter\Source;
C:\Components\TRichView\ThirdParty\Addict\Source;C:\Components\TRichView\ThirdParty\HunSpell\Source;C:\Components\TRichView\ThirdParty\ASpell\Source;
C:\Components\TRichView\ThirdParty\Indy\Source;C:\Components\TRichView\ThirdParty\CleverComponents\Source;C:\Components\TRichView\Math\Source\Include;
C:\Components\TRichView\Math\Source;C:\Components\TRichView\ThirdParty\QuickReport\Source\Include;
C:\Components\TRichView\ThirdParty\QuickReport\Source -LEC:\Users\Public\Documents\Embarcadero\Studio\20.0\BPL -NU.\Win32\Release -NSWinapi;
System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell
-OC:\EcbXE10Forse\HtmlViewer-11.9\source;"c:\program files (x86)\embarcadero\studio\20.0\lib\Win32\release";
C:\Users\Bruce\Documents\Embarcadero\Studio\20.0\Imports;"c:\program files (x86)\embarcadero\studio\20.0\Imports";
C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"c:\program files (x86)\embarcadero\studio\20.0\include";
C:\Components\TRichView\TRichView\Source\Include;C:\Components\TRichView\TRichView\Source;C:\Components\TRichView\RichViewActions\Source\Include;
C:\Components\TRichView\RichViewActions\Source;C:\Components\TRichView\RvHtmlImporter\Source;C:\Components\TRichView\RvXml\Source;
C:\Components\TRichView\ThirdParty\ReportBuilder\Source\Include;C:\Components\TRichView\ThirdParty\ReportBuilder\Source;
C:\Components\TRichView\ThirdParty\DevExpress\Source;C:\Components\TRichView\ThirdParty\rvHtmlViewImporter\Source;
C:\Components\TRichView\ThirdParty\Addict\Source;C:\Components\TRichView\ThirdParty\HunSpell\Source;C:\Components\TRichView\ThirdParty\ASpell\Source;
C:\Components\TRichView\ThirdParty\Indy\Source;C:\Components\TRichView\ThirdParty\CleverComponents\Source;C:\Components\TRichView\Math\Source\Include;
C:\Components\TRichView\Math\Source;C:\Components\TRichView\ThirdParty\QuickReport\Source\Include;
C:\Components\TRichView\ThirdParty\QuickReport\Source -RC:\EcbXE10Forse\HtmlViewer-11.9\source;"c:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";C:\Users\Bruce\Documents\Embarcadero\Studio\20.0\Imports;"c:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"c:\program files (x86)\embarcadero\studio\20.0\include";
C:\Components\TRichView\TRichView\Source\Include;C:\Components\TRichView\TRichView\Source;C:\Components\TRichView\RichViewActions\Source\Include;
C:\Components\TRichView\RichViewActions\Source;C:\Components\TRichView\RvHtmlImporter\Source;C:\Components\TRichView\RvXml\Source;
C:\Components\TRichView\ThirdParty\ReportBuilder\Source\Include;C:\Components\TRichView\ThirdParty\ReportBuilder\Source;
C:\Components\TRichView\ThirdParty\DevExpress\Source;C:\Components\TRichView\ThirdParty\rvHtmlViewImporter\Source;
C:\Components\TRichView\ThirdParty\Addict\Source;C:\Components\TRichView\ThirdParty\HunSpell\Source;C:\Components\TRichView\ThirdParty\ASpell\Source;
C:\Components\TRichView\ThirdParty\Indy\Source;C:\Components\TRichView\ThirdParty\CleverComponents\Source;C:\Components\TRichView\Math\Source\Include;
C:\Components\TRichView\Math\Source;C:\Components\TRichView\ThirdParty\QuickReport\Source\Include;
C:\Components\TRichView\ThirdParty\QuickReport\Source -UC:\EcbXE10Forse\HtmlViewer-11.9\source;"c:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";C:\Users\Bruce\Documents\Embarcadero\Studio\20.0\Imports;"c:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"c:\program files (x86)\embarcadero\studio\20.0\include";
C:\Components\TRichView\TRichView\Source\Include;C:\Components\TRichView\TRichView\Source;C:\Components\TRichView\RichViewActions\Source\Include;
C:\Components\TRichView\RichViewActions\Source;C:\Components\TRichView\RvHtmlImporter\Source;C:\Components\TRichView\RvXml\Source;
C:\Components\TRichView\ThirdParty\ReportBuilder\Source\Include;C:\Components\TRichView\ThirdParty\ReportBuilder\Source;
C:\Components\TRichView\ThirdParty\DevExpress\Source;C:\Components\TRichView\ThirdParty\rvHtmlViewImporter\Source;
C:\Components\TRichView\ThirdParty\Addict\Source;C:\Components\TRichView\ThirdParty\HunSpell\Source;C:\Components\TRichView\ThirdParty\ASpell\Source;
C:\Components\TRichView\ThirdParty\Indy\Source;C:\Components\TRichView\ThirdParty\CleverComponents\Source;C:\Components\TRichView\Math\Source\Include;
C:\Components\TRichView\Math\Source;C:\Components\TRichView\ThirdParty\QuickReport\Source\Include;
C:\Components\TRichView\ThirdParty\QuickReport\Source -JPHNE -NBC:\Users\Public\Documents\Embarcadero\Studio\20.0\DCP -NO.\Win32\Release --BCB -CG
-LUDesignIDE C:\EcbXE10Forse\HtmlViewer-11.9\source\BegaHtmlPrintPreviewForm.pas
[DCC Hint] StylePars.pas(542): H2443 Inline function 'ReadURL' has not been expanded because unit 'System.Variants' is not specified in USES list
[DCC Hint] StylePars.pas(783): H2443 Inline function 'TryStrToColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] StylePars.pas(874): H2443 Inline function 'TryStrToColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] StylePars.pas(880): H2443 Inline function 'TryStrToColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] Htmlsbs1.pas(485): H2443 Inline function 'DrawFormControlRect' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] Htmlsbs1.pas(490): H2443 Inline function 'FillRectWhite' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] Htmlsbs1.pas(724): H2443 Inline function 'DrawFormControlRect' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] Htmlsbs1.pas(934): H2443 Inline function 'DrawFormControlRect' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] Htmlsbs1.pas(939): H2443 Inline function 'FillRectWhite' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] Htmlsbs1.pas(1322): H2443 Inline function 'DrawFormControlRect' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] Htmlsbs1.pas(1324): H2443 Inline function 'FillRectWhite' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] Htmlsbs1.pas(1527): H2443 Inline function 'DrawFormControlRect' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] Htmlsbs1.pas(1636): H2443 Inline function 'DrawFormControlRect' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] ReadHTML.pas(2704): H2443 Inline function 'TryStrToColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] ReadHTML.pas(4255): H2443 Inline function 'TryStrToColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] ReadHTML.pas(4259): H2443 Inline function 'TryStrToColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] ReadHTML.pas(4263): H2443 Inline function 'TryStrToColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] ReadHTML.pas(4267): H2443 Inline function 'TryStrToColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Hint] ReadHTML.pas(4271): H2443 Inline function 'TryStrToColor' has not been expanded because unit 'System.UITypes' is not specified in USES list
[DCC Warning] BegaScrollBox.pas(1): W1025 Unsupported language feature: 'class destructor'
[DCC Warning] BegaScrollBox.pas(1): W1025 Unsupported language feature: 'class constructor'
[DCC Error] BegaPreview.pas(543): E2003 Undeclared identifier: 'PreviewPanel'
[DCC Error] BegaPreview.pas(543): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(543): E2015 Operator not applicable to this operand type
[DCC Error] BegaPreview.pas(600): E2003 Undeclared identifier: 'PreviewPanel'
[DCC Error] BegaPreview.pas(600): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(622): E2003 Undeclared identifier: 'PreviewPanel'
[DCC Error] BegaPreview.pas(622): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(630): E2003 Undeclared identifier: 'PreviewPanel'
[DCC Error] BegaPreview.pas(630): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(632): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(666): E2003 Undeclared identifier: 'PreviewBox'
[DCC Error] BegaPreview.pas(666): E2029 ')' expected but identifier 'ClientWidth' found
[DCC Error] BegaPreview.pas(666): E2029 'END' expected but ')' found
[DCC Error] BegaPreview.pas(670): E2029 ';' expected but 'IF' found
[DCC Error] BegaPreview.pas(672): E2003 Undeclared identifier: 'PreviewBox'
[DCC Error] BegaPreview.pas(672): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(672): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(673): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(673): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(675): E2029 '.' expected but 'ELSE' found
[DCC Error] BegaPreview.pas(677): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(677): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(678): E2066 Missing operator or semicolon
[DCC Error] BegaPreview.pas(678): E2066 Missing operator or semicolon
[DCC Warning] BegaPreview.pas(679): W1011 Text after final 'END.' - ignored by compiler
[DCC Error] BegaPreview.pas(129): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.AllOnOneClick'
[DCC Error] BegaPreview.pas(139): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.OpenInExcelClick'
[DCC Error] BegaPreview.pas(144): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.PreviewPanelMouseDown'
[DCC Error] BegaPreview.pas(145): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.PreviewPanelMouseMove'
[DCC Error] BegaPreview.pas(146): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.PreviewPanelMouseUp'
[DCC Error] BegaPreview.pas(148): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.PrevPageClick'
[DCC Error] BegaPreview.pas(149): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.PrintClick'
[DCC Error] BegaPreview.pas(150): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.PrinterSetupClick'
[DCC Error] BegaPreview.pas(151): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.ReportPropertiesClick'
[DCC Error] BegaPreview.pas(152): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.RowsPerPreviewChange'
[DCC Error] BegaPreview.pas(153): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.SaveFileClick'
[DCC Error] BegaPreview.pas(154): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.SendMailClick'
[DCC Error] BegaPreview.pas(155): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.UnitsBoxChange'
[DCC Error] BegaPreview.pas(156): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.ZoomBoxChange'
[DCC Error] BegaPreview.pas(157): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.ZoomingClick'
[DCC Error] BegaPreview.pas(158): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.PreviewPanelPaintPage'
[DCC Error] BegaPreview.pas(180): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.printPages'
[DCC Error] BegaPreview.pas(181): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.setCurrentPage'
[DCC Error] BegaPreview.pas(182): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.setOptions'
[DCC Error] BegaPreview.pas(183): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.setContentZoomMode'
[DCC Error] BegaPreview.pas(184): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.setPreviewZoomMode'
[DCC Error] BegaPreview.pas(211): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.updateBox'
[DCC Error] BegaPreview.pas(212): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.updateContentZoom'
[DCC Error] BegaPreview.pas(213): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.updatePage'
[DCC Error] BegaPreview.pas(214): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.updatePageMenu'
[DCC Error] BegaPreview.pas(236): E2065 Unsatisfied forward or external declaration: 'TBegaCustomPreviewFrame.updateActions'
[DCC Hint] BegaPreview.pas(173): H2219 Private symbol 'Moving' declared but never used
[DCC Hint] BegaPreview.pas(174): H2219 Private symbol 'getContentSize' declared but never used
[DCC Hint] BegaPreview.pas(179): H2219 Private symbol 'PixelsPerInch' declared but never used
[DCC Hint] BegaPreview.pas(187): H2219 Private symbol 'Zoom' declared but never used
[DCC Fatal Error] BegaHtmlPrintPreviewForm.pas(449): F2063 Could not compile used unit 'BegaPreview.pas'
Failed
Elapsed time: 00:00:00.8
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: problem installing thtmlviewer

Post by Sergey Tkachenko »

What version of THTMLViewer did you try to install?
Did you take v11.9 from https://github.com/BerndGabriel/HtmlViewer ?
hartcons
Posts: 21
Joined: Sat Aug 01, 2015 12:26 am

Re: problem installing thtmlviewer

Post by hartcons »

we may have been using a different version (my colleague downloaded it)

i tried just now to create a c++ package based on the source files in this directory:
https://github.com/BerndGabriel/HtmlVie ... 1.9/source

and got a bunch of errors.

things about needing to add the fmx framework and then tbegazoombox not found and then begapreview.pas not compatible with the fmx framework and more errors after that
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: problem installing thtmlviewer

Post by Sergey Tkachenko »

THTMLViewer does not support FMX, and TRichView does not support it as well yet.
hartcons
Posts: 21
Joined: Sat Aug 01, 2015 12:26 am

Re: problem installing thtmlviewer

Post by hartcons »

we're not using fmx. we use vcl.

but the error message said i needed to add fmx.

i found if i said no to that error message then i could choose vcl from a pulldown but still got the same errors i got originally.

so i'm stuck.

is anyone successfully using thtmlviewer with the c++ personality in rad studio 10.3.1?
Post Reply