mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-29 23:53:54 +00:00
4.7.000
This commit is contained in:
parent
6042b033f5
commit
edc19798a5
@ -1,3 +1,8 @@
|
|||||||
|
4.7.000 (2009-08-29)
|
||||||
|
- This is a major release.
|
||||||
|
- Some procedures were internally optimized.
|
||||||
|
- The problem of mixed signature and annotations was fixed (example n. 52).
|
||||||
|
|
||||||
4.6.030 (2009-08-29)
|
4.6.030 (2009-08-29)
|
||||||
- IMPORTANT: percentages on table cell widths are now relative to the full table width (as in standard HTML).
|
- IMPORTANT: percentages on table cell widths are now relative to the full table width (as in standard HTML).
|
||||||
- Various minor bugs were fixed.
|
- Various minor bugs were fixed.
|
||||||
|
@ -8,7 +8,7 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Name: TCPDF
|
Name: TCPDF
|
||||||
Version: 4.6.030
|
Version: 4.7.000
|
||||||
Release date: 2009-08-29
|
Release date: 2009-08-29
|
||||||
Author: Nicola Asuni
|
Author: Nicola Asuni
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:02 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:07 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1368,7 +1368,7 @@ $type)</code>
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:02 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:07 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -96,7 +96,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:02 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:07 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -507,7 +507,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:08 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -88,7 +88,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:02 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:08 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -73,7 +73,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
|||||||
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>version:</b> </td><td>4.6.030</td>
|
<td><b>version:</b> </td><td>4.7.000</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>copyright:</b> </td><td>2002-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com</td>
|
<td><b>copyright:</b> </td><td>2002-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com</td>
|
||||||
@ -104,7 +104,7 @@ unicode data<br /><br /></div>
|
|||||||
<div class="tags">
|
<div class="tags">
|
||||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||||
<code>PDF_PRODUCER = 'TCPDF 4.6.030 (http://www.tcpdf.org)'</code>
|
<code>PDF_PRODUCER = 'TCPDF 4.7.000 (http://www.tcpdf.org)'</code>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ unicode data<br /><br /></div>
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:02 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:08 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -237,7 +237,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:08 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -67,6 +67,10 @@
|
|||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$AliasNbPages">TCPDF::$AliasNbPages</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$AliasNbPages">TCPDF::$AliasNbPages</a></dd>
|
||||||
<dt><b>$AliasNumPage</b></dt>
|
<dt><b>$AliasNumPage</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$AliasNumPage">TCPDF::$AliasNumPage</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$AliasNumPage">TCPDF::$AliasNumPage</a></dd>
|
||||||
|
<dt><b>$annots_start_obj_id</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$annots_start_obj_id">TCPDF::$annots_start_obj_id</a><br> Start ID for annotation objects</dd>
|
||||||
|
<dt><b>$annot_obj_id</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$annot_obj_id">TCPDF::$annot_obj_id</a><br> Current ID of annotation object</dd>
|
||||||
<dt><b>$author</b></dt>
|
<dt><b>$author</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$author">TCPDF::$author</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$author">TCPDF::$author</a></dd>
|
||||||
<dt><b>$AutoPageBreak</b></dt>
|
<dt><b>$AutoPageBreak</b></dt>
|
||||||
@ -263,6 +267,8 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><b>$embeddedfiles</b></dt>
|
<dt><b>$embeddedfiles</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$embeddedfiles">TCPDF::$embeddedfiles</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$embeddedfiles">TCPDF::$embeddedfiles</a></dd>
|
||||||
|
<dt><b>$embedded_start_obj_id</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$embedded_start_obj_id">TCPDF::$embedded_start_obj_id</a><br> Start ID for embedded file objects</dd>
|
||||||
<dt><b>$encoding</b></dt>
|
<dt><b>$encoding</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$encoding">TCPDF::$encoding</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$encoding">TCPDF::$encoding</a></dd>
|
||||||
<dt><b>$encrypted</b></dt>
|
<dt><b>$encrypted</b></dt>
|
||||||
@ -775,6 +781,8 @@
|
|||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pageopen">TCPDF::$pageopen</a><br> Store the fage status (true when opened, false when closed).</dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pageopen">TCPDF::$pageopen</a><br> Store the fage status (true when opened, false when closed).</dd>
|
||||||
<dt><b>$pages</b></dt>
|
<dt><b>$pages</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pages">TCPDF::$pages</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pages">TCPDF::$pages</a></dd>
|
||||||
|
<dt><b>$page_obj_id</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$page_obj_id">TCPDF::$page_obj_id</a><br> ID of page objects</dd>
|
||||||
<dt><b>$PDFVersion</b></dt>
|
<dt><b>$PDFVersion</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PDFVersion">TCPDF::$PDFVersion</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PDFVersion">TCPDF::$PDFVersion</a></dd>
|
||||||
<dt><b>$premode</b></dt>
|
<dt><b>$premode</b></dt>
|
||||||
@ -1313,8 +1321,10 @@
|
|||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_parsejpeg">TCPDF::_parsejpeg()</a><br> Extract info from a JPEG file without using the GD library.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_parsejpeg">TCPDF::_parsejpeg()</a><br> Extract info from a JPEG file without using the GD library.</dd>
|
||||||
<dt><b>_parsepng</b></dt>
|
<dt><b>_parsepng</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_parsepng">TCPDF::_parsepng()</a><br> Extract info from a PNG file without using the GD library.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_parsepng">TCPDF::_parsepng()</a><br> Extract info from a PNG file without using the GD library.</dd>
|
||||||
<dt><b>_putannots</b></dt>
|
<dt><b>_putannotsobjs</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putannots">TCPDF::_putannots()</a><br> Output Page Annotations.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putannotsobjs">TCPDF::_putannotsobjs()</a><br> Output annotations objects for all pages.</dd>
|
||||||
|
<dt><b>_putannotsrefs</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putannotsrefs">TCPDF::_putannotsrefs()</a><br> Output referencees to page annotations</dd>
|
||||||
<dt><b>_putbookmarks</b></dt>
|
<dt><b>_putbookmarks</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putbookmarks">TCPDF::_putbookmarks()</a></dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putbookmarks">TCPDF::_putbookmarks()</a></dd>
|
||||||
<dt><b>_putcatalog</b></dt>
|
<dt><b>_putcatalog</b></dt>
|
||||||
@ -1384,7 +1394,7 @@
|
|||||||
<a href="elementindex.html#top">top</a><br>
|
<a href="elementindex.html#top">top</a><br>
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:02 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:07 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -142,8 +142,10 @@
|
|||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_parsejpeg">TCPDF::_parsejpeg()</a><br> Extract info from a JPEG file without using the GD library.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_parsejpeg">TCPDF::_parsejpeg()</a><br> Extract info from a JPEG file without using the GD library.</dd>
|
||||||
<dt><b>_parsepng</b></dt>
|
<dt><b>_parsepng</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_parsepng">TCPDF::_parsepng()</a><br> Extract info from a PNG file without using the GD library.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_parsepng">TCPDF::_parsepng()</a><br> Extract info from a PNG file without using the GD library.</dd>
|
||||||
<dt><b>_putannots</b></dt>
|
<dt><b>_putannotsobjs</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putannots">TCPDF::_putannots()</a><br> Output Page Annotations.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putannotsobjs">TCPDF::_putannotsobjs()</a><br> Output annotations objects for all pages.</dd>
|
||||||
|
<dt><b>_putannotsrefs</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putannotsrefs">TCPDF::_putannotsrefs()</a><br> Output referencees to page annotations</dd>
|
||||||
<dt><b>_putbookmarks</b></dt>
|
<dt><b>_putbookmarks</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putbookmarks">TCPDF::_putbookmarks()</a></dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putbookmarks">TCPDF::_putbookmarks()</a></dd>
|
||||||
<dt><b>_putcatalog</b></dt>
|
<dt><b>_putcatalog</b></dt>
|
||||||
@ -220,6 +222,10 @@
|
|||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$AliasNbPages">TCPDF::$AliasNbPages</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$AliasNbPages">TCPDF::$AliasNbPages</a></dd>
|
||||||
<dt><b>$AliasNumPage</b></dt>
|
<dt><b>$AliasNumPage</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$AliasNumPage">TCPDF::$AliasNumPage</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$AliasNumPage">TCPDF::$AliasNumPage</a></dd>
|
||||||
|
<dt><b>$annots_start_obj_id</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$annots_start_obj_id">TCPDF::$annots_start_obj_id</a><br> Start ID for annotation objects</dd>
|
||||||
|
<dt><b>$annot_obj_id</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$annot_obj_id">TCPDF::$annot_obj_id</a><br> Current ID of annotation object</dd>
|
||||||
<dt><b>$author</b></dt>
|
<dt><b>$author</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$author">TCPDF::$author</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$author">TCPDF::$author</a></dd>
|
||||||
<dt><b>$AutoPageBreak</b></dt>
|
<dt><b>$AutoPageBreak</b></dt>
|
||||||
@ -416,6 +422,8 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><b>$embeddedfiles</b></dt>
|
<dt><b>$embeddedfiles</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$embeddedfiles">TCPDF::$embeddedfiles</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$embeddedfiles">TCPDF::$embeddedfiles</a></dd>
|
||||||
|
<dt><b>$embedded_start_obj_id</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$embedded_start_obj_id">TCPDF::$embedded_start_obj_id</a><br> Start ID for embedded file objects</dd>
|
||||||
<dt><b>$encoding</b></dt>
|
<dt><b>$encoding</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$encoding">TCPDF::$encoding</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$encoding">TCPDF::$encoding</a></dd>
|
||||||
<dt><b>$encrypted</b></dt>
|
<dt><b>$encrypted</b></dt>
|
||||||
@ -928,6 +936,8 @@
|
|||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pageopen">TCPDF::$pageopen</a><br> Store the fage status (true when opened, false when closed).</dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pageopen">TCPDF::$pageopen</a><br> Store the fage status (true when opened, false when closed).</dd>
|
||||||
<dt><b>$pages</b></dt>
|
<dt><b>$pages</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pages">TCPDF::$pages</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pages">TCPDF::$pages</a></dd>
|
||||||
|
<dt><b>$page_obj_id</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$page_obj_id">TCPDF::$page_obj_id</a><br> ID of page objects</dd>
|
||||||
<dt><b>$PDFVersion</b></dt>
|
<dt><b>$PDFVersion</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PDFVersion">TCPDF::$PDFVersion</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PDFVersion">TCPDF::$PDFVersion</a></dd>
|
||||||
<dt><b>$premode</b></dt>
|
<dt><b>$premode</b></dt>
|
||||||
@ -1407,7 +1417,7 @@
|
|||||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:01 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:07 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<a href="#Post-parsing">Post-parsing</a><br>
|
<a href="#Post-parsing">Post-parsing</a><br>
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:08 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br />
|
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br />
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:02 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:07 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br />
|
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br />
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 29 Aug 2009 14:54:02 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
Documentation generated on Sat, 29 Aug 2009 18:09:07 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -90,20 +90,12 @@ $pdf->SetFont('helvetica', '', 10);
|
|||||||
$pdf->AddPage();
|
$pdf->AddPage();
|
||||||
|
|
||||||
// print a line of text
|
// print a line of text
|
||||||
|
$text = 'This is a <b color="#FF0000">digitally signed document</b> using the default (example) <b>tcpdf.crt</b> certificate.<br />To validate this signature you have to load the <b>tcpdf.fdf</b> on the Arobat Reader to add the certificate to List of Trusted Identities.<br /><br />For more information check the source code of this example and the source code documentation for the <i>setSignature()</i> method.<br /><br /><a href="http://www.tcpdf.org">www.tcpdf.org</a>.';
|
||||||
$text = 'This is a <b color="#FF0000">digitally signed document</b> using the default (example) <b>tcpdf.crt</b> certificate.<br />
|
|
||||||
To validate this signature you have to load the <b>tcpdf.fdf</b> on the Arobat Reader to add the certificate to List of Trusted Identities.<br />
|
|
||||||
<br />
|
|
||||||
For more information check the source code of this example and the source code documentation for the <i>setSignature()</i> method.<br />
|
|
||||||
<br />
|
|
||||||
<a href="http://www.tcpdf.org">www.tcpdf.org</a>.';
|
|
||||||
|
|
||||||
$pdf->writeHTML($text, true, 0, true, 0);
|
$pdf->writeHTML($text, true, 0, true, 0);
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
|
|
||||||
//Close and output PDF document
|
//Close and output PDF document
|
||||||
//echo $pdf->Output('example_052.pdf', 'S');
|
|
||||||
$pdf->Output('example_052.pdf', 'I');
|
$pdf->Output('example_052.pdf', 'I');
|
||||||
|
|
||||||
//============================================================+
|
//============================================================+
|
||||||
|
127
tcpdf.php
127
tcpdf.php
@ -4,7 +4,7 @@
|
|||||||
// Begin : 2002-08-03
|
// Begin : 2002-08-03
|
||||||
// Last Update : 2009-08-29
|
// Last Update : 2009-08-29
|
||||||
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
|
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
|
||||||
// Version : 4.6.030
|
// Version : 4.7.000
|
||||||
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l.
|
// Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l.
|
||||||
@ -128,7 +128,7 @@
|
|||||||
* @copyright 2002-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
* @copyright 2002-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||||
* @link http://www.tcpdf.org
|
* @link http://www.tcpdf.org
|
||||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||||
* @version 4.6.030
|
* @version 4.7.000
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -152,14 +152,14 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
/**
|
/**
|
||||||
* define default PDF document producer
|
* define default PDF document producer
|
||||||
*/
|
*/
|
||||||
define('PDF_PRODUCER', 'TCPDF 4.6.030 (http://www.tcpdf.org)');
|
define('PDF_PRODUCER', 'TCPDF 4.7.000 (http://www.tcpdf.org)');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a PHP class for generating PDF documents without requiring external extensions.<br>
|
* This is a PHP class for generating PDF documents without requiring external extensions.<br>
|
||||||
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
|
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
|
||||||
* @name TCPDF
|
* @name TCPDF
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @version 4.6.030
|
* @version 4.7.000
|
||||||
* @author Nicola Asuni - info@tecnick.com
|
* @author Nicola Asuni - info@tecnick.com
|
||||||
* @link http://www.tcpdf.org
|
* @link http://www.tcpdf.org
|
||||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||||
@ -1323,7 +1323,35 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
* @access protected
|
* @access protected
|
||||||
* @since 4.6.028 (2009-08-25)
|
* @since 4.6.028 (2009-08-25)
|
||||||
*/
|
*/
|
||||||
protected $sig_annot_ref = '/Annots [********** 0 R';
|
protected $sig_annot_ref = '***SIGANNREF*** 0 R';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ID of page objects
|
||||||
|
* @access protected
|
||||||
|
* @since 4.7.000 (2009-08-29)
|
||||||
|
*/
|
||||||
|
protected $page_obj_id = array();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Start ID for embedded file objects
|
||||||
|
* @access protected
|
||||||
|
* @since 4.7.000 (2009-08-29)
|
||||||
|
*/
|
||||||
|
protected $embedded_start_obj_id = 100000;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Start ID for annotation objects
|
||||||
|
* @access protected
|
||||||
|
* @since 4.7.000 (2009-08-29)
|
||||||
|
*/
|
||||||
|
protected $annots_start_obj_id = 200000;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Current ID of annotation object
|
||||||
|
* @access protected
|
||||||
|
* @since 4.7.000 (2009-08-29)
|
||||||
|
*/
|
||||||
|
protected $annot_obj_id = 200000;
|
||||||
|
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
// METHODS
|
// METHODS
|
||||||
@ -1456,6 +1484,7 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
// PCRE unicode support is turned OFF
|
// PCRE unicode support is turned OFF
|
||||||
$this->re_spaces = '/[\s]/';
|
$this->re_spaces = '/[\s]/';
|
||||||
}
|
}
|
||||||
|
$this->annot_obj_id = $this->annots_start_obj_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -3317,7 +3346,7 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
}
|
}
|
||||||
$this->PageAnnots[$page][] = array('x' => $x, 'y' => $y, 'w' => $w, 'h' => $h, 'txt' => $text, 'opt' => $opt, 'numspaces' => $spaces);
|
$this->PageAnnots[$page][] = array('x' => $x, 'y' => $y, 'w' => $w, 'h' => $h, 'txt' => $text, 'opt' => $opt, 'numspaces' => $spaces);
|
||||||
if (($opt['Subtype'] == 'FileAttachment') AND (!$this->empty_string($opt['FS'])) AND file_exists($opt['FS']) AND (!isset($this->embeddedfiles[basename($opt['FS'])]))) {
|
if (($opt['Subtype'] == 'FileAttachment') AND (!$this->empty_string($opt['FS'])) AND file_exists($opt['FS']) AND (!isset($this->embeddedfiles[basename($opt['FS'])]))) {
|
||||||
$this->embeddedfiles[basename($opt['FS'])] = array('file' => $opt['FS'], 'n' => (count($this->embeddedfiles) + 100000));
|
$this->embeddedfiles[basename($opt['FS'])] = array('file' => $opt['FS'], 'n' => (count($this->embeddedfiles) + $this->embedded_start_obj_id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5392,14 +5421,13 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
$temppage = str_replace($alias_pa, $pnbs, $temppage);
|
$temppage = str_replace($alias_pa, $pnbs, $temppage);
|
||||||
}
|
}
|
||||||
$temppage = str_replace($this->epsmarker, '', $temppage);
|
$temppage = str_replace($this->epsmarker, '', $temppage);
|
||||||
//$this->setPageBuffer($n, $temppage);
|
|
||||||
//Page
|
//Page
|
||||||
$this->_newobj();
|
$this->page_obj_id[$n] = $this->_newobj();
|
||||||
$this->_out('<</Type /Page');
|
$this->_out('<</Type /Page');
|
||||||
$this->_out('/Parent 1 0 R');
|
$this->_out('/Parent 1 0 R');
|
||||||
$this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]', $this->pagedim[$n]['w'], $this->pagedim[$n]['h']));
|
$this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]', $this->pagedim[$n]['w'], $this->pagedim[$n]['h']));
|
||||||
$this->_out('/Resources 2 0 R');
|
$this->_out('/Resources 2 0 R');
|
||||||
$this->_putannots($n);
|
$this->_putannotsrefs($n);
|
||||||
$this->_out('/Contents '.($this->n + 1).' 0 R>>');
|
$this->_out('/Contents '.($this->n + 1).' 0 R>>');
|
||||||
$this->_out('endobj');
|
$this->_out('endobj');
|
||||||
//Page content
|
//Page content
|
||||||
@ -5417,40 +5445,56 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
$this->offsets[1] = $this->bufferlen;
|
$this->offsets[1] = $this->bufferlen;
|
||||||
$this->_out('1 0 obj');
|
$this->_out('1 0 obj');
|
||||||
$this->_out('<</Type /Pages');
|
$this->_out('<</Type /Pages');
|
||||||
$kids='/Kids [';
|
$this->_out('/Kids [');
|
||||||
for ($i=0; $i < $nb; ++$i) {
|
foreach($this->page_obj_id as $page_obj) {
|
||||||
$kids .= (3 + (2 * $i)).' 0 R ';
|
$this->_out($page_obj.' 0 R');
|
||||||
}
|
}
|
||||||
$this->_out($kids.']');
|
$this->_out(']');
|
||||||
$this->_out('/Count '.$nb);
|
$this->_out('/Count '.$nb);
|
||||||
//$this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]',$this->pagedim[0]['w'],$this->pagedim[0]['h']));
|
|
||||||
$this->_out('>>');
|
$this->_out('>>');
|
||||||
$this->_out('endobj');
|
$this->_out('endobj');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Output Page Annotations.
|
* Output referencees to page annotations
|
||||||
|
* @param int $n page number
|
||||||
|
* @access protected
|
||||||
|
* @author Nicola Asuni
|
||||||
|
* @since 4.7.000 (2008-08-29)
|
||||||
|
*/
|
||||||
|
protected function _putannotsrefs($n) {
|
||||||
|
if (!(isset($this->PageAnnots[$n]) OR ($this->sign AND isset($this->signature_data['cert_type']) AND ($this->signature_data['cert_type'] > 0)))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$this->_out('/Annots [');
|
||||||
|
if (isset($this->PageAnnots[$n])) {
|
||||||
|
// set page annotations
|
||||||
|
foreach ($this->PageAnnots[$n] as $id) {
|
||||||
|
++$this->annot_obj_id;
|
||||||
|
$this->_out($this->annot_obj_id.' 0 R');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ($this->sign AND isset($this->signature_data['cert_type']) AND ($this->signature_data['cert_type'] > 0)) {
|
||||||
|
// set reference for signature object
|
||||||
|
$this->_out($this->sig_annot_ref);
|
||||||
|
}
|
||||||
|
$this->_out(']');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Output annotations objects for all pages.
|
||||||
* !!! THIS FUNCTION IS NOT YET COMPLETED !!!
|
* !!! THIS FUNCTION IS NOT YET COMPLETED !!!
|
||||||
* See section 8.4 of PDF reference.
|
* See section 8.4 of PDF reference.
|
||||||
* @param int $n page number
|
|
||||||
* @access protected
|
* @access protected
|
||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @since 4.0.018 (2008-08-06)
|
* @since 4.0.018 (2008-08-06)
|
||||||
*/
|
*/
|
||||||
protected function _putannots($n) {
|
protected function _putannotsobjs() {
|
||||||
if ($this->sign AND isset($this->signature_data['cert_type']) AND $this->signature_data['cert_type'] > 0) {
|
// reset object counter
|
||||||
// set reference for signature object
|
$this->annot_obj_id = $this->annots_start_obj_id;
|
||||||
$annots = $this->sig_annot_ref;
|
for ($n=1; $n <= $this->numpages; ++$n) {
|
||||||
if (!isset($this->PageAnnots[$n])) {
|
|
||||||
$annots .= ']';
|
|
||||||
$this->_out($annots);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (isset($this->PageAnnots[$n])) {
|
if (isset($this->PageAnnots[$n])) {
|
||||||
if (!isset($annots)) {
|
// set page annotations
|
||||||
$annots = '/Annots [';
|
|
||||||
}
|
|
||||||
foreach ($this->PageAnnots[$n] as $key => $pl) {
|
foreach ($this->PageAnnots[$n] as $key => $pl) {
|
||||||
$pl['opt'] = array_change_key_case($pl['opt'], CASE_LOWER);
|
$pl['opt'] = array_change_key_case($pl['opt'], CASE_LOWER);
|
||||||
$a = $pl['x'] * $this->k;
|
$a = $pl['x'] * $this->k;
|
||||||
@ -5458,8 +5502,8 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
$c = $pl['w'] * $this->k;
|
$c = $pl['w'] * $this->k;
|
||||||
$d = $pl['h'] * $this->k;
|
$d = $pl['h'] * $this->k;
|
||||||
$rect = sprintf('%.2F %.2F %.2F %.2F', $a, $b, $a+$c, $b-$d);
|
$rect = sprintf('%.2F %.2F %.2F %.2F', $a, $b, $a+$c, $b-$d);
|
||||||
$annots .= "\n";
|
// create new annotation object
|
||||||
$annots .= '<</Type /Annot';
|
$annots = '<</Type /Annot';
|
||||||
$annots .= ' /Subtype /'.$pl['opt']['subtype'];
|
$annots .= ' /Subtype /'.$pl['opt']['subtype'];
|
||||||
$annots .= ' /Rect ['.$rect.']';
|
$annots .= ' /Rect ['.$rect.']';
|
||||||
$annots .= ' /Contents '.$this->_textstring($pl['txt']);
|
$annots .= ' /Contents '.$this->_textstring($pl['txt']);
|
||||||
@ -5795,11 +5839,15 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$annots .= '>>';
|
$annots .= '>>';
|
||||||
}
|
++$this->annot_obj_id;
|
||||||
$annots .= "\n]";
|
$this->offsets[$this->annot_obj_id] = $this->bufferlen;
|
||||||
|
$this->_out($this->annot_obj_id.' 0 obj');
|
||||||
$this->_out($annots);
|
$this->_out($annots);
|
||||||
|
$this->_out('endobj');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} // end for each page
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Output fonts.
|
* Output fonts.
|
||||||
@ -6321,6 +6369,7 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
$this->_putjavascript();
|
$this->_putjavascript();
|
||||||
$this->_putbookmarks();
|
$this->_putbookmarks();
|
||||||
$this->_putEmbeddedFiles();
|
$this->_putEmbeddedFiles();
|
||||||
|
$this->_putannotsobjs();
|
||||||
// encryption
|
// encryption
|
||||||
if ($this->encrypted) {
|
if ($this->encrypted) {
|
||||||
$this->_newobj();
|
$this->_newobj();
|
||||||
@ -6537,7 +6586,7 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
unlink($this->buffer);
|
unlink($this->buffer);
|
||||||
}
|
}
|
||||||
unset($this->buffer);
|
unset($this->buffer);
|
||||||
$signature_widget_ref = sprintf('/Annots [%u 0 R', $this->sig_obj_id);
|
$signature_widget_ref = sprintf('%u 0 R', $this->sig_obj_id);
|
||||||
$signature_widget_ref .= str_repeat(' ', (strlen($this->sig_annot_ref) - strlen($signature_widget_ref)));
|
$signature_widget_ref .= str_repeat(' ', (strlen($this->sig_annot_ref) - strlen($signature_widget_ref)));
|
||||||
$pdfdoc = str_replace($this->sig_annot_ref, $signature_widget_ref, $pdfdoc);
|
$pdfdoc = str_replace($this->sig_annot_ref, $signature_widget_ref, $pdfdoc);
|
||||||
$this->diskcache = false;
|
$this->diskcache = false;
|
||||||
@ -6581,12 +6630,20 @@ if (!class_exists('TCPDF', false)) {
|
|||||||
for ($i=1; $i <= $this->n; ++$i) {
|
for ($i=1; $i <= $this->n; ++$i) {
|
||||||
$this->_out(sprintf('%010d 00000 n ', $this->offsets[$i]));
|
$this->_out(sprintf('%010d 00000 n ', $this->offsets[$i]));
|
||||||
}
|
}
|
||||||
|
// Embedded Files
|
||||||
if (isset($this->embeddedfiles) AND count($this->embeddedfiles) > 0) {
|
if (isset($this->embeddedfiles) AND count($this->embeddedfiles) > 0) {
|
||||||
$this->_out('100000 '.count($this->embeddedfiles));
|
$this->_out($this->embedded_start_obj_id.' '.count($this->embeddedfiles));
|
||||||
foreach ($this->embeddedfiles as $filename => $filedata) {
|
foreach ($this->embeddedfiles as $filename => $filedata) {
|
||||||
$this->_out(sprintf('%010d 00000 n ', $this->offsets[$filedata['n']]));
|
$this->_out(sprintf('%010d 00000 n ', $this->offsets[$filedata['n']]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Annotation Objects
|
||||||
|
if ($this->annot_obj_id > $this->annots_start_obj_id) {
|
||||||
|
$this->_out(($this->annots_start_obj_id + 1).' '.($this->annot_obj_id - $this->annots_start_obj_id));
|
||||||
|
for ($i = ($this->annots_start_obj_id + 1); $i <= $this->annot_obj_id; ++$i) {
|
||||||
|
$this->_out(sprintf('%010d 00000 n ', $this->offsets[$i]));
|
||||||
|
}
|
||||||
|
}
|
||||||
//Trailer
|
//Trailer
|
||||||
$this->_out('trailer');
|
$this->_out('trailer');
|
||||||
$this->_out('<<');
|
$this->_out('<<');
|
||||||
|
Loading…
Reference in New Issue
Block a user