30
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-06-06 07:40:48 +00:00
This commit is contained in:
nicolaasuni 2010-08-11 23:48:36 +02:00
parent 28d22a0e04
commit 48c32bba77
23 changed files with 1095 additions and 642 deletions

View File

@ -1,3 +1,13 @@
5.8.000 (2010-08-11)
- A control to avoid bookmarking page 0 was added.
- addTOC() method now includes support for multicolumn mode.
- Support for tables in multicolumn mode was improved.
- Example n.10 was updated.
- All trimming functions were replaced with stringLeftTrim(), stringRightTrim() and stringTrim().
- HTML alignments were improved.
------------------------------------------------------------
5.7.003 (2010-08-08)
- Bug #3041263 "php source ending is bad" was fixed (all PHP files were updated, including fonts).

View File

@ -8,8 +8,8 @@ http: sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------
Name: TCPDF
Version: 5.7.003
Release date: 2010-08-08
Version: 5.8.000
Release date: 2010-08-11
Author: Nicola Asuni
Copyright (c) 2002-2010:

View File

@ -60,7 +60,7 @@
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -1003,7 +1003,7 @@ $code)</code>
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -5551,7 +5551,7 @@ $frame)</code>
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

File diff suppressed because it is too large Load Diff

View File

@ -299,7 +299,7 @@ $type)</code>
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -1377,7 +1377,7 @@ $type)</code>
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -105,7 +105,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -105,7 +105,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -542,7 +542,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:59 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:29 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -97,7 +97,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -157,7 +157,7 @@ Class to create PDF417 barcode arrays for TCPDF class.<br /><br /><p>PDF417 (ISO
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -480,7 +480,7 @@ string $string, [int $split_length = 1])</code>
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -82,7 +82,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>
</tr>
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>5.7.003</td>
<td><b>version:</b>&nbsp;&nbsp;</td><td>5.8.000</td>
</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>
@ -113,7 +113,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 5.7.003 (http://www.tcpdf.org)'</code>
<code>PDF_PRODUCER = 'TCPDF 5.8.000 (http://www.tcpdf.org)'</code>
</td></tr></table>
</td></tr></table>
@ -124,7 +124,7 @@ unicode data<br /><br /></div>
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:55 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -246,7 +246,7 @@ Unicode data for TCPDF library.<br /><br /><br /><br />
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:59 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:29 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -249,6 +249,8 @@
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$columns">TCPDF::$columns</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array of column measures (width, space, starting Y position)</dd>
<dt><b>$column_start_page</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$column_start_page">TCPDF::$column_start_page</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Starting page for columns</dd>
<dt><b>$colxshift</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$colxshift">TCPDF::$colxshift</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array of: X difference between table cell x start and starting page margin, cellspacing, cellpadding</dd>
<dt><b>$compress</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$compress">TCPDF::$compress</a></dd>
<dt><b>$CoreFonts</b></dt>
@ -997,6 +999,8 @@
<div>
<h2>m</h2>
<dl>
<dt><b>$maxselcol</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$maxselcol">TCPDF::$maxselcol</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Maximum page and column selected</dd>
<dt><b>makeMask</b></dt>
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodmakeMask">QRcode::makeMask()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;makeMask</dd>
<dt><b>makeMaskNo</b></dt>
@ -1450,10 +1454,10 @@
<dt><b>SetAutoPageBreak</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetAutoPageBreak">TCPDF::SetAutoPageBreak()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.</dd>
<dt><b>setBarcode</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodsetBarcode">TCPDFBarcode::setBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set the barcode.</dd>
<dt><b>setBarcode</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetBarcode">TCPDF::setBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set document barcode.</dd>
<dt><b>setBarcode</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodsetBarcode">TCPDFBarcode::setBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set the barcode.</dd>
<dt><b>setBarcode</b></dt>
<dd>in file 2dbarcodes.php, method <a href="com-tecnick-tcpdf/TCPDF2DBarcode.html#methodsetBarcode">TCPDF2DBarcode::setBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set the barcode.</dd>
<dt><b>SetBooklet</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetBooklet">TCPDF::SetBooklet()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set the booklet mode for double-sided pages.</dd>
@ -1647,6 +1651,12 @@
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodStartTransform">TCPDF::StartTransform()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Starts a 2D tranformation saving current graphic state.</dd>
<dt><b>StopTransform</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodStopTransform">TCPDF::StopTransform()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Stops a 2D tranformation restoring previous graphic state.</dd>
<dt><b>stringLeftTrim</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstringLeftTrim">TCPDF::stringLeftTrim()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Left trim the input string</dd>
<dt><b>stringRightTrim</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstringRightTrim">TCPDF::stringRightTrim()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Right trim the input string</dd>
<dt><b>stringTrim</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstringTrim">TCPDF::stringTrim()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Trim the input string</dd>
<dt><b>STRUCTURE_HEADER_BITS</b></dt>
<dd>in file qrcode.php, constant <a href="com-tecnick-tcpdf/_qrcode.php.html#defineSTRUCTURE_HEADER_BITS">STRUCTURE_HEADER_BITS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Number of header bits for structured mode</dd>
<dt><b>str_split</b></dt>
@ -2028,7 +2038,7 @@
<a href="elementindex.html#top">top</a><br>
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:23 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -443,6 +443,8 @@
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$columns">TCPDF::$columns</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array of column measures (width, space, starting Y position)</dd>
<dt><b>$column_start_page</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$column_start_page">TCPDF::$column_start_page</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Starting page for columns</dd>
<dt><b>$colxshift</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$colxshift">TCPDF::$colxshift</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Array of: X difference between table cell x start and starting page margin, cellspacing, cellpadding</dd>
<dt><b>$compress</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$compress">TCPDF::$compress</a></dd>
<dt><b>$CoreFonts</b></dt>
@ -1191,6 +1193,8 @@
<div>
<h2>m</h2>
<dl>
<dt><b>$maxselcol</b></dt>
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$maxselcol">TCPDF::$maxselcol</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Maximum page and column selected</dd>
<dt><b>makeMask</b></dt>
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodmakeMask">QRcode::makeMask()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;makeMask</dd>
<dt><b>makeMaskNo</b></dt>
@ -1644,10 +1648,10 @@
<dt><b>SetAutoPageBreak</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetAutoPageBreak">TCPDF::SetAutoPageBreak()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.</dd>
<dt><b>setBarcode</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodsetBarcode">TCPDFBarcode::setBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set the barcode.</dd>
<dt><b>setBarcode</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetBarcode">TCPDF::setBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set document barcode.</dd>
<dt><b>setBarcode</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodsetBarcode">TCPDFBarcode::setBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set the barcode.</dd>
<dt><b>setBarcode</b></dt>
<dd>in file 2dbarcodes.php, method <a href="com-tecnick-tcpdf/TCPDF2DBarcode.html#methodsetBarcode">TCPDF2DBarcode::setBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set the barcode.</dd>
<dt><b>SetBooklet</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetBooklet">TCPDF::SetBooklet()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set the booklet mode for double-sided pages.</dd>
@ -1841,6 +1845,12 @@
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodStartTransform">TCPDF::StartTransform()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Starts a 2D tranformation saving current graphic state.</dd>
<dt><b>StopTransform</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodStopTransform">TCPDF::StopTransform()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Stops a 2D tranformation restoring previous graphic state.</dd>
<dt><b>stringLeftTrim</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstringLeftTrim">TCPDF::stringLeftTrim()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Left trim the input string</dd>
<dt><b>stringRightTrim</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstringRightTrim">TCPDF::stringRightTrim()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Right trim the input string</dd>
<dt><b>stringTrim</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstringTrim">TCPDF::stringTrim()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Trim the input string</dd>
<dt><b>STRUCTURE_HEADER_BITS</b></dt>
<dd>in file qrcode.php, constant <a href="com-tecnick-tcpdf/_qrcode.php.html#defineSTRUCTURE_HEADER_BITS">STRUCTURE_HEADER_BITS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Number of header bits for structured mode</dd>
<dt><b>str_split</b></dt>
@ -2060,7 +2070,7 @@
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:23 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -35,7 +35,7 @@
<a href="#Post-parsing">Post-parsing</a><br>
<div class="credit">
<hr />
Documentation generated on Sun, 08 Aug 2010 12:32:59 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:29 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -67,7 +67,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 Sun, 08 Aug 2010 12:32:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:23 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -67,7 +67,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 Sun, 08 Aug 2010 12:32:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Wed, 11 Aug 2010 23:48:23 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>

View File

@ -2,7 +2,7 @@
//============================================================+
// File name : example_010.php
// Begin : 2008-03-04
// Last Update : 2010-08-08
// Last Update : 2010-08-11
//
// Description : Example 010 for TCPDF class
// Text on multiple columns
@ -94,7 +94,7 @@ class MC_TCPDF extends TCPDF {
$this->writeHTML($content, true, false, true, false, 'J');
} else {
// ------ TEXT MODE ------
$this->Write(0, $content, '', 0, 'J', true, 0, false, false, 0);
$this->Write(0, $content, '', 0, 'J', true, 0, false, true, 0);
}
$this->Ln();
}

629
tcpdf.php

File diff suppressed because it is too large Load Diff