32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-12-24 09:25:27 +00:00
This commit is contained in:
nicolaasuni 2010-01-19 09:38:30 +01:00
parent 08b759bc78
commit 0bece4a862
16 changed files with 78 additions and 75 deletions

View File

@ -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) 4.8.025 (2010-01-18)
- addExtGState() method was improved to reuse existing ExtGState objects. - addExtGState() method was improved to reuse existing ExtGState objects.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 4.8.025 Version: 4.8.026
Release date: 2010-01-18 Release date: 2010-01-19
Author: Nicola Asuni Author: Nicola Asuni
Copyright (c) 2001-2010: Copyright (c) 2001-2010:

View File

@ -45,7 +45,7 @@
<div class="credit"> <div class="credit">
<hr /> <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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -74,7 +74,7 @@ Source Location: /tcpdf.php<br /><br />
<h4>Version:</h4> <h4>Version:</h4>
<ul> <ul>
<li>4.8.025</li> <li>4.8.026</li>
</ul> </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$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$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$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_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_size_UTF8StringToArray">$cache_size_UTF8StringToArray</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$cache_UTF8StringToArray">$cache_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$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$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_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_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$sig_obj_id">$sig_obj_id</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDF.html#var$spot_colors">$spot_colors</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>&nbsp;&nbsp;</td><td>Nicola Asuni - info@tecnick.com</td> <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni - info@tecnick.com</td>
</tr> </tr>
<tr> <tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>4.8.025</td> <td><b>version:</b>&nbsp;&nbsp;</td><td>4.8.026</td>
</tr> </tr>
<tr> <tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td> <td><b>link:</b>&nbsp;&nbsp;</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> <p></p>
<h4>$bufferlen = <span class="value">&nbsp;0</span></h4> <h4>$bufferlen = <span class="value">&nbsp;0</span></h4>
<p>[line 1200]</p> <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> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
<table border="0" cellspacing="0" cellpadding="0"> <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> </table>
</div><br /><br /> </div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><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> <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> <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> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
<table border="0" cellspacing="0" cellpadding="0"> <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> <p></p>
<h4>$footerlen = <span class="value">array()</span></h4> <h4>$footerlen = <span class="value">array()</span></h4>
<p>[line 1002]</p> <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> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
<table border="0" cellspacing="0" cellpadding="0"> <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> <p></p>
<h4>$pagelen = <span class="value">array()</span></h4> <h4>$pagelen = <span class="value">array()</span></h4>
<p>[line 1179]</p> <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> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
<table border="0" cellspacing="0" cellpadding="0"> <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> </table>
</div><br /><br /> </div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><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> <p></p>
<h4>$signature_max_lenght = <span class="value">&nbsp;11742</span></h4> <h4>$signature_max_length = <span class="value">&nbsp;11742</span></h4>
<p>[line 1312]</p> <p>[line 1312]</p>
Signature max lenght<br /><br /><br /><br /> Signature max length<br /><br /><br /><br />
<h4>Tags:</h4> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
<table border="0" cellspacing="0" cellpadding="0"> <table border="0" cellspacing="0" cellpadding="0">
@ -21097,7 +21097,7 @@ $file)</code>
<div class="credit"> <div class="credit">
<hr /> <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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -1368,7 +1368,7 @@ $type)</code>
<div class="credit"> <div class="credit">
<hr /> <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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -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 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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -507,7 +507,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
<div class="credit"> <div class="credit">
<hr /> <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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -88,7 +88,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
<div class="credit"> <div class="credit">
<hr /> <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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -73,7 +73,7 @@ This is a PHP class for generating PDF documents without requiring external exte
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td> <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr> </tr>
<tr> <tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>4.8.025</td> <td><b>version:</b>&nbsp;&nbsp;</td><td>4.8.026</td>
</tr> </tr>
<tr> <tr>
<td><b>copyright:</b>&nbsp;&nbsp;</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> <td><b>copyright:</b>&nbsp;&nbsp;</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"> <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.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>
</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 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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -237,7 +237,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="credit"> <div class="credit">
<hr /> <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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -132,7 +132,7 @@
<dt><b>$buffer</b></dt> <dt><b>$buffer</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd>
<dt><b>$bufferlen</b></dt> <dt><b>$bufferlen</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bufferlen">TCPDF::$bufferlen</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;Length of the buffer in bytes.</dd>
<dt><b>$byterange_string</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;ByteRange placemark used during signature process.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$byterange_string">TCPDF::$byterange_string</a><br>&nbsp;&nbsp;&nbsp;&nbsp;ByteRange placemark used during signature process.</dd>
<dt><b>barcodes.php</b></dt> <dt><b>barcodes.php</b></dt>
@ -181,8 +181,8 @@
<div> <div>
<h2>c</h2> <h2>c</h2>
<dl> <dl>
<dt><b>$cache_file_lenght</b></dt> <dt><b>$cache_file_length</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>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store the lenghts of cache files</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_file_length">TCPDF::$cache_file_length</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store the lengths of cache files</dd>
<dt><b>$cache_maxsize_UTF8StringToArray</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;Maximum size of cache array used for UTF8StringToArray() method.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_maxsize_UTF8StringToArray">TCPDF::$cache_maxsize_UTF8StringToArray</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Maximum size of cache array used for UTF8StringToArray() method.</dd>
<dt><b>$cache_size_UTF8StringToArray</b></dt> <dt><b>$cache_size_UTF8StringToArray</b></dt>
@ -344,7 +344,7 @@
<dt><b>$font_obj_ids</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;Store the font object IDs.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$font_obj_ids">TCPDF::$font_obj_ids</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Store the font object IDs.</dd>
<dt><b>$footerlen</b></dt> <dt><b>$footerlen</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerlen">TCPDF::$footerlen</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store footer length of each page.</dd>
<dt><b>$footerpos</b></dt> <dt><b>$footerpos</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerpos">TCPDF::$footerpos</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store footer positions of each page.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerpos">TCPDF::$footerpos</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store footer positions of each page.</dd>
<dt><b>$footer_font</b></dt> <dt><b>$footer_font</b></dt>
@ -812,7 +812,7 @@
<dt><b>$pagegroups</b></dt> <dt><b>$pagegroups</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagegroups">TCPDF::$pagegroups</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Contains the number of pages of the groups</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagegroups">TCPDF::$pagegroups</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Contains the number of pages of the groups</dd>
<dt><b>$pagelen</b></dt> <dt><b>$pagelen</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagelen">TCPDF::$pagelen</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;Array containing page lengths in bytes.</dd>
<dt><b>$PageMode</b></dt> <dt><b>$PageMode</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PageMode">TCPDF::$PageMode</a><br>&nbsp;&nbsp;&nbsp;&nbsp;A name object specifying how the document should be displayed when opened.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PageMode">TCPDF::$PageMode</a><br>&nbsp;&nbsp;&nbsp;&nbsp;A name object specifying how the document should be displayed when opened.</dd>
<dt><b>$pageopen</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;If true enables document signing</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$sign">TCPDF::$sign</a><br>&nbsp;&nbsp;&nbsp;&nbsp;If true enables document signing</dd>
<dt><b>$signature_data</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;Signature data</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_data">TCPDF::$signature_data</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Signature data</dd>
<dt><b>$signature_max_lenght</b></dt> <dt><b>$signature_max_length</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>&nbsp;&nbsp;&nbsp;&nbsp;Signature max lenght</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_max_length">TCPDF::$signature_max_length</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Signature max length</dd>
<dt><b>$sig_annot_ref</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;Placemark used during signature process.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$sig_annot_ref">TCPDF::$sig_annot_ref</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Placemark used during signature process.</dd>
<dt><b>$sig_obj_id</b></dt> <dt><b>$sig_obj_id</b></dt>
@ -1452,7 +1452,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 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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -291,7 +291,7 @@
<dt><b>$buffer</b></dt> <dt><b>$buffer</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd>
<dt><b>$bufferlen</b></dt> <dt><b>$bufferlen</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bufferlen">TCPDF::$bufferlen</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;Length of the buffer in bytes.</dd>
<dt><b>$byterange_string</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;ByteRange placemark used during signature process.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$byterange_string">TCPDF::$byterange_string</a><br>&nbsp;&nbsp;&nbsp;&nbsp;ByteRange placemark used during signature process.</dd>
<dt><b>barcodes.php</b></dt> <dt><b>barcodes.php</b></dt>
@ -340,8 +340,8 @@
<div> <div>
<h2>c</h2> <h2>c</h2>
<dl> <dl>
<dt><b>$cache_file_lenght</b></dt> <dt><b>$cache_file_length</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>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store the lenghts of cache files</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_file_length">TCPDF::$cache_file_length</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store the lengths of cache files</dd>
<dt><b>$cache_maxsize_UTF8StringToArray</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;Maximum size of cache array used for UTF8StringToArray() method.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$cache_maxsize_UTF8StringToArray">TCPDF::$cache_maxsize_UTF8StringToArray</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Maximum size of cache array used for UTF8StringToArray() method.</dd>
<dt><b>$cache_size_UTF8StringToArray</b></dt> <dt><b>$cache_size_UTF8StringToArray</b></dt>
@ -503,7 +503,7 @@
<dt><b>$font_obj_ids</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;Store the font object IDs.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$font_obj_ids">TCPDF::$font_obj_ids</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Store the font object IDs.</dd>
<dt><b>$footerlen</b></dt> <dt><b>$footerlen</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerlen">TCPDF::$footerlen</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store footer length of each page.</dd>
<dt><b>$footerpos</b></dt> <dt><b>$footerpos</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerpos">TCPDF::$footerpos</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store footer positions of each page.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$footerpos">TCPDF::$footerpos</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store footer positions of each page.</dd>
<dt><b>$footer_font</b></dt> <dt><b>$footer_font</b></dt>
@ -971,7 +971,7 @@
<dt><b>$pagegroups</b></dt> <dt><b>$pagegroups</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagegroups">TCPDF::$pagegroups</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Contains the number of pages of the groups</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagegroups">TCPDF::$pagegroups</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Contains the number of pages of the groups</dd>
<dt><b>$pagelen</b></dt> <dt><b>$pagelen</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pagelen">TCPDF::$pagelen</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;Array containing page lengths in bytes.</dd>
<dt><b>$PageMode</b></dt> <dt><b>$PageMode</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PageMode">TCPDF::$PageMode</a><br>&nbsp;&nbsp;&nbsp;&nbsp;A name object specifying how the document should be displayed when opened.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PageMode">TCPDF::$PageMode</a><br>&nbsp;&nbsp;&nbsp;&nbsp;A name object specifying how the document should be displayed when opened.</dd>
<dt><b>$pageopen</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;If true enables document signing</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$sign">TCPDF::$sign</a><br>&nbsp;&nbsp;&nbsp;&nbsp;If true enables document signing</dd>
<dt><b>$signature_data</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;Signature data</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_data">TCPDF::$signature_data</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Signature data</dd>
<dt><b>$signature_max_lenght</b></dt> <dt><b>$signature_max_length</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>&nbsp;&nbsp;&nbsp;&nbsp;Signature max lenght</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$signature_max_length">TCPDF::$signature_max_length</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Signature max length</dd>
<dt><b>$sig_annot_ref</b></dt> <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>&nbsp;&nbsp;&nbsp;&nbsp;Placemark used during signature process.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$sig_annot_ref">TCPDF::$sig_annot_ref</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Placemark used during signature process.</dd>
<dt><b>$sig_obj_id</b></dt> <dt><b>$sig_obj_id</b></dt>
@ -1475,7 +1475,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 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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -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 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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -58,7 +58,7 @@
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br /> This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
<div class="credit"> <div class="credit">
<hr /> <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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -58,7 +58,7 @@
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br /> This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
<div class="credit"> <div class="credit">
<hr /> <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> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -2,9 +2,9 @@
//============================================================+ //============================================================+
// File name : tcpdf.php // File name : tcpdf.php
// Begin : 2002-08-03 // Begin : 2002-08-03
// Last Update : 2010-01-18 // Last Update : 2010-01-19
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org // 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) // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l. // 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 * @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 * @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.8.025 * @version 4.8.026
*/ */
/** /**
@ -152,14 +152,14 @@ if (!class_exists('TCPDF', false)) {
/** /**
* define default PDF document producer * 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> * 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.8.025 * @version 4.8.026
* @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
@ -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 * @access protected
* @since 4.0.014 (2008-07-29) * @since 4.0.014 (2008-07-29)
*/ */
@ -1172,7 +1172,7 @@ if (!class_exists('TCPDF', false)) {
protected $numpages = 0; protected $numpages = 0;
/** /**
* Array containing page lenghts in bytes. * Array containing page lengths in bytes.
* @access protected * @access protected
* @since 4.5.000 (2008-12-31) * @since 4.5.000 (2008-12-31)
*/ */
@ -1193,7 +1193,7 @@ if (!class_exists('TCPDF', false)) {
protected $imagekeys = array(); protected $imagekeys = array();
/** /**
* Lenght of the buffer in bytes. * Length of the buffer in bytes.
* @access protected * @access protected
* @since 4.5.000 (2008-12-31) * @since 4.5.000 (2008-12-31)
*/ */
@ -1249,11 +1249,11 @@ if (!class_exists('TCPDF', false)) {
protected $objcopy; protected $objcopy;
/** /**
* Array used to store the lenghts of cache files * Array used to store the lengths of cache files
* @access protected * @access protected
* @since 4.5.029 (2009-03-19) * @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 * Table header content to be repeated on each new page
@ -1305,11 +1305,11 @@ if (!class_exists('TCPDF', false)) {
protected $signature_data = array(); protected $signature_data = array();
/** /**
* Signature max lenght * Signature max length
* @access protected * @access protected
* @since 4.6.005 (2009-04-24) * @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. * Regular expression used to find blank characters used for word-wrapping.
@ -2740,7 +2740,7 @@ if (!class_exists('TCPDF', false)) {
} }
// restore graphic settings // restore graphic settings
$this->setGraphicVars($gvars); $this->setGraphicVars($gvars);
// calculate footer lenght // calculate footer length
$this->footerlen[$this->page] = $this->pagelen[$this->page] - $this->footerpos[$this->page] + 1; $this->footerlen[$this->page] = $this->pagelen[$this->page] - $this->footerpos[$this->page] + 1;
} }
@ -3805,10 +3805,10 @@ if (!class_exists('TCPDF', false)) {
} }
if ($txt != '') { if ($txt != '') {
$txt2 = $this->_escapetext($txt); $txt2 = $this->_escapetext($txt);
// text lenght // text length
$txwidth = $this->GetStringWidth($txt); $txwidth = $this->GetStringWidth($txt);
$width = $txwidth; $width = $txwidth;
// ratio between cell lenght and text lenght // ratio between cell length and text length
if ($width <= 0) { if ($width <= 0) {
$ratio = 1; $ratio = 1;
} else { } else {
@ -4303,7 +4303,7 @@ if (!class_exists('TCPDF', false)) {
$j = 0; // current starting position $j = 0; // current starting position
$sep = -1; // position of the last blank space $sep = -1; // position of the last blank space
$shy = false; // true if the last blank is a soft hypen (SHY) $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 $nl = 0; //number of lines
$linebreak = false; $linebreak = false;
$pc = 0; // previous character $pc = 0; // previous character
@ -5389,7 +5389,7 @@ if (!class_exists('TCPDF', false)) {
$byte_range = array(); $byte_range = array();
$byte_range[0] = 0; $byte_range[0] = 0;
$byte_range[1] = strpos($pdfdoc, $this->byterange_string) + $byterange_string_len + 10; $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]; $byte_range[3] = strlen($pdfdoc) - $byte_range[2];
$pdfdoc = substr($pdfdoc, 0, $byte_range[1]).substr($pdfdoc, $byte_range[2]); $pdfdoc = substr($pdfdoc, 0, $byte_range[1]).substr($pdfdoc, $byte_range[2]);
// replace the ByteRange // replace the ByteRange
@ -5402,8 +5402,8 @@ if (!class_exists('TCPDF', false)) {
if (!$f) { if (!$f) {
$this->Error('Unable to create temporary file: '.$tempdoc); $this->Error('Unable to create temporary file: '.$tempdoc);
} }
$pdfdoc_lenght = strlen($pdfdoc); $pdfdoc_length = strlen($pdfdoc);
fwrite($f, $pdfdoc, $pdfdoc_lenght); fwrite($f, $pdfdoc, $pdfdoc_length);
fclose($f); fclose($f);
// get digital signature via openssl library // get digital signature via openssl library
$tempsign = tempnam(K_PATH_CACHE, 'tmpsig_'); $tempsign = tempnam(K_PATH_CACHE, 'tmpsig_');
@ -5414,7 +5414,7 @@ if (!class_exists('TCPDF', false)) {
} }
unlink($tempdoc); unlink($tempdoc);
// read signature // read signature
$signature = file_get_contents($tempsign, false, null, $pdfdoc_lenght); $signature = file_get_contents($tempsign, false, null, $pdfdoc_length);
unlink($tempsign); unlink($tempsign);
// extract signature // extract signature
$signature = substr($signature, (strpos($signature, "%%EOF\n\n------") + 13)); $signature = substr($signature, (strpos($signature, "%%EOF\n\n------") + 13));
@ -5425,7 +5425,7 @@ if (!class_exists('TCPDF', false)) {
$signature = base64_decode(trim($signature)); $signature = base64_decode(trim($signature));
// convert signature to hex // convert signature to hex
$signature = current(unpack('H*', $signature)); $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 // Add signature to the document
$pdfdoc = substr($pdfdoc, 0, $byte_range[1]).'<'.$signature.'>'.substr($pdfdoc, ($byte_range[1])); $pdfdoc = substr($pdfdoc, 0, $byte_range[1]).'<'.$signature.'>'.substr($pdfdoc, ($byte_range[1]));
$this->diskcache = false; $this->diskcache = false;
@ -5525,7 +5525,7 @@ if (!class_exists('TCPDF', false)) {
AND ($val != 'diskcache') AND ($val != 'diskcache')
AND ($val != 'sign') AND ($val != 'sign')
AND ($val != 'signature_data') AND ($val != 'signature_data')
AND ($val != 'signature_max_lenght') AND ($val != 'signature_max_length')
AND ($val != 'byterange_string') AND ($val != 'byterange_string')
)) { )) {
if (!$preserve_objcopy OR ($val != 'objcopy')) { if (!$preserve_objcopy OR ($val != 'objcopy')) {
@ -8659,8 +8659,8 @@ if (!class_exists('TCPDF', false)) {
if ($border_style) { if ($border_style) {
$border_style2 = array(); $border_style2 = array();
foreach ($border_style as $line => $value) { foreach ($border_style as $line => $value) {
$lenght = strlen($line); $length = strlen($line);
for ($i = 0; $i < $lenght; ++$i) { for ($i = 0; $i < $length; ++$i) {
$border_style2[$line[$i]] = $value; $border_style2[$line[$i]] = $value;
} }
} }
@ -11108,7 +11108,7 @@ if (!class_exists('TCPDF', false)) {
$this->_out('/Filter /Adobe.PPKLite'); $this->_out('/Filter /Adobe.PPKLite');
$this->_out('/SubFilter /adbe.pkcs7.detached'); $this->_out('/SubFilter /adbe.pkcs7.detached');
$this->_out($this->byterange_string); $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('/Reference');
$this->_out('['); $this->_out('[');
$this->_out('<<'); $this->_out('<<');
@ -15578,11 +15578,11 @@ if (!class_exists('TCPDF', false)) {
fwrite($f, $data); fwrite($f, $data);
fclose($f); fclose($f);
} }
// update file lenght (needed for transactions) // update file length (needed for transactions)
if (!isset($this->cache_file_lenght['_'.$filename])) { if (!isset($this->cache_file_length['_'.$filename])) {
$this->cache_file_lenght['_'.$filename] = strlen($data); $this->cache_file_length['_'.$filename] = strlen($data);
} else { } 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)) {
if (isset($this->objcopy->diskcache) AND $this->objcopy->diskcache) { if (isset($this->objcopy->diskcache) AND $this->objcopy->diskcache) {
// truncate files to previous values // 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); $file = substr($file, 1);
$handle = fopen($file, 'r+'); $handle = fopen($file, 'r+');
ftruncate($handle, $lenght); ftruncate($handle, $length);
} }
} }
$this->_destroy(true, true); $this->_destroy(true, true);