Skip to content

Keksov/HtmlayoutDelphi

 
 

Repository files navigation

Terms of use
============

HTMLayout License terms could be found here http://www.terrainformatica.com/htmlayout/prices.whtm
Delphi binding of HTMLayout published under LGPL.
Visit https://github.com/Keksov/HtmlayoutDelphi
  
Delphi (D7) binding for HTMLayout
============================
 
Created with HTMLayout SDK v 3.3.3.13

All functions from htmlayout.h, htmlayout_dom.h, htmlite.h, htmprint.h, htmlayout_behavior.h are imported. Several DOM object wrappers were introduced.
Some examples of Delphi code are located in test directory.

Download SDK from official site http://www.terrainformatica.com/htmlayout/HTMLayoutSDK.zip
For getting help on HTMLayout itself please visit forum at http://www.terrainformatica.com/forum/list.php?3 
If you speak Russian then visit http://www.rsdn.ru/forum/htmlayout for getting even more help, especially these topics
1. http://www.rsdn.ru/forum/htmlayout/2231219.flat#2231219
2. http://rsdn.ru/forum/htmlayout/2231384.1

* Built-in behaviors:
http://www.terrainformatica.com/htmlayout/behaviors.whtm
http://www.terrainformatica.com/wiki/h-smile/built-in-behaviors/start

* List of entities (HTML tags) HTMLayout knows about:
http://www.terrainformatica.com/htmlayout/tagsattributes.whtm

* HTMLayout specific tags:
http://www.terrainformatica.com/htmlayout/tags.whtm

* CSS Attributes support map
http://www.terrainformatica.com/htmlayout/cssmap.whtm

* CSS Selectors in HTMLayout
http://www.terrainformatica.com/htmlayout/selectors.whtm
Note: E:last-child Matches element E when E is the last child of its parent.

*CSS transition docs
<SDK folder>/html_samples/transitions/!transition-doc.htm
<SDK folder>/html_samples/transitions/easing-functions.htm

* csss!
http://www.terrainformatica.com/htmlayout/csss!.whtm
http://www.terrainformatica.com/htmlayout/csss!-events.htm
http://www.terrainformatica.com/htmlayout/csss!-dom-object.htm

* SVG
Visit https://development.mwcs.de/svgimage.html for more info 

Usage
=====
Please download HTMLayout SDK, run bin/browse.exe or bin64/win64.exe and take a look at the set of examples under the 'html_samples' subdir.

Delphi
ctrl := THtmlControl.Create( self );
ctrl.Parent := panList;
ctrl.Align  := alClient;
ctrl.Visible := true;
ctrl.html := '<html><body>Hello, World!</body></html>';

Look at test\MustacheTemplateEngine.pas, test\TestSVG.pas, test\LiteTest.pas for more sophisticated examples.


About

Delphi Wrapper for HtmLayout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Pascal 98.2%
  • C++ 1.6%
  • Other 0.2%