source: sandbox/filemanager/tp/dompdf/www/index.php @ 1575

Revision 1575, 4.0 KB checked in by amuller, 14 years ago (diff)

Ticket #597 - Implentação, melhorias do modulo gerenciador de arquivos

Line 
1<?php include("head.inc"); ?>
2
3<div id="toc">
4<h2>On this page:</h2>
5<ul>
6<?php echo li_arrow() ?><a href="#overview">Overview</a></li>
7<?php echo li_arrow() ?><a href="#features">Features</a></li>
8<?php echo li_arrow() ?><a href="#limitations">Limitations</a></li>
9<?php echo li_arrow() ?><a href="#hacking">Hacking</a></li>
10</ul>
11</div>
12
13<a name="overview"> </a>
14<h2>Overview</h2>
15
16<p>dompdf is an HTML to PDF converter.  At its heart, dompdf is (mostly)
17CSS2.1 compliant HTML layout and rendering engine written in PHP.  It is
18a style-driven renderer: it will download and read external stylesheets,
19inline style tags, and the style attributes of individual HTML elements.  It
20also supports most presentational HTML attributes.</p>
21
22<p>PDF rendering is currently provided either by PDFLib (<a
23href="http://www.pdflib.com">www.pdflib.com</a>) or by a bundled
24version the R&amp;OS CPDF class written by Wayne Munro (<a
25href="http://www.ros.co.nz/pdf/">www.ros.co.nz/pdf</a>).  (Some
26performance related changes have been made to the R&amp;OS class,
27however).  In order to use PDFLib with dompdf, the PDFLib PECL
28extension is required.  Using PDFLib improves performance and reduces
29the memory requirements of dompdf somewhat, while the R&amp;OS CPDF class,
30though slightly slower, eliminates any dependencies on external PDF
31libraries.</p>
32
33<p>dompdf was entered in the <a
34href="http://www.zend.com/php5/contest/contest.php">Zend PHP 5
35Contest</a> and placed 20th overall.</p>
36
37<p>Please note that dompdf works only with PHP 5.  There are no plans for
38a PHP 4 port.  If your web host does not offer PHP 4, I suggest either pestering
39them, or setting up your own PHP 5 box and using it to run dompdf.  Your scripts
40on your web host can redirect PDF requests to your PHP 5 box.</p>
41
42<a name="features"> </a>
43<h2>Features</h2>
44
45<ul>
46
47<li style="list-style-image: url('images/star_01.gif');">handles most
48CSS2.1 properties, including @import, @media &amp; @page rules</li>
49
50<li style="list-style-image: url('images/star_02.gif');">supports most
51presentational HTML 4.0 attributes</li>
52
53<li style="list-style-image: url('images/star_03.gif');">supports external
54stylesheets, either on the local machine or through http/ftp (via
55fopen-wrappers)</li>
56
57<li style="list-style-image: url('images/star_04.gif');">supports complex
58tables, including row &amp; column spans, separate &amp; collapsed border
59models, individual cell styling, multi-page tables (no nested tables yet however)</li>
60
61<li style="list-style-image: url('images/star_05.gif');">image
62support (png, gif &amp; jpeg)</li>
63
64<li style="list-style-image: url('images/star_01.gif');">no dependencies on
65external PDF libraries, thanks to the R&amp;OS PDF class</li>
66
67<li style="list-style-image: url('images/star_02.gif');">inline PHP
68support.  See the section on <a href="usage.php#inline">inline PHP</a> for details.</li>
69</ul>
70
71
72<a name="limitations"> </a>
73<h2>Limitations (Known Issues)</h2>
74
75<ul>
76
77<li style="list-style-image: url('images/star_04.gif');">tables can not be
78nested</li>
79
80<li style="list-style-image: url('images/star_02.gif');">ordered lists are
81currently unsupported.</li>
82
83<li style="list-style-image: url('images/star_03.gif');'">absolute &amp; relative
84positioning and floats do not work, yet.</li>
85
86<li style="list-style-image: url('images/star_04.gif');">not particularly
87tolerant to poorly-formed HTML or CSS input (using Tidy first may help)</li>
88
89<li style="list-style-image: url('images/star_03.gif');">large files can
90take a while to render</li>
91
92
93</ul>
94
95<a name="hacking"> </a>
96<h2>Hacking</h2>
97
98<p>If you are interested in extending or modifying dompdf, please feel free
99to contact me (Benj Carson) by email at <a style="white-space: nowrap"
100href="mailto:dompdf%40digitaljunkies%2eca">dompdf at digitaljunkies.ca</a>.
101Let me know what you'd like to try and I can perhaps point you to the
102relevant sections of the source.  If you add some features, or fix
103some bugs, please send me a patch and I'll include your changes in the main
104distribution.</p>
105
106<?php include("foot.inc"); ?>
Note: See TracBrowser for help on using the repository browser.