32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-11-26 06:17:33 +00:00
This commit is contained in:
nicolaasuni 2010-03-10 14:59:05 +01:00
parent afcb6dd6f1
commit f820b7e46a
16 changed files with 668 additions and 624 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 4.8.036 Version: 4.8.037
Release date: 2010-02-24 Release date: 2010-03-10
Author: Nicola Asuni Author: Nicola Asuni
Copyright (c) 2001-2010: Copyright (c) 2001-2010:
@ -30,16 +30,16 @@ Description:
Main Features: Main Features:
// * no external libraries are required for the basic functions; // * no external libraries are required for the basic functions;
// * supports all ISO page formats; // * supports all ISO page formats;
// * supports custom page formats, margins and units of measure; // * supports custom page formats, margins and units of measure;
// * supports UTF-8 Unicode and Right-To-Left languages; // * supports UTF-8 Unicode and Right-To-Left languages;
// * supports TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts; // * supports TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
// * supports document encryption; // * supports document encryption;
// * includes methods to publish some XHTML code, including forms; // * includes methods to publish some XHTML code, including forms;
// * includes graphic (geometric) and transformation methods; // * includes graphic (geometric) and transformation methods;
// * includes Javascript and Forms support; // * includes Javascript and Forms support;
// * includes a method to print various barcode formats: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS; // * includes a method to print various barcode formats: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS;
// * includes methods to set Bookmarks and print a Table of Content; // * includes methods to set Bookmarks and print a Table of Content;
// * includes methods to move and delete pages; // * includes methods to move and delete pages;
// * includes methods for automatic page header and footer management; // * includes methods for automatic page header and footer management;
// * supports automatic page break; // * supports automatic page break;
@ -50,10 +50,10 @@ Main Features:
// * supports clipping masks; // * supports clipping masks;
// * supports Grayscale, RGB, CMYK, Spot Colors and Transparencies; // * supports Grayscale, RGB, CMYK, Spot Colors and Transparencies;
// * supports several annotations, including links, text and file attachments; // * supports several annotations, including links, text and file attachments;
// * supports page compression (requires zlib extension); // * supports page compression (requires zlib extension);
// * supports text hyphenation. // * supports text hyphenation.
// * supports transactions to UNDO commands. // * supports transactions to UNDO commands.
// * supports signature certifications. // * supports signature certifications.
Installation (full instructions on http://www.tcpdf.org): Installation (full instructions on http://www.tcpdf.org):
1. copy the folder on your Web server 1. copy the folder on your Web server
@ -84,4 +84,4 @@ License
See LICENSE.TXT file for more information. See LICENSE.TXT file for more information.
============================================================ ============================================================

View File

@ -45,7 +45,7 @@
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:58 +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.036</li> <li>4.8.037</li>
</ul> </ul>
@ -634,7 +634,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.036</td> <td><b>version:</b>&nbsp;&nbsp;</td><td>4.8.037</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>
@ -3169,7 +3169,7 @@ This is a PHP class for generating PDF documents without requiring external exte
<p></p> <p></p>
<h4>$inthead = <span class="value">&nbsp;false</span></h4> <h4>$inthead = <span class="value">&nbsp;false</span></h4>
<p>[line 1487]</p> <p>[line 1487]</p>
True when we are in thead<br /><br /><br /><br /> True when we are printing the thead section on a new 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">
@ -6299,7 +6299,7 @@ $style = -1])</code>
</div> </div>
<hr /> <hr />
<a name="methodaddHTMLVertSpace"></a> <a name="methodaddHTMLVertSpace"></a>
<h3>method addHTMLVertSpace <span class="smalllinenumber">[line 15144]</span></h3> <h3>method addHTMLVertSpace <span class="smalllinenumber">[line 15182]</span></h3>
<div class="function"> <div class="function">
<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">
@ -6561,7 +6561,7 @@ $k)</code>
</div> </div>
<hr /> <hr />
<a name="methodaddTOC"></a> <a name="methodaddTOC"></a>
<h3>method addTOC <span class="smalllinenumber">[line 16168]</span></h3> <h3>method addTOC <span class="smalllinenumber">[line 16206]</span></h3>
<div class="function"> <div class="function">
<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">
@ -7519,7 +7519,7 @@ $h)</code>
</div> </div>
<hr /> <hr />
<a name="methodcloseHTMLTagHandler"></a> <a name="methodcloseHTMLTagHandler"></a>
<h3>method closeHTMLTagHandler <span class="smalllinenumber">[line 14791]</span></h3> <h3>method closeHTMLTagHandler <span class="smalllinenumber">[line 14827]</span></h3>
<div class="function"> <div class="function">
<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">
@ -7663,7 +7663,7 @@ $js = false])</code>
</div> </div>
<hr /> <hr />
<a name="methodcommitTransaction"></a> <a name="methodcommitTransaction"></a>
<h3>method commitTransaction <span class="smalllinenumber">[line 16326]</span></h3> <h3>method commitTransaction <span class="smalllinenumber">[line 16364]</span></h3>
<div class="function"> <div class="function">
<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">
@ -7934,7 +7934,7 @@ $fill_color = array()])</code>
</div> </div>
<hr /> <hr />
<a name="methoddeletePage"></a> <a name="methoddeletePage"></a>
<h3>method deletePage <span class="smalllinenumber">[line 16026]</span></h3> <h3>method deletePage <span class="smalllinenumber">[line 16064]</span></h3>
<div class="function"> <div class="function">
<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">
@ -8093,7 +8093,7 @@ $afinish:)</code>
</div> </div>
<hr /> <hr />
<a name="methodempty_string"></a> <a name="methodempty_string"></a>
<h3>method empty_string <span class="smalllinenumber">[line 16380]</span></h3> <h3>method empty_string <span class="smalllinenumber">[line 16418]</span></h3>
<div class="function"> <div class="function">
<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">
@ -8642,7 +8642,7 @@ $pagenum = ''])</code>
</div> </div>
<hr /> <hr />
<a name="methodgetBuffer"></a> <a name="methodgetBuffer"></a>
<h3>method getBuffer <span class="smalllinenumber">[line 15712]</span></h3> <h3>method getBuffer <span class="smalllinenumber">[line 15750]</span></h3>
<div class="function"> <div class="function">
<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">
@ -8842,7 +8842,7 @@ $char)</code>
</div> </div>
<hr /> <hr />
<a name="methodgetFontBuffer"></a> <a name="methodgetFontBuffer"></a>
<h3>method getFontBuffer <span class="smalllinenumber">[line 15872]</span></h3> <h3>method getFontBuffer <span class="smalllinenumber">[line 15910]</span></h3>
<div class="function"> <div class="function">
<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">
@ -9165,7 +9165,7 @@ $v)</code>
</div> </div>
<hr /> <hr />
<a name="methodgetGraphicVars"></a> <a name="methodgetGraphicVars"></a>
<h3>method getGraphicVars <span class="smalllinenumber">[line 15580]</span></h3> <h3>method getGraphicVars <span class="smalllinenumber">[line 15618]</span></h3>
<div class="function"> <div class="function">
<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">
@ -9381,7 +9381,7 @@ $html)</code>
</div> </div>
<hr /> <hr />
<a name="methodgetHTMLUnitToUnits"></a> <a name="methodgetHTMLUnitToUnits"></a>
<h3>method getHTMLUnitToUnits <span class="smalllinenumber">[line 15299]</span></h3> <h3>method getHTMLUnitToUnits <span class="smalllinenumber">[line 15337]</span></h3>
<div class="function"> <div class="function">
<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">
@ -9447,7 +9447,7 @@ $point)</code>
</div> </div>
<hr /> <hr />
<a name="methodgetImageBuffer"></a> <a name="methodgetImageBuffer"></a>
<h3>method getImageBuffer <span class="smalllinenumber">[line 15814]</span></h3> <h3>method getImageBuffer <span class="smalllinenumber">[line 15852]</span></h3>
<div class="function"> <div class="function">
<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">
@ -9835,7 +9835,7 @@ $w = 0])</code>
</div> </div>
<hr /> <hr />
<a name="methodgetObjFilename"></a> <a name="methodgetObjFilename"></a>
<h3>method getObjFilename <span class="smalllinenumber">[line 15644]</span></h3> <h3>method getObjFilename <span class="smalllinenumber">[line 15682]</span></h3>
<div class="function"> <div class="function">
<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">
@ -9945,7 +9945,7 @@ $prefix)</code>
</div> </div>
<hr /> <hr />
<a name="methodgetPageBuffer"></a> <a name="methodgetPageBuffer"></a>
<h3>method getPageBuffer <span class="smalllinenumber">[line 15755]</span></h3> <h3>method getPageBuffer <span class="smalllinenumber">[line 15793]</span></h3>
<div class="function"> <div class="function">
<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">
@ -10305,7 +10305,7 @@ $pagenum = ''])</code>
</div> </div>
<hr /> <hr />
<a name="methodgetSpaceString"></a> <a name="methodgetSpaceString"></a>
<h3>method getSpaceString <span class="smalllinenumber">[line 13207]</span></h3> <h3>method getSpaceString <span class="smalllinenumber">[line 13211]</span></h3>
<div class="function"> <div class="function">
<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">
@ -10958,7 +10958,7 @@ $script)</code>
</div> </div>
<hr /> <hr />
<a name="methodintToRoman"></a> <a name="methodintToRoman"></a>
<h3>method intToRoman <span class="smalllinenumber">[line 15373]</span></h3> <h3>method intToRoman <span class="smalllinenumber">[line 15411]</span></h3>
<div class="function"> <div class="function">
<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">
@ -11610,7 +11610,7 @@ $y = ''])</code>
</div> </div>
<hr /> <hr />
<a name="methodmovePage"></a> <a name="methodmovePage"></a>
<h3>method movePage <span class="smalllinenumber">[line 15889]</span></h3> <h3>method movePage <span class="smalllinenumber">[line 15927]</span></h3>
<div class="function"> <div class="function">
<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">
@ -11784,7 +11784,7 @@ $maxh = 0])</code>
</div> </div>
<hr /> <hr />
<a name="methodobjclone"></a> <a name="methodobjclone"></a>
<h3>method objclone <span class="smalllinenumber">[line 16369]</span></h3> <h3>method objclone <span class="smalllinenumber">[line 16407]</span></h3>
<div class="function"> <div class="function">
<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">
@ -11857,7 +11857,7 @@ $object)</code>
</div> </div>
<hr /> <hr />
<a name="methodopenHTMLTagHandler"></a> <a name="methodopenHTMLTagHandler"></a>
<h3>method openHTMLTagHandler <span class="smalllinenumber">[line 14245]</span></h3> <h3>method openHTMLTagHandler <span class="smalllinenumber">[line 14272]</span></h3>
<div class="function"> <div class="function">
<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">
@ -12366,7 +12366,7 @@ $closed)</code>
</div> </div>
<hr /> <hr />
<a name="methodputHtmlListBullet"></a> <a name="methodputHtmlListBullet"></a>
<h3>method putHtmlListBullet <span class="smalllinenumber">[line 15438]</span></h3> <h3>method putHtmlListBullet <span class="smalllinenumber">[line 15476]</span></h3>
<div class="function"> <div class="function">
<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">
@ -12585,7 +12585,7 @@ $js = false])</code>
</div> </div>
<hr /> <hr />
<a name="methodreadDiskCache"></a> <a name="methodreadDiskCache"></a>
<h3>method readDiskCache <span class="smalllinenumber">[line 15684]</span></h3> <h3>method readDiskCache <span class="smalllinenumber">[line 15722]</span></h3>
<div class="function"> <div class="function">
<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">
@ -12915,7 +12915,7 @@ $length)</code>
</div> </div>
<hr /> <hr />
<a name="methodrollbackTransaction"></a> <a name="methodrollbackTransaction"></a>
<h3>method rollbackTransaction <span class="smalllinenumber">[line 16340]</span></h3> <h3>method rollbackTransaction <span class="smalllinenumber">[line 16378]</span></h3>
<div class="function"> <div class="function">
<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">
@ -13491,7 +13491,7 @@ $bc = ''])</code>
</div> </div>
<hr /> <hr />
<a name="methodSetBooklet"></a> <a name="methodSetBooklet"></a>
<h3>method SetBooklet <span class="smalllinenumber">[line 15213]</span></h3> <h3>method SetBooklet <span class="smalllinenumber">[line 15251]</span></h3>
<div class="function"> <div class="function">
<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">
@ -13542,7 +13542,7 @@ $outer = -1])</code>
</div> </div>
<hr /> <hr />
<a name="methodsetBuffer"></a> <a name="methodsetBuffer"></a>
<h3>method setBuffer <span class="smalllinenumber">[line 15694]</span></h3> <h3>method setBuffer <span class="smalllinenumber">[line 15732]</span></h3>
<div class="function"> <div class="function">
<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">
@ -14310,7 +14310,7 @@ $fontfile = ''])</code>
</div> </div>
<hr /> <hr />
<a name="methodsetFontBuffer"></a> <a name="methodsetFontBuffer"></a>
<h3>method setFontBuffer <span class="smalllinenumber">[line 15830]</span></h3> <h3>method setFontBuffer <span class="smalllinenumber">[line 15868]</span></h3>
<div class="function"> <div class="function">
<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">
@ -14397,7 +14397,7 @@ $size)</code>
</div> </div>
<hr /> <hr />
<a name="methodsetFontSubBuffer"></a> <a name="methodsetFontSubBuffer"></a>
<h3>method setFontSubBuffer <span class="smalllinenumber">[line 15852]</span></h3> <h3>method setFontSubBuffer <span class="smalllinenumber">[line 15890]</span></h3>
<div class="function"> <div class="function">
<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">
@ -14593,7 +14593,7 @@ $prop = array()])</code>
</div> </div>
<hr /> <hr />
<a name="methodsetGraphicVars"></a> <a name="methodsetGraphicVars"></a>
<h3>method setGraphicVars <span class="smalllinenumber">[line 15611]</span></h3> <h3>method setGraphicVars <span class="smalllinenumber">[line 15649]</span></h3>
<div class="function"> <div class="function">
<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">
@ -14789,7 +14789,7 @@ $hm = 10])</code>
</div> </div>
<hr /> <hr />
<a name="methodsetHtmlLinksStyle"></a> <a name="methodsetHtmlLinksStyle"></a>
<h3>method setHtmlLinksStyle <span class="smalllinenumber">[line 15284]</span></h3> <h3>method setHtmlLinksStyle <span class="smalllinenumber">[line 15322]</span></h3>
<div class="function"> <div class="function">
<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">
@ -14834,7 +14834,7 @@ $fontstyle = 'U'])</code>
</div> </div>
<hr /> <hr />
<a name="methodsetHtmlVSpace"></a> <a name="methodsetHtmlVSpace"></a>
<h3>method setHtmlVSpace <span class="smalllinenumber">[line 15253]</span></h3> <h3>method setHtmlVSpace <span class="smalllinenumber">[line 15291]</span></h3>
<div class="function"> <div class="function">
<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">
@ -14873,7 +14873,7 @@ $tagvs)</code>
</div> </div>
<hr /> <hr />
<a name="methodsetImageBuffer"></a> <a name="methodsetImageBuffer"></a>
<h3>method setImageBuffer <span class="smalllinenumber">[line 15771]</span></h3> <h3>method setImageBuffer <span class="smalllinenumber">[line 15809]</span></h3>
<div class="function"> <div class="function">
<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">
@ -14960,7 +14960,7 @@ $scale)</code>
</div> </div>
<hr /> <hr />
<a name="methodsetImageSubBuffer"></a> <a name="methodsetImageSubBuffer"></a>
<h3>method setImageSubBuffer <span class="smalllinenumber">[line 15794]</span></h3> <h3>method setImageSubBuffer <span class="smalllinenumber">[line 15832]</span></h3>
<div class="function"> <div class="function">
<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">
@ -15357,7 +15357,7 @@ $page = -1])</code>
</div> </div>
<hr /> <hr />
<a name="methodsetListIndentWidth"></a> <a name="methodsetListIndentWidth"></a>
<h3>method setListIndentWidth <span class="smalllinenumber">[line 15263]</span></h3> <h3>method setListIndentWidth <span class="smalllinenumber">[line 15301]</span></h3>
<div class="function"> <div class="function">
<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">
@ -15396,7 +15396,7 @@ $width)</code>
</div> </div>
<hr /> <hr />
<a name="methodsetLIsymbol"></a> <a name="methodsetLIsymbol"></a>
<h3>method setLIsymbol <span class="smalllinenumber">[line 15173]</span></h3> <h3>method setLIsymbol <span class="smalllinenumber">[line 15211]</span></h3>
<div class="function"> <div class="function">
<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">
@ -15489,7 +15489,7 @@ $right = -1])</code>
</div> </div>
<hr /> <hr />
<a name="methodsetOpenCell"></a> <a name="methodsetOpenCell"></a>
<h3>method setOpenCell <span class="smalllinenumber">[line 15273]</span></h3> <h3>method setOpenCell <span class="smalllinenumber">[line 15311]</span></h3>
<div class="function"> <div class="function">
<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">
@ -15576,7 +15576,7 @@ $resetmargins = false])</code>
</div> </div>
<hr /> <hr />
<a name="methodsetPageBuffer"></a> <a name="methodsetPageBuffer"></a>
<h3>method setPageBuffer <span class="smalllinenumber">[line 15728]</span></h3> <h3>method setPageBuffer <span class="smalllinenumber">[line 15766]</span></h3>
<div class="function"> <div class="function">
<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">
@ -17205,7 +17205,7 @@ $page = ''])</code>
</div> </div>
<hr /> <hr />
<a name="methodstartTransaction"></a> <a name="methodstartTransaction"></a>
<h3>method startTransaction <span class="smalllinenumber">[line 16310]</span></h3> <h3>method startTransaction <span class="smalllinenumber">[line 16348]</span></h3>
<div class="function"> <div class="function">
<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">
@ -17295,7 +17295,7 @@ $page = ''])</code>
</div> </div>
<hr /> <hr />
<a name="methodswapMargins"></a> <a name="methodswapMargins"></a>
<h3>method swapMargins <span class="smalllinenumber">[line 15229]</span></h3> <h3>method swapMargins <span class="smalllinenumber">[line 15267]</span></h3>
<div class="function"> <div class="function">
<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">
@ -18561,7 +18561,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodwriteDiskCache"></a> <a name="methodwriteDiskCache"></a>
<h3>method writeDiskCache <span class="smalllinenumber">[line 15656]</span></h3> <h3>method writeDiskCache <span class="smalllinenumber">[line 15694]</span></h3>
<div class="function"> <div class="function">
<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">
@ -18618,7 +18618,7 @@ $file)</code>
</div> </div>
<hr /> <hr />
<a name="methodwriteHTML"></a> <a name="methodwriteHTML"></a>
<h3>method writeHTML <span class="smalllinenumber">[line 13227]</span></h3> <h3>method writeHTML <span class="smalllinenumber">[line 13231]</span></h3>
<div class="function"> <div class="function">
<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">
@ -21177,7 +21177,7 @@ $file)</code>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:59 +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 Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:58 +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 Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:58 +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 Wed, 24 Feb 2010 10:08:41 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:59:01 +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 Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:59 +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.036</td> <td><b>version:</b>&nbsp;&nbsp;</td><td>4.8.037</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.036 (http://www.tcpdf.org)'</code> <code>PDF_PRODUCER = 'TCPDF 4.8.037 (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 Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:59 +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 Wed, 24 Feb 2010 10:08:41 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:59:01 +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

@ -562,7 +562,7 @@
<dt><b>$internal_encoding</b></dt> <dt><b>$internal_encoding</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$internal_encoding">TCPDF::$internal_encoding</a></dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$internal_encoding">TCPDF::$internal_encoding</a></dd>
<dt><b>$inthead</b></dt> <dt><b>$inthead</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$inthead">TCPDF::$inthead</a><br>&nbsp;&nbsp;&nbsp;&nbsp;True when we are in thead</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$inthead">TCPDF::$inthead</a><br>&nbsp;&nbsp;&nbsp;&nbsp;True when we are printing the thead section on a new page</dd>
<dt><b>$intmrk</b></dt> <dt><b>$intmrk</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$intmrk">TCPDF::$intmrk</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store positions inside the pages buffer.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$intmrk">TCPDF::$intmrk</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store positions inside the pages buffer.</dd>
<dt><b>$isunicode</b></dt> <dt><b>$isunicode</b></dt>
@ -1456,7 +1456,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 Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:58 +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

@ -723,7 +723,7 @@
<dt><b>$internal_encoding</b></dt> <dt><b>$internal_encoding</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$internal_encoding">TCPDF::$internal_encoding</a></dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$internal_encoding">TCPDF::$internal_encoding</a></dd>
<dt><b>$inthead</b></dt> <dt><b>$inthead</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$inthead">TCPDF::$inthead</a><br>&nbsp;&nbsp;&nbsp;&nbsp;True when we are in thead</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$inthead">TCPDF::$inthead</a><br>&nbsp;&nbsp;&nbsp;&nbsp;True when we are printing the thead section on a new page</dd>
<dt><b>$intmrk</b></dt> <dt><b>$intmrk</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$intmrk">TCPDF::$intmrk</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store positions inside the pages buffer.</dd> <dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$intmrk">TCPDF::$intmrk</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array used to store positions inside the pages buffer.</dd>
<dt><b>$isunicode</b></dt> <dt><b>$isunicode</b></dt>
@ -1479,7 +1479,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 Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:58 +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 Wed, 24 Feb 2010 10:08:41 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:59:01 +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 Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:58 +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 Wed, 24 Feb 2010 10:08:38 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Wed, 10 Mar 2010 14:58:58 +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-02-24 // Last Update : 2010-03-10
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org // Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
// Version : 4.8.036 // Version : 4.8.037
// 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.036 * @version 4.8.037
*/ */
/** /**
@ -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.036 (http://www.tcpdf.org)'); define('PDF_PRODUCER', 'TCPDF 4.8.037 (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.036 * @version 4.8.037
* @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
@ -1480,12 +1480,12 @@ if (!class_exists('TCPDF', false)) {
protected $start_transaction_page = 0; protected $start_transaction_page = 0;
/** /**
* True when we are in thead * True when we are printing the thead section on a new page
* @access protected * @access protected
* @since 4.8.027 (2010-01-25) * @since 4.8.027 (2010-01-25)
*/ */
protected $inthead = false; protected $inthead = false;
//------------------------------------------------------------ //------------------------------------------------------------
// METHODS // METHODS
//------------------------------------------------------------ //------------------------------------------------------------
@ -12850,7 +12850,7 @@ if (!class_exists('TCPDF', false)) {
$dom[$key]['tag'] = true; $dom[$key]['tag'] = true;
$dom[$key]['value'] = $tagname; $dom[$key]['value'] = $tagname;
if ($element{0} == '/') { if ($element{0} == '/') {
// closing html tag // *** closing html tag
$dom[$key]['opening'] = false; $dom[$key]['opening'] = false;
$dom[$key]['parent'] = end($level); $dom[$key]['parent'] = end($level);
array_pop($level); array_pop($level);
@ -12875,6 +12875,9 @@ if (!class_exists('TCPDF', false)) {
$key = $i; $key = $i;
// mark nested tables // mark nested tables
$dom[($dom[$key]['parent'])]['content'] = str_replace('<table', '<table nested="true"', $dom[($dom[$key]['parent'])]['content']); $dom[($dom[$key]['parent'])]['content'] = str_replace('<table', '<table nested="true"', $dom[($dom[$key]['parent'])]['content']);
// remove thead sections from nested tables
$dom[($dom[$key]['parent'])]['content'] = str_replace('<thead>', '', $dom[($dom[$key]['parent'])]['content']);
$dom[($dom[$key]['parent'])]['content'] = str_replace('</thead>', '', $dom[($dom[$key]['parent'])]['content']);
} }
// store header rows on a new table // store header rows on a new table
if (($dom[$key]['value'] == 'tr') AND ($dom[($dom[$key]['parent'])]['thead'] === true)) { if (($dom[$key]['value'] == 'tr') AND ($dom[($dom[$key]['parent'])]['thead'] === true)) {
@ -12896,7 +12899,7 @@ if (!class_exists('TCPDF', false)) {
$dom[($dom[$key]['parent'])]['thead'] .= '</tablehead>'; $dom[($dom[$key]['parent'])]['thead'] .= '</tablehead>';
} }
} else { } else {
// opening html tag // *** opening html tag
$dom[$key]['opening'] = true; $dom[$key]['opening'] = true;
$dom[$key]['parent'] = end($level); $dom[$key]['parent'] = end($level);
if (substr($element, -1, 1) != '/') { if (substr($element, -1, 1) != '/') {
@ -13013,7 +13016,7 @@ if (!class_exists('TCPDF', false)) {
$dom[$key]['fontstyle'] .= 'B'; $dom[$key]['fontstyle'] .= 'B';
} }
if (isset($dom[$key]['style']['font-style']) AND (strtolower($dom[$key]['style']['font-style']{0}) == 'i')) { if (isset($dom[$key]['style']['font-style']) AND (strtolower($dom[$key]['style']['font-style']{0}) == 'i')) {
$dom[$key]['fontstyle'] .= '"I'; $dom[$key]['fontstyle'] .= 'I';
} }
// font color // font color
if (isset($dom[$key]['style']['color']) AND (!$this->empty_string($dom[$key]['style']['color']))) { if (isset($dom[$key]['style']['color']) AND (!$this->empty_string($dom[$key]['style']['color']))) {
@ -13145,14 +13148,15 @@ if (!class_exists('TCPDF', false)) {
} }
if (($dom[$key]['value'] == 'tr')) { if (($dom[$key]['value'] == 'tr')) {
$dom[$key]['cols'] = 0; $dom[$key]['cols'] = 0;
// store the number of rows on table element
++$dom[($dom[$key]['parent'])]['rows'];
// store the TR elements IDs on table element
array_push($dom[($dom[$key]['parent'])]['trids'], $key);
if ($thead) { if ($thead) {
$dom[$key]['thead'] = true; $dom[$key]['thead'] = true;
// rows on thead block are printed as a separate table
} else { } else {
$dom[$key]['thead'] = false; $dom[$key]['thead'] = false;
// store the number of rows on table element
++$dom[($dom[$key]['parent'])]['rows'];
// store the TR elements IDs on table element
array_push($dom[($dom[$key]['parent'])]['trids'], $key);
} }
} }
if (($dom[$key]['value'] == 'th') OR ($dom[$key]['value'] == 'td')) { if (($dom[$key]['value'] == 'th') OR ($dom[$key]['value'] == 'td')) {
@ -13345,6 +13349,30 @@ if (!class_exists('TCPDF', false)) {
$this_method_vars['dom'] = $dom; $this_method_vars['dom'] = $dom;
} }
} }
// print THEAD block
if (($dom[$key]['value'] == 'tr') AND isset($dom[$key]['thead']) AND $dom[$key]['thead']) {
while ( ($key < $maxel) AND (!(
($dom[$key]['tag'] AND $dom[$key]['opening'] AND ($dom[$key]['value'] == 'tr') AND (!isset($dom[$key]['thead']) OR !$dom[$key]['thead']))
OR ($dom[$key]['tag'] AND (!$dom[$key]['opening']) AND ($dom[$key]['value'] == 'table'))) )) {
// move $key index forward
++$key;
}
if (isset($dom[$dom[$key]['parent']]['thead']) AND !$this->empty_string($dom[$dom[$key]['parent']]['thead'])) {
// print table header (thead)
$this->writeHTML($this->thead, false, false, false, false, '');
if ($this->start_transaction_page == ($this->numpages - 1)) {
// restore previous object
$this->rollbackTransaction(true);
// restore previous values
foreach ($this_method_vars as $vkey => $vval) {
$$vkey = $vval;
}
$this->inthead = false;
// add a page
$this->AddPage();
}
}
}
if ($dom[$key]['tag'] OR ($key == 0)) { if ($dom[$key]['tag'] OR ($key == 0)) {
if ((($dom[$key]['value'] == 'table') OR ($dom[$key]['value'] == 'tr')) AND (isset($dom[$key]['align']))) { if ((($dom[$key]['value'] == 'table') OR ($dom[$key]['value'] == 'tr')) AND (isset($dom[$key]['align']))) {
$dom[$key]['align'] = ($this->rtl) ? 'R' : 'L'; $dom[$key]['align'] = ($this->rtl) ? 'R' : 'L';
@ -13846,12 +13874,11 @@ if (!class_exists('TCPDF', false)) {
$table_width = $wtmp; $table_width = $wtmp;
} }
} }
// table content is handled in a special way
if (($dom[$key]['value'] == 'td') OR ($dom[$key]['value'] == 'th')) { if (($dom[$key]['value'] == 'td') OR ($dom[$key]['value'] == 'th')) {
$trid = $dom[$key]['parent']; $trid = $dom[$key]['parent'];
$table_el = $dom[$trid]['parent']; $table_el = $dom[$trid]['parent'];
if (!isset($dom[$table_el]['cols'])) { if (!isset($dom[$table_el]['cols'])) {
$dom[$table_el]['cols'] = $trid['cols']; $dom[$table_el]['cols'] = $dom[$trid]['cols'];
} }
$oldmargin = $this->cMargin; $oldmargin = $this->cMargin;
if (isset($dom[($dom[$trid]['parent'])]['attribute']['cellpadding'])) { if (isset($dom[($dom[$trid]['parent'])]['attribute']['cellpadding'])) {
@ -13973,7 +14000,7 @@ if (!class_exists('TCPDF', false)) {
if (isset($dom[$parentid]['bgcolor']) AND ($dom[$parentid]['bgcolor'] !== false)) { if (isset($dom[$parentid]['bgcolor']) AND ($dom[$parentid]['bgcolor'] !== false)) {
$dom[$trid]['cellpos'][($cellid - 1)]['bgcolor'] = $dom[$parentid]['bgcolor']; $dom[$trid]['cellpos'][($cellid - 1)]['bgcolor'] = $dom[$parentid]['bgcolor'];
} }
$prevLastH = $this->lasth; $prevLastH = $this->lasth;
// ****** write the cell content ****** // ****** write the cell content ******
$this->MultiCell($cellw, $cellh, $cell_content, false, $lalign, false, 2, '', '', true, 0, true); $this->MultiCell($cellw, $cellh, $cell_content, false, $lalign, false, 2, '', '', true, 0, true);
$this->lasth = $prevLastH; $this->lasth = $prevLastH;
@ -14258,12 +14285,16 @@ if (!class_exists('TCPDF', false)) {
$cp = 0; $cp = 0;
$cs = 0; $cs = 0;
$dom[$key]['rowspans'] = array(); $dom[$key]['rowspans'] = array();
if (!$this->empty_string($dom[$key]['thead'])) { if (!isset($dom[$key]['attribute']['nested']) OR ($dom[$key]['attribute']['nested'] != 'true')) {
// set table header // set table header
$this->thead = $dom[$key]['thead']; if (!$this->empty_string($dom[$key]['thead'])) {
if (!isset($this->theadMargins) OR (empty($this->theadMargins))) { // set table header
$this->theadMargins = array(); $this->thead = $dom[$key]['thead'];
$this->theadMargins['cmargin'] = $this->cMargin; if (!isset($this->theadMargins) OR (empty($this->theadMargins))) {
$this->theadMargins = array();
$this->theadMargins['cmargin'] = $this->cMargin;
}
$this->inthead = true;
} }
} }
if (isset($tag['attribute']['cellpadding'])) { if (isset($tag['attribute']['cellpadding'])) {
@ -14280,6 +14311,11 @@ if (!class_exists('TCPDF', false)) {
case 'tr': { case 'tr': {
// array of columns positions // array of columns positions
$dom[$key]['cellpos'] = array(); $dom[$key]['cellpos'] = array();
if (isset($tag['thead']) AND $tag['thead']) {
$this->inthead = true;
} else {
$this->inthead = false;
}
break; break;
} }
case 'hr': { case 'hr': {
@ -15014,9 +15050,11 @@ if (!class_exists('TCPDF', false)) {
$this->tMargin = $this->theadMargins['top']; $this->tMargin = $this->theadMargins['top'];
$this->pagedim[$this->page]['tm'] = $this->tMargin; $this->pagedim[$this->page]['tm'] = $this->tMargin;
} }
// reset table header if (!isset($table_el['attribute']['nested']) OR ($table_el['attribute']['nested'] != 'true')) {
$this->thead = ''; // reset main table header
$this->theadMargins = array(); $this->thead = '';
$this->theadMargins = array();
}
} }
break; break;
} }