mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-22 12:55:10 +00:00
4.8.037
This commit is contained in:
parent
afcb6dd6f1
commit
f820b7e46a
1068
CHANGELOG.TXT
1068
CHANGELOG.TXT
File diff suppressed because it is too large
Load Diff
20
README.TXT
20
README.TXT
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 4.8.036
|
||||
Release date: 2010-02-24
|
||||
Version: 4.8.037
|
||||
Release date: 2010-03-10
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2001-2010:
|
||||
@ -30,16 +30,16 @@ Description:
|
||||
|
||||
Main Features:
|
||||
// * 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 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 document encryption;
|
||||
// * includes methods to publish some XHTML code, including forms;
|
||||
// * includes graphic (geometric) and transformation methods;
|
||||
// * 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 methods to set Bookmarks and print a Table of Content;
|
||||
// * 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 move and delete pages;
|
||||
// * includes methods for automatic page header and footer management;
|
||||
// * supports automatic page break;
|
||||
@ -50,10 +50,10 @@ Main Features:
|
||||
// * supports clipping masks;
|
||||
// * supports Grayscale, RGB, CMYK, Spot Colors and Transparencies;
|
||||
// * supports several annotations, including links, text and file attachments;
|
||||
// * supports page compression (requires zlib extension);
|
||||
// * supports text hyphenation.
|
||||
// * supports page compression (requires zlib extension);
|
||||
// * supports text hyphenation.
|
||||
// * supports transactions to UNDO commands.
|
||||
// * supports signature certifications.
|
||||
// * supports signature certifications.
|
||||
|
||||
Installation (full instructions on http://www.tcpdf.org):
|
||||
1. copy the folder on your Web server
|
||||
@ -84,4 +84,4 @@ License
|
||||
|
||||
See LICENSE.TXT file for more information.
|
||||
|
||||
============================================================
|
||||
============================================================
|
||||
|
@ -45,7 +45,7 @@
|
||||
|
||||
<div class="credit">
|
||||
<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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -74,7 +74,7 @@ Source Location: /tcpdf.php<br /><br />
|
||||
|
||||
<h4>Version:</h4>
|
||||
<ul>
|
||||
<li>4.8.036</li>
|
||||
<li>4.8.037</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -634,7 +634,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<td><b>author:</b> </td><td>Nicola Asuni - info@tecnick.com</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>4.8.036</td>
|
||||
<td><b>version:</b> </td><td>4.8.037</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>link:</b> </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>
|
||||
<h4>$inthead = <span class="value"> false</span></h4>
|
||||
<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>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
@ -6299,7 +6299,7 @@ $style = -1])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -6561,7 +6561,7 @@ $k)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -7519,7 +7519,7 @@ $h)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -7663,7 +7663,7 @@ $js = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -7934,7 +7934,7 @@ $fill_color = array()])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -8093,7 +8093,7 @@ $afinish:)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -8642,7 +8642,7 @@ $pagenum = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -8842,7 +8842,7 @@ $char)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -9165,7 +9165,7 @@ $v)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -9381,7 +9381,7 @@ $html)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -9447,7 +9447,7 @@ $point)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -9835,7 +9835,7 @@ $w = 0])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -9945,7 +9945,7 @@ $prefix)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -10305,7 +10305,7 @@ $pagenum = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -10958,7 +10958,7 @@ $script)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -11610,7 +11610,7 @@ $y = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -11784,7 +11784,7 @@ $maxh = 0])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -11857,7 +11857,7 @@ $object)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -12366,7 +12366,7 @@ $closed)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -12585,7 +12585,7 @@ $js = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -12915,7 +12915,7 @@ $length)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -13491,7 +13491,7 @@ $bc = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -13542,7 +13542,7 @@ $outer = -1])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -14310,7 +14310,7 @@ $fontfile = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -14397,7 +14397,7 @@ $size)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -14593,7 +14593,7 @@ $prop = array()])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -14789,7 +14789,7 @@ $hm = 10])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -14834,7 +14834,7 @@ $fontstyle = 'U'])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -14873,7 +14873,7 @@ $tagvs)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -14960,7 +14960,7 @@ $scale)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -15357,7 +15357,7 @@ $page = -1])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -15396,7 +15396,7 @@ $width)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -15489,7 +15489,7 @@ $right = -1])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -15576,7 +15576,7 @@ $resetmargins = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -17205,7 +17205,7 @@ $page = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -17295,7 +17295,7 @@ $page = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -18561,7 +18561,7 @@ $code)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -18618,7 +18618,7 @@ $file)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<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">
|
||||
<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">
|
||||
@ -21177,7 +21177,7 @@ $file)</code>
|
||||
|
||||
<div class="credit">
|
||||
<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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -1368,7 +1368,7 @@ $type)</code>
|
||||
|
||||
<div class="credit">
|
||||
<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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -96,7 +96,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on 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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -507,7 +507,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -88,7 +88,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -73,7 +73,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>4.8.036</td>
|
||||
<td><b>version:</b> </td><td>4.8.037</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>copyright:</b> </td><td>2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com</td>
|
||||
@ -104,7 +104,7 @@ unicode data<br /><br /></div>
|
||||
<div class="tags">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>PDF_PRODUCER = 'TCPDF 4.8.036 (http://www.tcpdf.org)'</code>
|
||||
<code>PDF_PRODUCER = 'TCPDF 4.8.037 (http://www.tcpdf.org)'</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
|
||||
@ -115,7 +115,7 @@ unicode data<br /><br /></div>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on 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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -237,7 +237,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -562,7 +562,7 @@
|
||||
<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>
|
||||
<dt><b>$inthead</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$inthead">TCPDF::$inthead</a><br> 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> True when we are printing the thead section on a new page</dd>
|
||||
<dt><b>$intmrk</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$intmrk">TCPDF::$intmrk</a><br> Array used to store positions inside the pages buffer.</dd>
|
||||
<dt><b>$isunicode</b></dt>
|
||||
@ -1456,7 +1456,7 @@
|
||||
<a href="elementindex.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -723,7 +723,7 @@
|
||||
<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>
|
||||
<dt><b>$inthead</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$inthead">TCPDF::$inthead</a><br> 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> True when we are printing the thead section on a new page</dd>
|
||||
<dt><b>$intmrk</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$intmrk">TCPDF::$intmrk</a><br> Array used to store positions inside the pages buffer.</dd>
|
||||
<dt><b>$isunicode</b></dt>
|
||||
@ -1479,7 +1479,7 @@
|
||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<a href="#Post-parsing">Post-parsing</a><br>
|
||||
<div class="credit">
|
||||
<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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -58,7 +58,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on 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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -58,7 +58,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on 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>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
88
tcpdf.php
88
tcpdf.php
@ -2,9 +2,9 @@
|
||||
//============================================================+
|
||||
// File name : tcpdf.php
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2010-02-24
|
||||
// Last Update : 2010-03-10
|
||||
// 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)
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
|
||||
@ -128,7 +128,7 @@
|
||||
* @copyright 2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @version 4.8.036
|
||||
* @version 4.8.037
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -152,14 +152,14 @@ if (!class_exists('TCPDF', false)) {
|
||||
/**
|
||||
* 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>
|
||||
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
|
||||
* @name TCPDF
|
||||
* @package com.tecnick.tcpdf
|
||||
* @version 4.8.036
|
||||
* @version 4.8.037
|
||||
* @author Nicola Asuni - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
@ -1480,12 +1480,12 @@ if (!class_exists('TCPDF', false)) {
|
||||
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
|
||||
* @since 4.8.027 (2010-01-25)
|
||||
*/
|
||||
protected $inthead = false;
|
||||
|
||||
|
||||
//------------------------------------------------------------
|
||||
// METHODS
|
||||
//------------------------------------------------------------
|
||||
@ -12850,7 +12850,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
$dom[$key]['tag'] = true;
|
||||
$dom[$key]['value'] = $tagname;
|
||||
if ($element{0} == '/') {
|
||||
// closing html tag
|
||||
// *** closing html tag
|
||||
$dom[$key]['opening'] = false;
|
||||
$dom[$key]['parent'] = end($level);
|
||||
array_pop($level);
|
||||
@ -12875,6 +12875,9 @@ if (!class_exists('TCPDF', false)) {
|
||||
$key = $i;
|
||||
// mark nested tables
|
||||
$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
|
||||
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>';
|
||||
}
|
||||
} else {
|
||||
// opening html tag
|
||||
// *** opening html tag
|
||||
$dom[$key]['opening'] = true;
|
||||
$dom[$key]['parent'] = end($level);
|
||||
if (substr($element, -1, 1) != '/') {
|
||||
@ -13013,7 +13016,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
$dom[$key]['fontstyle'] .= 'B';
|
||||
}
|
||||
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
|
||||
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')) {
|
||||
$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) {
|
||||
$dom[$key]['thead'] = true;
|
||||
// rows on thead block are printed as a separate table
|
||||
} else {
|
||||
$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')) {
|
||||
@ -13345,6 +13349,30 @@ if (!class_exists('TCPDF', false)) {
|
||||
$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]['value'] == 'table') OR ($dom[$key]['value'] == 'tr')) AND (isset($dom[$key]['align']))) {
|
||||
$dom[$key]['align'] = ($this->rtl) ? 'R' : 'L';
|
||||
@ -13846,12 +13874,11 @@ if (!class_exists('TCPDF', false)) {
|
||||
$table_width = $wtmp;
|
||||
}
|
||||
}
|
||||
// table content is handled in a special way
|
||||
if (($dom[$key]['value'] == 'td') OR ($dom[$key]['value'] == 'th')) {
|
||||
$trid = $dom[$key]['parent'];
|
||||
$table_el = $dom[$trid]['parent'];
|
||||
if (!isset($dom[$table_el]['cols'])) {
|
||||
$dom[$table_el]['cols'] = $trid['cols'];
|
||||
$dom[$table_el]['cols'] = $dom[$trid]['cols'];
|
||||
}
|
||||
$oldmargin = $this->cMargin;
|
||||
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)) {
|
||||
$dom[$trid]['cellpos'][($cellid - 1)]['bgcolor'] = $dom[$parentid]['bgcolor'];
|
||||
}
|
||||
$prevLastH = $this->lasth;
|
||||
$prevLastH = $this->lasth;
|
||||
// ****** write the cell content ******
|
||||
$this->MultiCell($cellw, $cellh, $cell_content, false, $lalign, false, 2, '', '', true, 0, true);
|
||||
$this->lasth = $prevLastH;
|
||||
@ -14258,12 +14285,16 @@ if (!class_exists('TCPDF', false)) {
|
||||
$cp = 0;
|
||||
$cs = 0;
|
||||
$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
|
||||
$this->thead = $dom[$key]['thead'];
|
||||
if (!isset($this->theadMargins) OR (empty($this->theadMargins))) {
|
||||
$this->theadMargins = array();
|
||||
$this->theadMargins['cmargin'] = $this->cMargin;
|
||||
if (!$this->empty_string($dom[$key]['thead'])) {
|
||||
// set table header
|
||||
$this->thead = $dom[$key]['thead'];
|
||||
if (!isset($this->theadMargins) OR (empty($this->theadMargins))) {
|
||||
$this->theadMargins = array();
|
||||
$this->theadMargins['cmargin'] = $this->cMargin;
|
||||
}
|
||||
$this->inthead = true;
|
||||
}
|
||||
}
|
||||
if (isset($tag['attribute']['cellpadding'])) {
|
||||
@ -14280,6 +14311,11 @@ if (!class_exists('TCPDF', false)) {
|
||||
case 'tr': {
|
||||
// array of columns positions
|
||||
$dom[$key]['cellpos'] = array();
|
||||
if (isset($tag['thead']) AND $tag['thead']) {
|
||||
$this->inthead = true;
|
||||
} else {
|
||||
$this->inthead = false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 'hr': {
|
||||
@ -15014,9 +15050,11 @@ if (!class_exists('TCPDF', false)) {
|
||||
$this->tMargin = $this->theadMargins['top'];
|
||||
$this->pagedim[$this->page]['tm'] = $this->tMargin;
|
||||
}
|
||||
// reset table header
|
||||
$this->thead = '';
|
||||
$this->theadMargins = array();
|
||||
if (!isset($table_el['attribute']['nested']) OR ($table_el['attribute']['nested'] != 'true')) {
|
||||
// reset main table header
|
||||
$this->thead = '';
|
||||
$this->theadMargins = array();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user