mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-26 14:26:28 +00:00
5.7.000
This commit is contained in:
parent
e137edbf4f
commit
a845719a9f
@ -1,3 +1,10 @@
|
|||||||
|
5.7.000 (2010-08-03)
|
||||||
|
- CSS borders are now supported for HTML tables and other block tags (see example n. 61);
|
||||||
|
- Cell borders were improved (see example n. 57);
|
||||||
|
- Minor bugs were fixed.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
5.6.000 (2010-07-31)
|
5.6.000 (2010-07-31)
|
||||||
- A bug with object IDs was fixes.
|
- A bug with object IDs was fixes.
|
||||||
- Performances were improved.
|
- Performances were improved.
|
||||||
|
@ -8,8 +8,8 @@ http: sourceforge.net/donate/index.php?group_id=128076
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Name: TCPDF
|
Name: TCPDF
|
||||||
Version: 5.6.000
|
Version: 5.7.000
|
||||||
Release date: 2010-07-31
|
Release date: 2010-08-03
|
||||||
Author: Nicola Asuni
|
Author: Nicola Asuni
|
||||||
|
|
||||||
Copyright (c) 2002-2010:
|
Copyright (c) 2002-2010:
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -1003,7 +1003,7 @@ $code)</code>
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -5551,7 +5551,7 @@ $frame)</code>
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -299,7 +299,7 @@ $type)</code>
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -1377,7 +1377,7 @@ $type)</code>
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -105,7 +105,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -105,7 +105,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -542,7 +542,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:17 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:18 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -97,7 +97,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -157,7 +157,7 @@ Class to create PDF417 barcode arrays for TCPDF class.<br /><br /><p>PDF417 (ISO
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -480,7 +480,7 @@ string $string, [int $split_length = 1])</code>
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -82,7 +82,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
|||||||
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>version:</b> </td><td>5.6.000</td>
|
<td><b>version:</b> </td><td>5.7.000</td>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
<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>
|
||||||
@ -113,7 +113,7 @@ unicode data<br /><br /></div>
|
|||||||
<div class="tags">
|
<div class="tags">
|
||||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||||
<code>PDF_PRODUCER = 'TCPDF 5.6.000 (http://www.tcpdf.org)'</code>
|
<code>PDF_PRODUCER = 'TCPDF 5.7.000 (http://www.tcpdf.org)'</code>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ unicode data<br /><br /></div>
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:14 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -246,7 +246,7 @@ Unicode data for TCPDF library.<br /><br /><br /><br />
|
|||||||
|
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:17 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:19 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -152,9 +152,9 @@
|
|||||||
<dt><b>$barcode_array</b></dt>
|
<dt><b>$barcode_array</b></dt>
|
||||||
<dd>in file pdf417.php, variable <a href="com-tecnick-tcpdf/PDF417.html#var$barcode_array">PDF417::$barcode_array</a></dd>
|
<dd>in file pdf417.php, variable <a href="com-tecnick-tcpdf/PDF417.html#var$barcode_array">PDF417::$barcode_array</a></dd>
|
||||||
<dt><b>$barcode_array</b></dt>
|
<dt><b>$barcode_array</b></dt>
|
||||||
<dd>in file barcodes.php, variable <a href="com-tecnick-tcpdf/TCPDFBarcode.html#var$barcode_array">TCPDFBarcode::$barcode_array</a></dd>
|
|
||||||
<dt><b>$barcode_array</b></dt>
|
|
||||||
<dd>in file qrcode.php, variable <a href="com-tecnick-tcpdf/QRcode.html#var$barcode_array">QRcode::$barcode_array</a></dd>
|
<dd>in file qrcode.php, variable <a href="com-tecnick-tcpdf/QRcode.html#var$barcode_array">QRcode::$barcode_array</a></dd>
|
||||||
|
<dt><b>$barcode_array</b></dt>
|
||||||
|
<dd>in file barcodes.php, variable <a href="com-tecnick-tcpdf/TCPDFBarcode.html#var$barcode_array">TCPDFBarcode::$barcode_array</a></dd>
|
||||||
<dt><b>$bgcolor</b></dt>
|
<dt><b>$bgcolor</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bgcolor">TCPDF::$bgcolor</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bgcolor">TCPDF::$bgcolor</a></dd>
|
||||||
<dt><b>$bit</b></dt>
|
<dt><b>$bit</b></dt>
|
||||||
@ -165,6 +165,8 @@
|
|||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bMargin">TCPDF::$bMargin</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bMargin">TCPDF::$bMargin</a></dd>
|
||||||
<dt><b>$booklet</b></dt>
|
<dt><b>$booklet</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$booklet">TCPDF::$booklet</a><br> Booklet mode for double-sided pages</dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$booklet">TCPDF::$booklet</a><br> Booklet mode for double-sided pages</dd>
|
||||||
|
<dt><b>$bordermrk</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bordermrk">TCPDF::$bordermrk</a><br> Array used to store positions inside the pages buffer.</dd>
|
||||||
<dt><b>$buffer</b></dt>
|
<dt><b>$buffer</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd>
|
||||||
<dt><b>$bufferlen</b></dt>
|
<dt><b>$bufferlen</b></dt>
|
||||||
@ -363,6 +365,8 @@
|
|||||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methoddec_to_hex">TCPDFBarcode::dec_to_hex()</a><br> Convert large integer number to hexadecimal representation.</dd>
|
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methoddec_to_hex">TCPDFBarcode::dec_to_hex()</a><br> Convert large integer number to hexadecimal representation.</dd>
|
||||||
<dt><b>deletePage</b></dt>
|
<dt><b>deletePage</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methoddeletePage">TCPDF::deletePage()</a><br> Remove the specified page.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methoddeletePage">TCPDF::deletePage()</a><br> Remove the specified page.</dd>
|
||||||
|
<dt><b>drawHTMLTagBorder</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methoddrawHTMLTagBorder">TCPDF::drawHTMLTagBorder()</a><br> Draw an HTML block border and fill</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<a href="elementindex.html#top">top</a><br>
|
<a href="elementindex.html#top">top</a><br>
|
||||||
@ -548,23 +552,27 @@
|
|||||||
<dt><b>getBarcode</b></dt>
|
<dt><b>getBarcode</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBarcode">TCPDF::getBarcode()</a><br> Get current barcode.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBarcode">TCPDF::getBarcode()</a><br> Get current barcode.</dd>
|
||||||
<dt><b>getBarcodeArray</b></dt>
|
<dt><b>getBarcodeArray</b></dt>
|
||||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodgetBarcodeArray">TCPDFBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetBarcodeArray">QRcode::getBarcodeArray()</a><br> Returns a barcode array which is readable by TCPDF</dd>
|
||||||
<dt><b>getBarcodeArray</b></dt>
|
|
||||||
<dd>in file pdf417.php, method <a href="com-tecnick-tcpdf/PDF417.html#methodgetBarcodeArray">PDF417::getBarcodeArray()</a><br> Returns a barcode array which is readable by TCPDF</dd>
|
|
||||||
<dt><b>getBarcodeArray</b></dt>
|
<dt><b>getBarcodeArray</b></dt>
|
||||||
<dd>in file 2dbarcodes.php, method <a href="com-tecnick-tcpdf/TCPDF2DBarcode.html#methodgetBarcodeArray">TCPDF2DBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
<dd>in file 2dbarcodes.php, method <a href="com-tecnick-tcpdf/TCPDF2DBarcode.html#methodgetBarcodeArray">TCPDF2DBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
||||||
<dt><b>getBarcodeArray</b></dt>
|
<dt><b>getBarcodeArray</b></dt>
|
||||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetBarcodeArray">QRcode::getBarcodeArray()</a><br> Returns a barcode array which is readable by TCPDF</dd>
|
<dd>in file pdf417.php, method <a href="com-tecnick-tcpdf/PDF417.html#methodgetBarcodeArray">PDF417::getBarcodeArray()</a><br> Returns a barcode array which is readable by TCPDF</dd>
|
||||||
|
<dt><b>getBarcodeArray</b></dt>
|
||||||
|
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodgetBarcodeArray">TCPDFBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
||||||
<dt><b>getBitStream</b></dt>
|
<dt><b>getBitStream</b></dt>
|
||||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetBitStream">QRcode::getBitStream()</a><br> Returns a stream of bits.</dd>
|
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetBitStream">QRcode::getBitStream()</a><br> Returns a stream of bits.</dd>
|
||||||
<dt><b>getBorderMode</b></dt>
|
<dt><b>getBorderMode</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBorderMode">TCPDF::getBorderMode()</a><br> Get the border mode accounting for multicell position (opens bottom side of multicell crossing pages)</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBorderMode">TCPDF::getBorderMode()</a><br> Get the border mode accounting for multicell position (opens bottom side of multicell crossing pages)</dd>
|
||||||
|
<dt><b>getBorderStartPosition</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBorderStartPosition">TCPDF::getBorderStartPosition()</a><br> Return the starting coordinates to draw an html border</dd>
|
||||||
<dt><b>getBreakMargin</b></dt>
|
<dt><b>getBreakMargin</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBreakMargin">TCPDF::getBreakMargin()</a><br> Returns the page break margin.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBreakMargin">TCPDF::getBreakMargin()</a><br> Returns the page break margin.</dd>
|
||||||
<dt><b>getBuffer</b></dt>
|
<dt><b>getBuffer</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBuffer">TCPDF::getBuffer()</a><br> Get buffer content.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBuffer">TCPDF::getBuffer()</a><br> Get buffer content.</dd>
|
||||||
<dt><b>getByteStream</b></dt>
|
<dt><b>getByteStream</b></dt>
|
||||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetByteStream">QRcode::getByteStream()</a><br> Pack all bit streams padding bits into a byte array.</dd>
|
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetByteStream">QRcode::getByteStream()</a><br> Pack all bit streams padding bits into a byte array.</dd>
|
||||||
|
<dt><b>getCellBorder</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCellBorder">TCPDF::getCellBorder()</a><br> Returns the code to draw the cell border</dd>
|
||||||
<dt><b>getCellCode</b></dt>
|
<dt><b>getCellCode</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCellCode">TCPDF::getCellCode()</a><br> Returns the PDF string code to print a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.<br /> If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCellCode">TCPDF::getCellCode()</a><br> Returns the PDF string code to print a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.<br /> If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.</dd>
|
||||||
<dt><b>getCellHeightRatio</b></dt>
|
<dt><b>getCellHeightRatio</b></dt>
|
||||||
@ -577,6 +585,12 @@
|
|||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetColumn">TCPDF::getColumn()</a><br> Return the current column number</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetColumn">TCPDF::getColumn()</a><br> Return the current column number</dd>
|
||||||
<dt><b>getCompaction</b></dt>
|
<dt><b>getCompaction</b></dt>
|
||||||
<dd>in file pdf417.php, method <a href="com-tecnick-tcpdf/PDF417.html#methodgetCompaction">PDF417::getCompaction()</a><br> Compact data by mode.</dd>
|
<dd>in file pdf417.php, method <a href="com-tecnick-tcpdf/PDF417.html#methodgetCompaction">PDF417::getCompaction()</a><br> Compact data by mode.</dd>
|
||||||
|
<dt><b>getCSSBorderDashStyle</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCSSBorderDashStyle">TCPDF::getCSSBorderDashStyle()</a><br> Returns the border dash style from CSS property</dd>
|
||||||
|
<dt><b>getCSSBorderStyle</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCSSBorderStyle">TCPDF::getCSSBorderStyle()</a><br> Returns the border style array from CSS border properties</dd>
|
||||||
|
<dt><b>getCSSBorderWidth</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCSSBorderWidth">TCPDF::getCSSBorderWidth()</a><br> Returns the border width from CSS property</dd>
|
||||||
<dt><b>getDataLength</b></dt>
|
<dt><b>getDataLength</b></dt>
|
||||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetDataLength">QRcode::getDataLength()</a><br> Return maximum data code length (bytes) for the version.</dd>
|
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetDataLength">QRcode::getDataLength()</a><br> Return maximum data code length (bytes) for the version.</dd>
|
||||||
<dt><b>getECCLength</b></dt>
|
<dt><b>getECCLength</b></dt>
|
||||||
@ -2014,7 +2028,7 @@
|
|||||||
<a href="elementindex.html#top">top</a><br>
|
<a href="elementindex.html#top">top</a><br>
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -346,9 +346,9 @@
|
|||||||
<dt><b>$barcode_array</b></dt>
|
<dt><b>$barcode_array</b></dt>
|
||||||
<dd>in file pdf417.php, variable <a href="com-tecnick-tcpdf/PDF417.html#var$barcode_array">PDF417::$barcode_array</a></dd>
|
<dd>in file pdf417.php, variable <a href="com-tecnick-tcpdf/PDF417.html#var$barcode_array">PDF417::$barcode_array</a></dd>
|
||||||
<dt><b>$barcode_array</b></dt>
|
<dt><b>$barcode_array</b></dt>
|
||||||
<dd>in file barcodes.php, variable <a href="com-tecnick-tcpdf/TCPDFBarcode.html#var$barcode_array">TCPDFBarcode::$barcode_array</a></dd>
|
|
||||||
<dt><b>$barcode_array</b></dt>
|
|
||||||
<dd>in file qrcode.php, variable <a href="com-tecnick-tcpdf/QRcode.html#var$barcode_array">QRcode::$barcode_array</a></dd>
|
<dd>in file qrcode.php, variable <a href="com-tecnick-tcpdf/QRcode.html#var$barcode_array">QRcode::$barcode_array</a></dd>
|
||||||
|
<dt><b>$barcode_array</b></dt>
|
||||||
|
<dd>in file barcodes.php, variable <a href="com-tecnick-tcpdf/TCPDFBarcode.html#var$barcode_array">TCPDFBarcode::$barcode_array</a></dd>
|
||||||
<dt><b>$bgcolor</b></dt>
|
<dt><b>$bgcolor</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bgcolor">TCPDF::$bgcolor</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bgcolor">TCPDF::$bgcolor</a></dd>
|
||||||
<dt><b>$bit</b></dt>
|
<dt><b>$bit</b></dt>
|
||||||
@ -359,6 +359,8 @@
|
|||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bMargin">TCPDF::$bMargin</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bMargin">TCPDF::$bMargin</a></dd>
|
||||||
<dt><b>$booklet</b></dt>
|
<dt><b>$booklet</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$booklet">TCPDF::$booklet</a><br> Booklet mode for double-sided pages</dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$booklet">TCPDF::$booklet</a><br> Booklet mode for double-sided pages</dd>
|
||||||
|
<dt><b>$bordermrk</b></dt>
|
||||||
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$bordermrk">TCPDF::$bordermrk</a><br> Array used to store positions inside the pages buffer.</dd>
|
||||||
<dt><b>$buffer</b></dt>
|
<dt><b>$buffer</b></dt>
|
||||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd>
|
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$buffer">TCPDF::$buffer</a></dd>
|
||||||
<dt><b>$bufferlen</b></dt>
|
<dt><b>$bufferlen</b></dt>
|
||||||
@ -557,6 +559,8 @@
|
|||||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methoddec_to_hex">TCPDFBarcode::dec_to_hex()</a><br> Convert large integer number to hexadecimal representation.</dd>
|
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methoddec_to_hex">TCPDFBarcode::dec_to_hex()</a><br> Convert large integer number to hexadecimal representation.</dd>
|
||||||
<dt><b>deletePage</b></dt>
|
<dt><b>deletePage</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methoddeletePage">TCPDF::deletePage()</a><br> Remove the specified page.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methoddeletePage">TCPDF::deletePage()</a><br> Remove the specified page.</dd>
|
||||||
|
<dt><b>drawHTMLTagBorder</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methoddrawHTMLTagBorder">TCPDF::drawHTMLTagBorder()</a><br> Draw an HTML block border and fill</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||||
@ -742,23 +746,27 @@
|
|||||||
<dt><b>getBarcode</b></dt>
|
<dt><b>getBarcode</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBarcode">TCPDF::getBarcode()</a><br> Get current barcode.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBarcode">TCPDF::getBarcode()</a><br> Get current barcode.</dd>
|
||||||
<dt><b>getBarcodeArray</b></dt>
|
<dt><b>getBarcodeArray</b></dt>
|
||||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodgetBarcodeArray">TCPDFBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetBarcodeArray">QRcode::getBarcodeArray()</a><br> Returns a barcode array which is readable by TCPDF</dd>
|
||||||
<dt><b>getBarcodeArray</b></dt>
|
|
||||||
<dd>in file pdf417.php, method <a href="com-tecnick-tcpdf/PDF417.html#methodgetBarcodeArray">PDF417::getBarcodeArray()</a><br> Returns a barcode array which is readable by TCPDF</dd>
|
|
||||||
<dt><b>getBarcodeArray</b></dt>
|
<dt><b>getBarcodeArray</b></dt>
|
||||||
<dd>in file 2dbarcodes.php, method <a href="com-tecnick-tcpdf/TCPDF2DBarcode.html#methodgetBarcodeArray">TCPDF2DBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
<dd>in file 2dbarcodes.php, method <a href="com-tecnick-tcpdf/TCPDF2DBarcode.html#methodgetBarcodeArray">TCPDF2DBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
||||||
<dt><b>getBarcodeArray</b></dt>
|
<dt><b>getBarcodeArray</b></dt>
|
||||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetBarcodeArray">QRcode::getBarcodeArray()</a><br> Returns a barcode array which is readable by TCPDF</dd>
|
<dd>in file pdf417.php, method <a href="com-tecnick-tcpdf/PDF417.html#methodgetBarcodeArray">PDF417::getBarcodeArray()</a><br> Returns a barcode array which is readable by TCPDF</dd>
|
||||||
|
<dt><b>getBarcodeArray</b></dt>
|
||||||
|
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodgetBarcodeArray">TCPDFBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
||||||
<dt><b>getBitStream</b></dt>
|
<dt><b>getBitStream</b></dt>
|
||||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetBitStream">QRcode::getBitStream()</a><br> Returns a stream of bits.</dd>
|
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetBitStream">QRcode::getBitStream()</a><br> Returns a stream of bits.</dd>
|
||||||
<dt><b>getBorderMode</b></dt>
|
<dt><b>getBorderMode</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBorderMode">TCPDF::getBorderMode()</a><br> Get the border mode accounting for multicell position (opens bottom side of multicell crossing pages)</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBorderMode">TCPDF::getBorderMode()</a><br> Get the border mode accounting for multicell position (opens bottom side of multicell crossing pages)</dd>
|
||||||
|
<dt><b>getBorderStartPosition</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBorderStartPosition">TCPDF::getBorderStartPosition()</a><br> Return the starting coordinates to draw an html border</dd>
|
||||||
<dt><b>getBreakMargin</b></dt>
|
<dt><b>getBreakMargin</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBreakMargin">TCPDF::getBreakMargin()</a><br> Returns the page break margin.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBreakMargin">TCPDF::getBreakMargin()</a><br> Returns the page break margin.</dd>
|
||||||
<dt><b>getBuffer</b></dt>
|
<dt><b>getBuffer</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBuffer">TCPDF::getBuffer()</a><br> Get buffer content.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetBuffer">TCPDF::getBuffer()</a><br> Get buffer content.</dd>
|
||||||
<dt><b>getByteStream</b></dt>
|
<dt><b>getByteStream</b></dt>
|
||||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetByteStream">QRcode::getByteStream()</a><br> Pack all bit streams padding bits into a byte array.</dd>
|
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetByteStream">QRcode::getByteStream()</a><br> Pack all bit streams padding bits into a byte array.</dd>
|
||||||
|
<dt><b>getCellBorder</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCellBorder">TCPDF::getCellBorder()</a><br> Returns the code to draw the cell border</dd>
|
||||||
<dt><b>getCellCode</b></dt>
|
<dt><b>getCellCode</b></dt>
|
||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCellCode">TCPDF::getCellCode()</a><br> Returns the PDF string code to print a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.<br /> If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCellCode">TCPDF::getCellCode()</a><br> Returns the PDF string code to print a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.<br /> If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.</dd>
|
||||||
<dt><b>getCellHeightRatio</b></dt>
|
<dt><b>getCellHeightRatio</b></dt>
|
||||||
@ -771,6 +779,12 @@
|
|||||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetColumn">TCPDF::getColumn()</a><br> Return the current column number</dd>
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetColumn">TCPDF::getColumn()</a><br> Return the current column number</dd>
|
||||||
<dt><b>getCompaction</b></dt>
|
<dt><b>getCompaction</b></dt>
|
||||||
<dd>in file pdf417.php, method <a href="com-tecnick-tcpdf/PDF417.html#methodgetCompaction">PDF417::getCompaction()</a><br> Compact data by mode.</dd>
|
<dd>in file pdf417.php, method <a href="com-tecnick-tcpdf/PDF417.html#methodgetCompaction">PDF417::getCompaction()</a><br> Compact data by mode.</dd>
|
||||||
|
<dt><b>getCSSBorderDashStyle</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCSSBorderDashStyle">TCPDF::getCSSBorderDashStyle()</a><br> Returns the border dash style from CSS property</dd>
|
||||||
|
<dt><b>getCSSBorderStyle</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCSSBorderStyle">TCPDF::getCSSBorderStyle()</a><br> Returns the border style array from CSS border properties</dd>
|
||||||
|
<dt><b>getCSSBorderWidth</b></dt>
|
||||||
|
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetCSSBorderWidth">TCPDF::getCSSBorderWidth()</a><br> Returns the border width from CSS property</dd>
|
||||||
<dt><b>getDataLength</b></dt>
|
<dt><b>getDataLength</b></dt>
|
||||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetDataLength">QRcode::getDataLength()</a><br> Return maximum data code length (bytes) for the version.</dd>
|
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetDataLength">QRcode::getDataLength()</a><br> Return maximum data code length (bytes) for the version.</dd>
|
||||||
<dt><b>getECCLength</b></dt>
|
<dt><b>getECCLength</b></dt>
|
||||||
@ -2046,7 +2060,7 @@
|
|||||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<a href="#Post-parsing">Post-parsing</a><br>
|
<a href="#Post-parsing">Post-parsing</a><br>
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:17 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:19 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||||
<div class="credit">
|
<div class="credit">
|
||||||
<hr />
|
<hr />
|
||||||
Documentation generated on Sat, 31 Jul 2010 14:40:11 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
Documentation generated on Wed, 04 Aug 2010 01:50:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : example_006.php
|
// File name : example_006.php
|
||||||
// Begin : 2008-03-04
|
// Begin : 2008-03-04
|
||||||
// Last Update : 2010-05-20
|
// Last Update : 2010-08-03
|
||||||
//
|
//
|
||||||
// Description : Example 006 for TCPDF class
|
// Description : Example 006 for TCPDF class
|
||||||
// WriteHTML and RTL support
|
// WriteHTML and RTL support
|
||||||
@ -152,10 +152,10 @@ $pdf->lastPage();
|
|||||||
$pdf->AddPage();
|
$pdf->AddPage();
|
||||||
|
|
||||||
// create some HTML content
|
// create some HTML content
|
||||||
$subtable = '<table border="1" cellspacing="1" cellpadding="1"><tr><td>a</td><td>b</td></tr><tr><td>c</td><td>d</td></tr></table>';
|
$subtable = '<table border="1" cellspacing="6" cellpadding="4"><tr><td>a</td><td>b</td></tr><tr><td>c</td><td>d</td></tr></table>';
|
||||||
|
|
||||||
$html = '<h2>HTML TABLE:</h2>
|
$html = '<h2>HTML TABLE:</h2>
|
||||||
<table border="1" cellspacing="2" cellpadding="2">
|
<table border="1" cellspacing="3" cellpadding="4">
|
||||||
<tr>
|
<tr>
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th align="right">RIGHT align</th>
|
<th align="right">RIGHT align</th>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : example_020.php
|
// File name : example_020.php
|
||||||
// Begin : 2008-03-04
|
// Begin : 2008-03-04
|
||||||
// Last Update : 2010-05-20
|
// Last Update : 2010-08-03
|
||||||
//
|
//
|
||||||
// Description : Example 020 for TCPDF class
|
// Description : Example 020 for TCPDF class
|
||||||
// Two columns composed by MultiCell of different
|
// Two columns composed by MultiCell of different
|
||||||
@ -132,7 +132,7 @@ $text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdi
|
|||||||
Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.';
|
Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.';
|
||||||
|
|
||||||
// print some rows just as example
|
// print some rows just as example
|
||||||
for ($i = 0; $i < 7; ++$i) {
|
for ($i = 0; $i < 10; ++$i) {
|
||||||
$pdf->MultiRow('Row '.($i+1), $text."\n");
|
$pdf->MultiRow('Row '.($i+1), $text."\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : example_057.php
|
// File name : example_057.php
|
||||||
// Begin : 2010-04-03
|
// Begin : 2010-04-03
|
||||||
// Last Update : 2010-05-20
|
// Last Update : 2010-08-02
|
||||||
//
|
//
|
||||||
// Description : Example 057 for TCPDF class
|
// Description : Example 057 for TCPDF class
|
||||||
// Cell vertical alignments
|
// Cell vertical alignments
|
||||||
@ -128,6 +128,102 @@ $pdf->Line(15, 120, 195, 120, $linestyle);
|
|||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
// CELL BORDERS
|
||||||
|
|
||||||
|
// add a page
|
||||||
|
$pdf->AddPage();
|
||||||
|
|
||||||
|
$pdf->SetFont('helvetica', 'B', 20);
|
||||||
|
|
||||||
|
$pdf->Write(0, 'Example of borders for Cell()', '', 0, 'L', true, 0, false, false, 0);
|
||||||
|
|
||||||
|
$pdf->SetFont('helvetica', '', 11);
|
||||||
|
|
||||||
|
// set border width
|
||||||
|
$pdf->SetLineWidth(1);
|
||||||
|
|
||||||
|
// set color for cell border
|
||||||
|
$pdf->SetDrawColor(0,128,255);
|
||||||
|
|
||||||
|
// set filling color
|
||||||
|
$pdf->SetFillColor(255,255,128);
|
||||||
|
|
||||||
|
$pdf->Cell(30, 0, '1', 1, 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'LTRB', 'LTRB', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'LTR', 'LTR', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'TRB', 'TRB', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'LRB', 'LRB', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'LTB', 'LTB', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'LT', 'LT', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'TR', 'TR', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'RB', 'RB', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'LB', 'LB', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'LR', 'LR', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'TB', 'TB', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'L', 'L', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'T', 'T', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'R', 'R', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(2);
|
||||||
|
$pdf->Cell(30, 0, 'B', 'B', 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
|
||||||
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
// ADVANCED SETTINGS FOR CELL BORDERS
|
||||||
|
|
||||||
|
// add a page
|
||||||
|
$pdf->AddPage();
|
||||||
|
|
||||||
|
$pdf->SetFont('helvetica', 'B', 20);
|
||||||
|
|
||||||
|
$pdf->Write(0, 'Example of advanced border settings for Cell()', '', 0, 'L', true, 0, false, false, 0);
|
||||||
|
|
||||||
|
$pdf->SetFont('helvetica', '', 11);
|
||||||
|
|
||||||
|
// set border width
|
||||||
|
$pdf->SetLineWidth(1);
|
||||||
|
|
||||||
|
// set color for cell border
|
||||||
|
$pdf->SetDrawColor(0,128,255);
|
||||||
|
|
||||||
|
// set filling color
|
||||||
|
$pdf->SetFillColor(255,255,128);
|
||||||
|
|
||||||
|
$border = array('LTRB' => array('width' => 2, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0)));
|
||||||
|
$pdf->Cell(30, 0, 'LTRB', $border, 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(5);
|
||||||
|
|
||||||
|
$border = array(
|
||||||
|
'L' => array('width' => 2, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0)),
|
||||||
|
'R' => array('width' => 2, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 255)),
|
||||||
|
'T' => array('width' => 2, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 255, 0)),
|
||||||
|
'B' => array('width' => 2, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 255)));
|
||||||
|
$pdf->Cell(30, 0, 'LTRB', $border, 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(5);
|
||||||
|
|
||||||
|
$border = array('mode' => 'ext', 'LTRB' => array('width' => 2, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0)));
|
||||||
|
$pdf->Cell(30, 0, 'LTRB EXT', $border, 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(5);
|
||||||
|
|
||||||
|
$border = array('mode' => 'int', 'LTRB' => array('width' => 2, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0)));
|
||||||
|
$pdf->Cell(30, 0, 'LTRB INT', $border, 1, 'C', 1, '', 0, false, 'T', 'C');
|
||||||
|
$pdf->Ln(5);
|
||||||
|
|
||||||
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
// reset pointer to the last page
|
// reset pointer to the last page
|
||||||
$pdf->lastPage();
|
$pdf->lastPage();
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : example_061.php
|
// File name : example_061.php
|
||||||
// Begin : 2010-05-24
|
// Begin : 2010-05-24
|
||||||
// Last Update : 2010-05-25
|
// Last Update : 2010-08-03
|
||||||
//
|
//
|
||||||
// Description : Example 061 for TCPDF class
|
// Description : Example 061 for TCPDF class
|
||||||
// XHTML + CSS
|
// XHTML + CSS
|
||||||
@ -114,6 +114,33 @@ $html = <<<EOF
|
|||||||
p#second > span {
|
p#second > span {
|
||||||
background-color: #FFFFAA;
|
background-color: #FFFFAA;
|
||||||
}
|
}
|
||||||
|
table.first {
|
||||||
|
color: #003300;
|
||||||
|
font-family: helvetica;
|
||||||
|
font-size: 8pt;
|
||||||
|
border-left: 3px solid red;
|
||||||
|
border-right: 3px solid #FF00FF;
|
||||||
|
border-top: 3px solid green;
|
||||||
|
border-bottom: 3px solid blue;
|
||||||
|
background-color: #ccffcc;
|
||||||
|
}
|
||||||
|
td {
|
||||||
|
border: 2px solid blue;
|
||||||
|
background-color: #ffffee;
|
||||||
|
}
|
||||||
|
td.second {
|
||||||
|
border: 2px dashed green;
|
||||||
|
}
|
||||||
|
div.test {
|
||||||
|
color: #CC0000;
|
||||||
|
background-color: #FFFF66;
|
||||||
|
font-family: helvetica;
|
||||||
|
font-size: 10pt;
|
||||||
|
border-style: solid solid solid solid;
|
||||||
|
border-width: 2px 2px 2px 2px;
|
||||||
|
border-color: green #FF00FF blue red;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<h1 class="title">Example of <i style="color:#990000">XHTML + CSS</i></h1>
|
<h1 class="title">Example of <i style="color:#990000">XHTML + CSS</i></h1>
|
||||||
@ -121,6 +148,59 @@ $html = <<<EOF
|
|||||||
<p class="first">Example of paragraph with class selector. <span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.</span></p>
|
<p class="first">Example of paragraph with class selector. <span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.</span></p>
|
||||||
|
|
||||||
<p id="second">Example of paragraph with ID selector. <span>Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.</span></p>
|
<p id="second">Example of paragraph with ID selector. <span>Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.</span></p>
|
||||||
|
|
||||||
|
<div class="test">example of DIV with border and fill.<br />Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus.</div>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<table class="first" cellpadding="4" cellspacing="6">
|
||||||
|
<tr>
|
||||||
|
<td width="30" align="center"><b>No.</b></td>
|
||||||
|
<td width="140" align="center" bgcolor="#FFFF00"><b>XXXX</b></td>
|
||||||
|
<td width="140" align="center"><b>XXXX</b></td>
|
||||||
|
<td width="80" align="center"> <b>XXXX</b></td>
|
||||||
|
<td width="80" align="center"><b>XXXX</b></td>
|
||||||
|
<td width="45" align="center"><b>XXXX</b></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30" align="center">1.</td>
|
||||||
|
<td width="140" rowspan="6" class="second">XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX</td>
|
||||||
|
<td width="140">XXXX<br />XXXX</td>
|
||||||
|
<td width="80">XXXX<br />XXXX</td>
|
||||||
|
<td width="80">XXXX</td>
|
||||||
|
<td align="center" width="45">XXXX<br />XXXX</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30" align="center" rowspan="3">2.</td>
|
||||||
|
<td width="140" rowspan="3">XXXX<br />XXXX</td>
|
||||||
|
<td width="80">XXXX<br />XXXX</td>
|
||||||
|
<td width="80">XXXX<br />XXXX</td>
|
||||||
|
<td align="center" width="45">XXXX<br />XXXX</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="80">XXXX<br />XXXX<br />XXXX<br />XXXX</td>
|
||||||
|
<td width="80">XXXX<br />XXXX</td>
|
||||||
|
<td align="center" width="45">XXXX<br />XXXX</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="80" rowspan="2" >XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX</td>
|
||||||
|
<td width="80">XXXX<br />XXXX</td>
|
||||||
|
<td align="center" width="45">XXXX<br />XXXX</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30" align="center">3.</td>
|
||||||
|
<td width="140">XXXX<br />XXXX</td>
|
||||||
|
<td width="80">XXXX<br />XXXX</td>
|
||||||
|
<td align="center" width="45">XXXX<br />XXXX</td>
|
||||||
|
</tr>
|
||||||
|
<tr bgcolor="#FFFF80">
|
||||||
|
<td width="30" align="center">4.</td>
|
||||||
|
<td width="140" bgcolor="#00CC00" color="#FFFF00">XXXX<br />XXXX</td>
|
||||||
|
<td width="80">XXXX<br />XXXX</td>
|
||||||
|
<td width="80">XXXX<br />XXXX</td>
|
||||||
|
<td align="center" width="45">XXXX<br />XXXX</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
EOF;
|
EOF;
|
||||||
|
|
||||||
// output the HTML content
|
// output the HTML content
|
||||||
|
Loading…
Reference in New Issue
Block a user