mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-25 22:07:33 +00:00
4.8.029
This commit is contained in:
parent
0b5b945bdb
commit
b4c68becde
@ -1,3 +1,7 @@
|
||||
4.8.029 (2010-01-27)
|
||||
- Bug item #2941057 "TOC Error in PDF File Output" was fixed.
|
||||
- Some text alignment cases were fixed.
|
||||
|
||||
4.8.028 (2010-01-26)
|
||||
- Text alignment for RTL mode was fixed.
|
||||
|
||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 4.8.028
|
||||
Release date: 2010-01-26
|
||||
Version: 4.8.029
|
||||
Release date: 2010-01-27
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2001-2010:
|
||||
|
@ -45,7 +45,7 @@
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:32 +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.028</li>
|
||||
<li>4.8.029</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -633,7 +633,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.028</td>
|
||||
<td><b>version:</b> </td><td>4.8.029</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>link:</b> </td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
|
||||
@ -6298,7 +6298,7 @@ $style = -1])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodaddHTMLVertSpace"></a>
|
||||
<h3>method addHTMLVertSpace <span class="smalllinenumber">[line 15102]</span></h3>
|
||||
<h3>method addHTMLVertSpace <span class="smalllinenumber">[line 15100]</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">
|
||||
@ -6560,7 +6560,7 @@ $k)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodaddTOC"></a>
|
||||
<h3>method addTOC <span class="smalllinenumber">[line 16125]</span></h3>
|
||||
<h3>method addTOC <span class="smalllinenumber">[line 16124]</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">
|
||||
@ -6573,7 +6573,7 @@ $toc_name = 'TOC'])</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
Output a Table of Content Index (TOC).<br /><br /><p>You can override this method to achieve different styles.</p><br /><br /><br />
|
||||
Output a Table of Content Index (TOC).<br /><br /><p>After calling this method you have to call addPage() to add other content. You can override this method to achieve different styles.</p><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
@ -7518,7 +7518,7 @@ $h)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodcloseHTMLTagHandler"></a>
|
||||
<h3>method closeHTMLTagHandler <span class="smalllinenumber">[line 14749]</span></h3>
|
||||
<h3>method closeHTMLTagHandler <span class="smalllinenumber">[line 14747]</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">
|
||||
@ -7662,7 +7662,7 @@ $js = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodcommitTransaction"></a>
|
||||
<h3>method commitTransaction <span class="smalllinenumber">[line 16284]</span></h3>
|
||||
<h3>method commitTransaction <span class="smalllinenumber">[line 16282]</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">
|
||||
@ -7933,7 +7933,7 @@ $fill_color = array()])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methoddeletePage"></a>
|
||||
<h3>method deletePage <span class="smalllinenumber">[line 15984]</span></h3>
|
||||
<h3>method deletePage <span class="smalllinenumber">[line 15982]</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">
|
||||
@ -8092,7 +8092,7 @@ $afinish:)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodempty_string"></a>
|
||||
<h3>method empty_string <span class="smalllinenumber">[line 16338]</span></h3>
|
||||
<h3>method empty_string <span class="smalllinenumber">[line 16336]</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">
|
||||
@ -8641,7 +8641,7 @@ $pagenum = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodgetBuffer"></a>
|
||||
<h3>method getBuffer <span class="smalllinenumber">[line 15670]</span></h3>
|
||||
<h3>method getBuffer <span class="smalllinenumber">[line 15668]</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">
|
||||
@ -8841,7 +8841,7 @@ $char)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodgetFontBuffer"></a>
|
||||
<h3>method getFontBuffer <span class="smalllinenumber">[line 15830]</span></h3>
|
||||
<h3>method getFontBuffer <span class="smalllinenumber">[line 15828]</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">
|
||||
@ -9164,7 +9164,7 @@ $v)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodgetGraphicVars"></a>
|
||||
<h3>method getGraphicVars <span class="smalllinenumber">[line 15538]</span></h3>
|
||||
<h3>method getGraphicVars <span class="smalllinenumber">[line 15536]</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">
|
||||
@ -9380,7 +9380,7 @@ $html)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodgetHTMLUnitToUnits"></a>
|
||||
<h3>method getHTMLUnitToUnits <span class="smalllinenumber">[line 15257]</span></h3>
|
||||
<h3>method getHTMLUnitToUnits <span class="smalllinenumber">[line 15255]</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">
|
||||
@ -9446,7 +9446,7 @@ $point)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodgetImageBuffer"></a>
|
||||
<h3>method getImageBuffer <span class="smalllinenumber">[line 15772]</span></h3>
|
||||
<h3>method getImageBuffer <span class="smalllinenumber">[line 15770]</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">
|
||||
@ -9834,7 +9834,7 @@ $w = 0])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodgetObjFilename"></a>
|
||||
<h3>method getObjFilename <span class="smalllinenumber">[line 15602]</span></h3>
|
||||
<h3>method getObjFilename <span class="smalllinenumber">[line 15600]</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">
|
||||
@ -9944,7 +9944,7 @@ $prefix)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodgetPageBuffer"></a>
|
||||
<h3>method getPageBuffer <span class="smalllinenumber">[line 15713]</span></h3>
|
||||
<h3>method getPageBuffer <span class="smalllinenumber">[line 15711]</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">
|
||||
@ -10957,7 +10957,7 @@ $script)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodintToRoman"></a>
|
||||
<h3>method intToRoman <span class="smalllinenumber">[line 15331]</span></h3>
|
||||
<h3>method intToRoman <span class="smalllinenumber">[line 15329]</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">
|
||||
@ -11609,7 +11609,7 @@ $y = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodmovePage"></a>
|
||||
<h3>method movePage <span class="smalllinenumber">[line 15847]</span></h3>
|
||||
<h3>method movePage <span class="smalllinenumber">[line 15845]</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">
|
||||
@ -11783,7 +11783,7 @@ $maxh = 0])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodobjclone"></a>
|
||||
<h3>method objclone <span class="smalllinenumber">[line 16327]</span></h3>
|
||||
<h3>method objclone <span class="smalllinenumber">[line 16325]</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">
|
||||
@ -11856,7 +11856,7 @@ $object)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodopenHTMLTagHandler"></a>
|
||||
<h3>method openHTMLTagHandler <span class="smalllinenumber">[line 14204]</span></h3>
|
||||
<h3>method openHTMLTagHandler <span class="smalllinenumber">[line 14202]</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">
|
||||
@ -12365,7 +12365,7 @@ $closed)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodputHtmlListBullet"></a>
|
||||
<h3>method putHtmlListBullet <span class="smalllinenumber">[line 15396]</span></h3>
|
||||
<h3>method putHtmlListBullet <span class="smalllinenumber">[line 15394]</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">
|
||||
@ -12584,7 +12584,7 @@ $js = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodreadDiskCache"></a>
|
||||
<h3>method readDiskCache <span class="smalllinenumber">[line 15642]</span></h3>
|
||||
<h3>method readDiskCache <span class="smalllinenumber">[line 15640]</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">
|
||||
@ -12914,7 +12914,7 @@ $length)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodrollbackTransaction"></a>
|
||||
<h3>method rollbackTransaction <span class="smalllinenumber">[line 16298]</span></h3>
|
||||
<h3>method rollbackTransaction <span class="smalllinenumber">[line 16296]</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">
|
||||
@ -13490,7 +13490,7 @@ $bc = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodSetBooklet"></a>
|
||||
<h3>method SetBooklet <span class="smalllinenumber">[line 15171]</span></h3>
|
||||
<h3>method SetBooklet <span class="smalllinenumber">[line 15169]</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">
|
||||
@ -13541,7 +13541,7 @@ $outer = -1])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetBuffer"></a>
|
||||
<h3>method setBuffer <span class="smalllinenumber">[line 15652]</span></h3>
|
||||
<h3>method setBuffer <span class="smalllinenumber">[line 15650]</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">
|
||||
@ -14309,7 +14309,7 @@ $fontfile = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetFontBuffer"></a>
|
||||
<h3>method setFontBuffer <span class="smalllinenumber">[line 15788]</span></h3>
|
||||
<h3>method setFontBuffer <span class="smalllinenumber">[line 15786]</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">
|
||||
@ -14396,7 +14396,7 @@ $size)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetFontSubBuffer"></a>
|
||||
<h3>method setFontSubBuffer <span class="smalllinenumber">[line 15810]</span></h3>
|
||||
<h3>method setFontSubBuffer <span class="smalllinenumber">[line 15808]</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">
|
||||
@ -14592,7 +14592,7 @@ $prop = array()])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetGraphicVars"></a>
|
||||
<h3>method setGraphicVars <span class="smalllinenumber">[line 15569]</span></h3>
|
||||
<h3>method setGraphicVars <span class="smalllinenumber">[line 15567]</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">
|
||||
@ -14788,7 +14788,7 @@ $hm = 10])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetHtmlLinksStyle"></a>
|
||||
<h3>method setHtmlLinksStyle <span class="smalllinenumber">[line 15242]</span></h3>
|
||||
<h3>method setHtmlLinksStyle <span class="smalllinenumber">[line 15240]</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">
|
||||
@ -14833,7 +14833,7 @@ $fontstyle = 'U'])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetHtmlVSpace"></a>
|
||||
<h3>method setHtmlVSpace <span class="smalllinenumber">[line 15211]</span></h3>
|
||||
<h3>method setHtmlVSpace <span class="smalllinenumber">[line 15209]</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">
|
||||
@ -14872,7 +14872,7 @@ $tagvs)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetImageBuffer"></a>
|
||||
<h3>method setImageBuffer <span class="smalllinenumber">[line 15729]</span></h3>
|
||||
<h3>method setImageBuffer <span class="smalllinenumber">[line 15727]</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">
|
||||
@ -14959,7 +14959,7 @@ $scale)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetImageSubBuffer"></a>
|
||||
<h3>method setImageSubBuffer <span class="smalllinenumber">[line 15752]</span></h3>
|
||||
<h3>method setImageSubBuffer <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">
|
||||
@ -15356,7 +15356,7 @@ $page = -1])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetListIndentWidth"></a>
|
||||
<h3>method setListIndentWidth <span class="smalllinenumber">[line 15221]</span></h3>
|
||||
<h3>method setListIndentWidth <span class="smalllinenumber">[line 15219]</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">
|
||||
@ -15395,7 +15395,7 @@ $width)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetLIsymbol"></a>
|
||||
<h3>method setLIsymbol <span class="smalllinenumber">[line 15131]</span></h3>
|
||||
<h3>method setLIsymbol <span class="smalllinenumber">[line 15129]</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">
|
||||
@ -15488,7 +15488,7 @@ $right = -1])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetOpenCell"></a>
|
||||
<h3>method setOpenCell <span class="smalllinenumber">[line 15231]</span></h3>
|
||||
<h3>method setOpenCell <span class="smalllinenumber">[line 15229]</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">
|
||||
@ -15575,7 +15575,7 @@ $resetmargins = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetPageBuffer"></a>
|
||||
<h3>method setPageBuffer <span class="smalllinenumber">[line 15686]</span></h3>
|
||||
<h3>method setPageBuffer <span class="smalllinenumber">[line 15684]</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">
|
||||
@ -17204,7 +17204,7 @@ $page = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodstartTransaction"></a>
|
||||
<h3>method startTransaction <span class="smalllinenumber">[line 16268]</span></h3>
|
||||
<h3>method startTransaction <span class="smalllinenumber">[line 16266]</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">
|
||||
@ -17294,7 +17294,7 @@ $page = ''])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodswapMargins"></a>
|
||||
<h3>method swapMargins <span class="smalllinenumber">[line 15187]</span></h3>
|
||||
<h3>method swapMargins <span class="smalllinenumber">[line 15185]</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">
|
||||
@ -18560,7 +18560,7 @@ $code)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodwriteDiskCache"></a>
|
||||
<h3>method writeDiskCache <span class="smalllinenumber">[line 15614]</span></h3>
|
||||
<h3>method writeDiskCache <span class="smalllinenumber">[line 15612]</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">
|
||||
@ -21137,7 +21137,7 @@ $file)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:33 +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 Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:32 +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 Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:32 +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 Tue, 26 Jan 2010 20:05:40 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:35 +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 Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:33 +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.028</td>
|
||||
<td><b>version:</b> </td><td>4.8.029</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.028 (http://www.tcpdf.org)'</code>
|
||||
<code>PDF_PRODUCER = 'TCPDF 4.8.029 (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 Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:33 +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 Tue, 26 Jan 2010 20:05:40 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:35 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -1454,7 +1454,7 @@
|
||||
<a href="elementindex.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:32 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -1477,7 +1477,7 @@
|
||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:32 +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 Tue, 26 Jan 2010 20:05:40 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:35 +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 Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:32 +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 Tue, 26 Jan 2010 20:05:37 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 27 Jan 2010 20:23:32 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//============================================================+
|
||||
// File name : example_045.php
|
||||
// Begin : 2008-03-04
|
||||
// Last Update : 2009-10-21
|
||||
// Last Update : 2010-01-27
|
||||
//
|
||||
// Description : Example 045 for TCPDF class
|
||||
// Bookmarks and Table of Content
|
||||
@ -118,6 +118,8 @@ $pdf->SetFont('dejavusans', '', 12);
|
||||
// add table of content at page 1
|
||||
$pdf->addTOC(1, 'courier', '.', 'INDEX');
|
||||
|
||||
// IMPORTANT: After calling this method you have to call addPage() to add other content.
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
//Close and output PDF document
|
||||
|
28
tcpdf.php
28
tcpdf.php
@ -2,9 +2,9 @@
|
||||
//============================================================+
|
||||
// File name : tcpdf.php
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2010-01-26
|
||||
// Last Update : 2010-01-27
|
||||
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
|
||||
// Version : 4.8.028
|
||||
// Version : 4.8.029
|
||||
// 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.028
|
||||
* @version 4.8.029
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -152,14 +152,14 @@ if (!class_exists('TCPDF', false)) {
|
||||
/**
|
||||
* define default PDF document producer
|
||||
*/
|
||||
define('PDF_PRODUCER', 'TCPDF 4.8.028 (http://www.tcpdf.org)');
|
||||
define('PDF_PRODUCER', 'TCPDF 4.8.029 (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.028
|
||||
* @version 4.8.029
|
||||
* @author Nicola Asuni - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
@ -13523,7 +13523,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
} elseif (($plalign == 'J') AND ($plalign == $lalign)) {
|
||||
// Justification
|
||||
if ($this->isRTLTextDir()) {
|
||||
$t_x = $this->lMargin - $this->endlinex;
|
||||
$t_x = $this->lMargin - $this->endlinex + $this->cMargin;
|
||||
}
|
||||
$one_space_width = $this->GetStringWidth(chr(32));
|
||||
$no = 0; // spaces without trim
|
||||
@ -13558,9 +13558,6 @@ if (!class_exists('TCPDF', false)) {
|
||||
$lnstring[4][$kk] = $no;
|
||||
$lnstring[5][$kk] = $ns;
|
||||
}
|
||||
if ($this->isRTLTextDir()) {
|
||||
$t_x = $this->lMargin - $this->endlinex - (($no - $ns - 1) * $one_space_width);
|
||||
}
|
||||
// calculate additional space to add to each space
|
||||
$spacelen = $one_space_width;
|
||||
$spacewidth = ((($tw - $linew) + (($no - $ns) * $spacelen)) / ($ns?$ns:1)) * $this->k;
|
||||
@ -13797,7 +13794,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
}
|
||||
if (isset($dom[$key]['attribute']['nested']) AND ($dom[$key]['attribute']['nested'] == 'true')) {
|
||||
// add margin for nested tables
|
||||
$wtmp -= $this->cMargin; // DEBUG
|
||||
$wtmp -= $this->cMargin;
|
||||
}
|
||||
// table width
|
||||
if (isset($dom[$key]['width'])) {
|
||||
@ -14046,8 +14043,6 @@ if (!class_exists('TCPDF', false)) {
|
||||
// HTML <a> Link
|
||||
$strrest = $this->addHtmlLink($this->HREF['url'], $dom[$key]['value'], $wfill, true, $this->HREF['color'], $this->HREF['style']);
|
||||
} else {
|
||||
$ctmpmargin = $this->cMargin;
|
||||
$this->cMargin = 0;
|
||||
if ($this->rtl) {
|
||||
$this->x -= $this->textindent;
|
||||
} else {
|
||||
@ -14056,7 +14051,6 @@ if (!class_exists('TCPDF', false)) {
|
||||
// ****** write only until the end of the line and get the rest ******
|
||||
$strrest = $this->Write($this->lasth, $dom[$key]['value'], '', $wfill, '', false, 0, true, $firstblock);
|
||||
$this->textindent = 0;
|
||||
$this->cMargin = $ctmpmargin;
|
||||
}
|
||||
if (strlen($strrest) > 0) {
|
||||
// store the remaining string on the previous $key position
|
||||
@ -14144,6 +14138,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
$tw += ($prevrMargin - $this->rMargin);
|
||||
}
|
||||
$mdiff = abs($tw - $linew);
|
||||
$t_x = 0;
|
||||
if ($plalign == 'C') {
|
||||
if ($this->rtl) {
|
||||
$t_x = -($mdiff / 2);
|
||||
@ -14156,8 +14151,11 @@ if (!class_exists('TCPDF', false)) {
|
||||
} elseif (($plalign == 'L') AND ($this->rtl)) {
|
||||
// left alignment on RTL document
|
||||
$t_x = -$mdiff;
|
||||
} else {
|
||||
} elseif (($plalign == 'J') AND ($plalign == $lalign)) {
|
||||
// Justification
|
||||
$t_x = 0;
|
||||
} else {
|
||||
$t_x = -$this->cMargin;
|
||||
}
|
||||
if (($t_x != 0) OR ($yshift < 0)) {
|
||||
// shift the line
|
||||
@ -16113,6 +16111,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
|
||||
/**
|
||||
* Output a Table of Content Index (TOC).
|
||||
* After calling this method you have to call addPage() to add other content.
|
||||
* You can override this method to achieve different styles.
|
||||
* @param int $page page number where this TOC should be inserted (leave empty for current page).
|
||||
* @param string $numbersfont set the font for page numbers (please use monospaced font for better alignment).
|
||||
@ -16257,7 +16256,6 @@ if (!class_exists('TCPDF', false)) {
|
||||
$this->movePage($page_last, $page);
|
||||
}
|
||||
}
|
||||
$this->SetFont($fontfamily, $fontstyle, $fontsize);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user