HtmlViewer icon indicating copy to clipboard operation
HtmlViewer copied to clipboard

Multiplatform Htmlviewer

Open debritto opened this issue 8 years ago • 7 comments

Hi Folks, Is it possible to install HtmlViewer on Linux, Mac OSX and Windows?

For me it's working on Windows but I faced problems trying to install it on Linux.

Best regards, Christian

debritto avatar Jun 01 '16 20:06 debritto

The branch HtmlViewer-11.6-to-11.7 was compilable and running on Linux some commits ago (0624bedb2123ba33a40d5f50bff4e1a4dbe72ef5). Later commits are not yet tested on Linux and most probably need some (minor) changes. Version 11.7 will be released on July 1st for Delphi and Lazarus, Win and Linux, 32 and 64 bit (Linux without printing as it relies on TMetaFile, which is not available for Linux).

In default of a Mac there is no Mac support.

BerndGabriel avatar Jun 01 '16 21:06 BerndGabriel

When I try to install Frameviewer09.lpk () HtmlViewer-11.6) on linux I receive this messages:

Compile package FrameViewer09 11.0: Exit code 256, Errors: 2, Warnings: 1 htmlmisc.pas(308,36) Warning: Symbol "CM_WININICHANGE" is not implemented htmlmisc.pas(569,63) Error: Identifier not found "LPINT" htmlmisc.pas(570,65) Error: Identifier not found "INT_PTR"

Please, could you help me. Your library is VERY important to my app. Best regards

debritto avatar Jun 18 '16 02:06 debritto

Branch HtmlViewer-11.6 does not work on Linux, please try branch 11.6-to-11.7.

BerndGabriel avatar Jun 19 '16 12:06 BerndGabriel

Hi Bernd, Iḿ using branch 11.6-to-11.7. Iḿ receiving this error now :(

Compile package FrameViewer09 11.0: Exit code 256, Errors: 1, Warnings: 31, Hints: 10 htmlmisc.pas(309,36) Warning: Symbol "CM_WININICHANGE" is not implemented htmlmisc.pas(621,13) Hint: Conversion between ordinals and pointers is not portable htmlmisc.pas(630,13) Hint: Conversion between ordinals and pointers is not portable htmlmisc.pas(648,11) Hint: Conversion between ordinals and pointers is not portable htmlmisc.pas(731,15) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" htmlmisc.pas(753,10) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString" htmlmisc.pas(860,10) Warning: Function result does not seem to be set htmlmisc.pas(869,10) Warning: Function result does not seem to be set htmlmisc.pas(976,26) Hint: Local variable "TM" does not seem to be initialized htmlmisc.pas(1003,26) Hint: Local variable "TM" does not seem to be initialized htmlmisc.pas(1027,10) Warning: Function result does not seem to be set htmlmisc.pas(1036,10) Warning: Function result does not seem to be set htmlmisc.pas(1045,10) Warning: Function result does not seem to be set htmlmisc.pas(1054,10) Warning: Function result does not seem to be set htmlmisc.pas(1110,10) Warning: Function result does not seem to be set htmlmisc.pas(1119,10) Warning: Function result does not seem to be set htmlmisc.pas(1129,10) Warning: Function result does not seem to be set htmlmisc.pas(1138,10) Warning: Function result does not seem to be set htmlmisc.pas(1147,10) Warning: Function result does not seem to be set htmlmisc.pas(1156,10) Warning: Function result does not seem to be set htmlmisc.pas(1165,10) Warning: Function result does not seem to be set htmlmisc.pas(55,3) Hint: Unit "ctypes" not used in HtmlMisc widestringslcl.pas(85,14) Warning: An inherited method is hidden by "Equals(TWideStrings):Boolean;" widestringslcl.pas(415,28) Warning: Implicit string type conversion from "AnsiString" to "WideString" widestringslcl.pas(542,34) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" widestringslcl.pas(563,39) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" widestringslcl.pas(812,31) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" widestringslcl.pas(812,27) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" widestringslcl.pas(862,43) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" widestringslcl.pas(898,22) Warning: Implicit string type conversion from "AnsiString" to "WideString" widestringslcl.pas(922,43) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" widestringslcl.pas(1243,36) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" widestringslcl.pas(1243,32) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" widestringslcl.pas(1245,37) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" widestringslcl.pas(1245,33) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HtmlGlobals.pas(524,36) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HtmlGlobals.pas(554,36) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HtmlGlobals.pas(867,3) Hint: Local const "ROP_DstCopy" is not used HtmlGlobals.pas(1130,29) Hint: Local variable "Buffer" does not seem to be initialized HtmlGlobals.pas(1216,13) Error: Identifier not found "RunCommand" HtmlGlobals.pas(1326,39) Hint: Local variable "Pt" does not seem to be initialized HtmlGlobals.pas(1383,39) Hint: Local variable "Pt" does not seem to be initialized

debritto avatar Jun 25 '16 01:06 debritto

How about WinCE? Trying to compile for arm\wince gets me error messages

Compile package lz_cairocanvas 5.6.1: Exit code 1, Errors: 10, Hints: 3 cairocanvas.pas(36,9) Error: Identifier not found "Pcairo_t" cairocanvas.pas(36,17) Error: Error in type definition cairocanvas.pas(39,20) Error: Identifier not found "Pcairo_rectangle_t" cairocanvas.pas(39,38) Error: Error in type definition cairocanvas.pas(41,16) Error: Identifier not found "PPangoFontDescription" cairocanvas.pas(41,37) Error: Error in type definition cairocanvas.pas(44,41) Error: Identifier not found "PPangoLayout" cairocanvas.pas(121,71) Error: Identifier not found "Pcairo_surface_t" cairocanvas.pas(78,15) Note: Virtual method "BeginDoc;" has a lower visibility (protected) than parent class TPrinterCanvas (public) cairocanvas.pas(79,15) Note: Virtual method "EndDoc;" has a lower visibility (protected) than parent class TPrinterCanvas (public) cairocanvas.pas(80,15) Note: Virtual method "NewPage;" has a lower visibility (protected) than parent class TPrinterCanvas (public) cairocanvas.pas(132,9) Error: Identifier not found "Pcairo_surface_t" cairocanvas.pas(132,25) Error: Error in type definition

taldov avatar Jul 05 '16 03:07 taldov

I'm having the problem with CodeTyphon and i cant find the package for this pl_htmlViewer

taldov avatar Jul 06 '16 02:07 taldov

@taldov currently there are no plans to port HtmlViewer to WinCE. Volunteers are welcome, though.

BerndGabriel avatar Jul 11 '16 18:07 BerndGabriel