mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-12-23 17:08:53 +00:00
4.8.026
This commit is contained in:
parent
08b759bc78
commit
0bece4a862
@ -1,3 +1,6 @@
|
||||
4.8.026 (2010-01-19)
|
||||
- The misspelled word "lenght" was replaced with "length" is some variables and comments.
|
||||
|
||||
4.8.025 (2010-01-18)
|
||||
- addExtGState() method was improved to reuse existing ExtGState objects.
|
||||
|
||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 4.8.025
|
||||
Release date: 2010-01-18
|
||||
Version: 4.8.026
|
||||
Release date: 2010-01-19
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2001-2010:
|
||||
|
@ -45,7 +45,7 @@
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -74,7 +74,7 @@ Source Location: /tcpdf.php<br /><br />
|
||||
|
||||
<h4>Version:</h4>
|
||||
<ul>
|
||||
<li>4.8.025</li>
|
||||
<li>4.8.026</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -99,7 +99,7 @@ Source Location: /tcpdf.php<br /><br />
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$buffer">$buffer</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$bufferlen">$bufferlen</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$byterange_string">$byterange_string</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$cache_file_lenght">$cache_file_lenght</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$cache_file_length">$cache_file_length</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$cache_maxsize_UTF8StringToArray">$cache_maxsize_UTF8StringToArray</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$cache_size_UTF8StringToArray">$cache_size_UTF8StringToArray</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$cache_UTF8StringToArray">$cache_UTF8StringToArray</a></li>
|
||||
@ -245,7 +245,7 @@ Source Location: /tcpdf.php<br /><br />
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$rtl">$rtl</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$sign">$sign</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$signature_data">$signature_data</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$signature_max_lenght">$signature_max_lenght</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$signature_max_length">$signature_max_length</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$sig_annot_ref">$sig_annot_ref</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$sig_obj_id">$sig_obj_id</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$spot_colors">$spot_colors</a></li>
|
||||
@ -632,7 +632,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<td><b>author:</b> </td><td>Nicola Asuni - info@tecnick.com</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>4.8.025</td>
|
||||
<td><b>version:</b> </td><td>4.8.026</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>link:</b> </td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
|
||||
@ -1031,7 +1031,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<p></p>
|
||||
<h4>$bufferlen = <span class="value"> 0</span></h4>
|
||||
<p>[line 1200]</p>
|
||||
Lenght of the buffer in bytes.<br /><br /><br /><br />
|
||||
Length of the buffer in bytes.<br /><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
@ -1081,11 +1081,11 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
</table>
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
<a name="var$cache_file_lenght"></a>
|
||||
<a name="var$cache_file_length"></a>
|
||||
<p></p>
|
||||
<h4>$cache_file_lenght = <span class="value">array()</span></h4>
|
||||
<h4>$cache_file_length = <span class="value">array()</span></h4>
|
||||
<p>[line 1256]</p>
|
||||
Array used to store the lenghts of cache files<br /><br /><br /><br />
|
||||
Array used to store the lengths of cache files<br /><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
@ -2363,7 +2363,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<p></p>
|
||||
<h4>$footerlen = <span class="value">array()</span></h4>
|
||||
<p>[line 1002]</p>
|
||||
Array used to store footer lenght of each page.<br /><br /><br /><br />
|
||||
Array used to store footer length of each page.<br /><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
@ -4607,7 +4607,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<p></p>
|
||||
<h4>$pagelen = <span class="value">array()</span></h4>
|
||||
<p>[line 1179]</p>
|
||||
Array containing page lenghts in bytes.<br /><br /><br /><br />
|
||||
Array containing page lengths in bytes.<br /><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
@ -5071,11 +5071,11 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
</table>
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
<a name="var$signature_max_lenght"></a>
|
||||
<a name="var$signature_max_length"></a>
|
||||
<p></p>
|
||||
<h4>$signature_max_lenght = <span class="value"> 11742</span></h4>
|
||||
<h4>$signature_max_length = <span class="value"> 11742</span></h4>
|
||||
<p>[line 1312]</p>
|
||||
Signature max lenght<br /><br /><br /><br />
|
||||
Signature max length<br /><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
@ -21097,7 +21097,7 @@ $file)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:30 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -1368,7 +1368,7 @@ $type)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -96,7 +96,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -507,7 +507,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:32 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:19 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -88,7 +88,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:30 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>4.8.025</td>
|
||||
<td><b>version:</b> </td><td>4.8.026</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>copyright:</b> </td><td>2002-2010 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">
|
||||
<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">
|
||||
<code>PDF_PRODUCER = 'TCPDF 4.8.025 (http://www.tcpdf.org)'</code>
|
||||
<code>PDF_PRODUCER = 'TCPDF 4.8.026 (http://www.tcpdf.org)'</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
|
||||
@ -115,7 +115,7 @@ unicode data<br /><br /></div>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:30 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -237,7 +237,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:32 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:19 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -132,7 +132,7 @@
|
||||
<dt><b>$buffer</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd>
|
||||
<dt><b>$bufferlen</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bufferlen">TCPDF::$bufferlen</a><br> Lenght of the buffer in bytes.</dd>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bufferlen">TCPDF::$bufferlen</a><br> Length of the buffer in bytes.</dd>
|
||||
<dt><b>$byterange_string</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$byterange_string">TCPDF::$byterange_string</a><br> ByteRange placemark used during signature process.</dd>
|
||||
<dt><b>barcodes.php</b></dt>
|
||||
@ -181,8 +181,8 @@
|
||||
<div>
|
||||
<h2>c</h2>
|
||||
<dl>
|
||||
<dt><b>$cache_file_lenght</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_file_lenght">TCPDF::$cache_file_lenght</a><br> Array used to store the lenghts of cache files</dd>
|
||||
<dt><b>$cache_file_length</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_file_length">TCPDF::$cache_file_length</a><br> Array used to store the lengths of cache files</dd>
|
||||
<dt><b>$cache_maxsize_UTF8StringToArray</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_maxsize_UTF8StringToArray">TCPDF::$cache_maxsize_UTF8StringToArray</a><br> Maximum size of cache array used for UTF8StringToArray() method.</dd>
|
||||
<dt><b>$cache_size_UTF8StringToArray</b></dt>
|
||||
@ -344,7 +344,7 @@
|
||||
<dt><b>$font_obj_ids</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$font_obj_ids">TCPDF::$font_obj_ids</a><br> Store the font object IDs.</dd>
|
||||
<dt><b>$footerlen</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerlen">TCPDF::$footerlen</a><br> Array used to store footer lenght of each page.</dd>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerlen">TCPDF::$footerlen</a><br> Array used to store footer length of each page.</dd>
|
||||
<dt><b>$footerpos</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerpos">TCPDF::$footerpos</a><br> Array used to store footer positions of each page.</dd>
|
||||
<dt><b>$footer_font</b></dt>
|
||||
@ -812,7 +812,7 @@
|
||||
<dt><b>$pagegroups</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagegroups">TCPDF::$pagegroups</a><br> Contains the number of pages of the groups</dd>
|
||||
<dt><b>$pagelen</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagelen">TCPDF::$pagelen</a><br> Array containing page lenghts in bytes.</dd>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagelen">TCPDF::$pagelen</a><br> Array containing page lengths in bytes.</dd>
|
||||
<dt><b>$PageMode</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PageMode">TCPDF::$PageMode</a><br> A name object specifying how the document should be displayed when opened.</dd>
|
||||
<dt><b>$pageopen</b></dt>
|
||||
@ -941,8 +941,8 @@
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$sign">TCPDF::$sign</a><br> If true enables document signing</dd>
|
||||
<dt><b>$signature_data</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_data">TCPDF::$signature_data</a><br> Signature data</dd>
|
||||
<dt><b>$signature_max_lenght</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_max_lenght">TCPDF::$signature_max_lenght</a><br> Signature max lenght</dd>
|
||||
<dt><b>$signature_max_length</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_max_length">TCPDF::$signature_max_length</a><br> Signature max length</dd>
|
||||
<dt><b>$sig_annot_ref</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$sig_annot_ref">TCPDF::$sig_annot_ref</a><br> Placemark used during signature process.</dd>
|
||||
<dt><b>$sig_obj_id</b></dt>
|
||||
@ -1452,7 +1452,7 @@
|
||||
<a href="elementindex.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -291,7 +291,7 @@
|
||||
<dt><b>$buffer</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd>
|
||||
<dt><b>$bufferlen</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bufferlen">TCPDF::$bufferlen</a><br> Lenght of the buffer in bytes.</dd>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bufferlen">TCPDF::$bufferlen</a><br> Length of the buffer in bytes.</dd>
|
||||
<dt><b>$byterange_string</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$byterange_string">TCPDF::$byterange_string</a><br> ByteRange placemark used during signature process.</dd>
|
||||
<dt><b>barcodes.php</b></dt>
|
||||
@ -340,8 +340,8 @@
|
||||
<div>
|
||||
<h2>c</h2>
|
||||
<dl>
|
||||
<dt><b>$cache_file_lenght</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_file_lenght">TCPDF::$cache_file_lenght</a><br> Array used to store the lenghts of cache files</dd>
|
||||
<dt><b>$cache_file_length</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_file_length">TCPDF::$cache_file_length</a><br> Array used to store the lengths of cache files</dd>
|
||||
<dt><b>$cache_maxsize_UTF8StringToArray</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_maxsize_UTF8StringToArray">TCPDF::$cache_maxsize_UTF8StringToArray</a><br> Maximum size of cache array used for UTF8StringToArray() method.</dd>
|
||||
<dt><b>$cache_size_UTF8StringToArray</b></dt>
|
||||
@ -503,7 +503,7 @@
|
||||
<dt><b>$font_obj_ids</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$font_obj_ids">TCPDF::$font_obj_ids</a><br> Store the font object IDs.</dd>
|
||||
<dt><b>$footerlen</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerlen">TCPDF::$footerlen</a><br> Array used to store footer lenght of each page.</dd>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerlen">TCPDF::$footerlen</a><br> Array used to store footer length of each page.</dd>
|
||||
<dt><b>$footerpos</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerpos">TCPDF::$footerpos</a><br> Array used to store footer positions of each page.</dd>
|
||||
<dt><b>$footer_font</b></dt>
|
||||
@ -971,7 +971,7 @@
|
||||
<dt><b>$pagegroups</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagegroups">TCPDF::$pagegroups</a><br> Contains the number of pages of the groups</dd>
|
||||
<dt><b>$pagelen</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagelen">TCPDF::$pagelen</a><br> Array containing page lenghts in bytes.</dd>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagelen">TCPDF::$pagelen</a><br> Array containing page lengths in bytes.</dd>
|
||||
<dt><b>$PageMode</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PageMode">TCPDF::$PageMode</a><br> A name object specifying how the document should be displayed when opened.</dd>
|
||||
<dt><b>$pageopen</b></dt>
|
||||
@ -1100,8 +1100,8 @@
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$sign">TCPDF::$sign</a><br> If true enables document signing</dd>
|
||||
<dt><b>$signature_data</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_data">TCPDF::$signature_data</a><br> Signature data</dd>
|
||||
<dt><b>$signature_max_lenght</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_max_lenght">TCPDF::$signature_max_lenght</a><br> Signature max lenght</dd>
|
||||
<dt><b>$signature_max_length</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_max_length">TCPDF::$signature_max_length</a><br> Signature max length</dd>
|
||||
<dt><b>$sig_annot_ref</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$sig_annot_ref">TCPDF::$sig_annot_ref</a><br> Placemark used during signature process.</dd>
|
||||
<dt><b>$sig_obj_id</b></dt>
|
||||
@ -1475,7 +1475,7 @@
|
||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<a href="#Post-parsing">Post-parsing</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:32 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:19 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -58,7 +58,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -58,7 +58,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 19 Jan 2010 09:38:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
62
tcpdf.php
62
tcpdf.php
@ -2,9 +2,9 @@
|
||||
//============================================================+
|
||||
// File name : tcpdf.php
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2010-01-18
|
||||
// Last Update : 2010-01-19
|
||||
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
|
||||
// Version : 4.8.025
|
||||
// Version : 4.8.026
|
||||
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
|
||||
@ -128,7 +128,7 @@
|
||||
* @copyright 2002-2010 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
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @version 4.8.025
|
||||
* @version 4.8.026
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -152,14 +152,14 @@ if (!class_exists('TCPDF', false)) {
|
||||
/**
|
||||
* define default PDF document producer
|
||||
*/
|
||||
define('PDF_PRODUCER', 'TCPDF 4.8.025 (http://www.tcpdf.org)');
|
||||
define('PDF_PRODUCER', 'TCPDF 4.8.026 (http://www.tcpdf.org)');
|
||||
|
||||
/**
|
||||
* 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>
|
||||
* @name TCPDF
|
||||
* @package com.tecnick.tcpdf
|
||||
* @version 4.8.025
|
||||
* @version 4.8.026
|
||||
* @author Nicola Asuni - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
@ -995,7 +995,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
|
||||
|
||||
/**
|
||||
* Array used to store footer lenght of each page.
|
||||
* Array used to store footer length of each page.
|
||||
* @access protected
|
||||
* @since 4.0.014 (2008-07-29)
|
||||
*/
|
||||
@ -1172,7 +1172,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
protected $numpages = 0;
|
||||
|
||||
/**
|
||||
* Array containing page lenghts in bytes.
|
||||
* Array containing page lengths in bytes.
|
||||
* @access protected
|
||||
* @since 4.5.000 (2008-12-31)
|
||||
*/
|
||||
@ -1193,7 +1193,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
protected $imagekeys = array();
|
||||
|
||||
/**
|
||||
* Lenght of the buffer in bytes.
|
||||
* Length of the buffer in bytes.
|
||||
* @access protected
|
||||
* @since 4.5.000 (2008-12-31)
|
||||
*/
|
||||
@ -1249,11 +1249,11 @@ if (!class_exists('TCPDF', false)) {
|
||||
protected $objcopy;
|
||||
|
||||
/**
|
||||
* Array used to store the lenghts of cache files
|
||||
* Array used to store the lengths of cache files
|
||||
* @access protected
|
||||
* @since 4.5.029 (2009-03-19)
|
||||
*/
|
||||
protected $cache_file_lenght = array();
|
||||
protected $cache_file_length = array();
|
||||
|
||||
/**
|
||||
* Table header content to be repeated on each new page
|
||||
@ -1305,11 +1305,11 @@ if (!class_exists('TCPDF', false)) {
|
||||
protected $signature_data = array();
|
||||
|
||||
/**
|
||||
* Signature max lenght
|
||||
* Signature max length
|
||||
* @access protected
|
||||
* @since 4.6.005 (2009-04-24)
|
||||
*/
|
||||
protected $signature_max_lenght = 11742;
|
||||
protected $signature_max_length = 11742;
|
||||
|
||||
/**
|
||||
* Regular expression used to find blank characters used for word-wrapping.
|
||||
@ -2740,7 +2740,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
}
|
||||
// restore graphic settings
|
||||
$this->setGraphicVars($gvars);
|
||||
// calculate footer lenght
|
||||
// calculate footer length
|
||||
$this->footerlen[$this->page] = $this->pagelen[$this->page] - $this->footerpos[$this->page] + 1;
|
||||
}
|
||||
|
||||
@ -3805,10 +3805,10 @@ if (!class_exists('TCPDF', false)) {
|
||||
}
|
||||
if ($txt != '') {
|
||||
$txt2 = $this->_escapetext($txt);
|
||||
// text lenght
|
||||
// text length
|
||||
$txwidth = $this->GetStringWidth($txt);
|
||||
$width = $txwidth;
|
||||
// ratio between cell lenght and text lenght
|
||||
// ratio between cell length and text length
|
||||
if ($width <= 0) {
|
||||
$ratio = 1;
|
||||
} else {
|
||||
@ -4303,7 +4303,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
$j = 0; // current starting position
|
||||
$sep = -1; // position of the last blank space
|
||||
$shy = false; // true if the last blank is a soft hypen (SHY)
|
||||
$l = 0; // current string lenght
|
||||
$l = 0; // current string length
|
||||
$nl = 0; //number of lines
|
||||
$linebreak = false;
|
||||
$pc = 0; // previous character
|
||||
@ -5389,7 +5389,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
$byte_range = array();
|
||||
$byte_range[0] = 0;
|
||||
$byte_range[1] = strpos($pdfdoc, $this->byterange_string) + $byterange_string_len + 10;
|
||||
$byte_range[2] = $byte_range[1] + $this->signature_max_lenght + 2;
|
||||
$byte_range[2] = $byte_range[1] + $this->signature_max_length + 2;
|
||||
$byte_range[3] = strlen($pdfdoc) - $byte_range[2];
|
||||
$pdfdoc = substr($pdfdoc, 0, $byte_range[1]).substr($pdfdoc, $byte_range[2]);
|
||||
// replace the ByteRange
|
||||
@ -5402,8 +5402,8 @@ if (!class_exists('TCPDF', false)) {
|
||||
if (!$f) {
|
||||
$this->Error('Unable to create temporary file: '.$tempdoc);
|
||||
}
|
||||
$pdfdoc_lenght = strlen($pdfdoc);
|
||||
fwrite($f, $pdfdoc, $pdfdoc_lenght);
|
||||
$pdfdoc_length = strlen($pdfdoc);
|
||||
fwrite($f, $pdfdoc, $pdfdoc_length);
|
||||
fclose($f);
|
||||
// get digital signature via openssl library
|
||||
$tempsign = tempnam(K_PATH_CACHE, 'tmpsig_');
|
||||
@ -5414,7 +5414,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
}
|
||||
unlink($tempdoc);
|
||||
// read signature
|
||||
$signature = file_get_contents($tempsign, false, null, $pdfdoc_lenght);
|
||||
$signature = file_get_contents($tempsign, false, null, $pdfdoc_length);
|
||||
unlink($tempsign);
|
||||
// extract signature
|
||||
$signature = substr($signature, (strpos($signature, "%%EOF\n\n------") + 13));
|
||||
@ -5425,7 +5425,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
$signature = base64_decode(trim($signature));
|
||||
// convert signature to hex
|
||||
$signature = current(unpack('H*', $signature));
|
||||
$signature = str_pad($signature, $this->signature_max_lenght, '0');
|
||||
$signature = str_pad($signature, $this->signature_max_length, '0');
|
||||
// Add signature to the document
|
||||
$pdfdoc = substr($pdfdoc, 0, $byte_range[1]).'<'.$signature.'>'.substr($pdfdoc, ($byte_range[1]));
|
||||
$this->diskcache = false;
|
||||
@ -5525,7 +5525,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
AND ($val != 'diskcache')
|
||||
AND ($val != 'sign')
|
||||
AND ($val != 'signature_data')
|
||||
AND ($val != 'signature_max_lenght')
|
||||
AND ($val != 'signature_max_length')
|
||||
AND ($val != 'byterange_string')
|
||||
)) {
|
||||
if (!$preserve_objcopy OR ($val != 'objcopy')) {
|
||||
@ -8659,8 +8659,8 @@ if (!class_exists('TCPDF', false)) {
|
||||
if ($border_style) {
|
||||
$border_style2 = array();
|
||||
foreach ($border_style as $line => $value) {
|
||||
$lenght = strlen($line);
|
||||
for ($i = 0; $i < $lenght; ++$i) {
|
||||
$length = strlen($line);
|
||||
for ($i = 0; $i < $length; ++$i) {
|
||||
$border_style2[$line[$i]] = $value;
|
||||
}
|
||||
}
|
||||
@ -11108,7 +11108,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
$this->_out('/Filter /Adobe.PPKLite');
|
||||
$this->_out('/SubFilter /adbe.pkcs7.detached');
|
||||
$this->_out($this->byterange_string);
|
||||
$this->_out('/Contents<>'.str_repeat(' ', $this->signature_max_lenght));
|
||||
$this->_out('/Contents<>'.str_repeat(' ', $this->signature_max_length));
|
||||
$this->_out('/Reference');
|
||||
$this->_out('[');
|
||||
$this->_out('<<');
|
||||
@ -15578,11 +15578,11 @@ if (!class_exists('TCPDF', false)) {
|
||||
fwrite($f, $data);
|
||||
fclose($f);
|
||||
}
|
||||
// update file lenght (needed for transactions)
|
||||
if (!isset($this->cache_file_lenght['_'.$filename])) {
|
||||
$this->cache_file_lenght['_'.$filename] = strlen($data);
|
||||
// update file length (needed for transactions)
|
||||
if (!isset($this->cache_file_length['_'.$filename])) {
|
||||
$this->cache_file_length['_'.$filename] = strlen($data);
|
||||
} else {
|
||||
$this->cache_file_lenght['_'.$filename] += strlen($data);
|
||||
$this->cache_file_length['_'.$filename] += strlen($data);
|
||||
}
|
||||
}
|
||||
|
||||
@ -16253,10 +16253,10 @@ if (!class_exists('TCPDF', false)) {
|
||||
if (isset($this->objcopy)) {
|
||||
if (isset($this->objcopy->diskcache) AND $this->objcopy->diskcache) {
|
||||
// truncate files to previous values
|
||||
foreach ($this->objcopy->cache_file_lenght as $file => $lenght) {
|
||||
foreach ($this->objcopy->cache_file_length as $file => $length) {
|
||||
$file = substr($file, 1);
|
||||
$handle = fopen($file, 'r+');
|
||||
ftruncate($handle, $lenght);
|
||||
ftruncate($handle, $length);
|
||||
}
|
||||
}
|
||||
$this->_destroy(true, true);
|
||||
|
Loading…
Reference in New Issue
Block a user