forked from dstd/HtmlayoutDelphi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme
65 lines (46 loc) · 2.34 KB
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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.