mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-29 15:43:53 +00:00
5.0.000
This commit is contained in:
parent
be770eec61
commit
2f54d8d87c
@ -2,8 +2,8 @@
|
||||
//============================================================+
|
||||
// File name : 2dbarcodes.php
|
||||
// Begin : 2009-04-07
|
||||
// Last Update : 2010-03-23
|
||||
// Version : 1.0.002
|
||||
// Last Update : 2010-04-30
|
||||
// Version : 1.0.003
|
||||
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright (C) 2008-2009 Nicola Asuni - Tecnick.com S.r.l.
|
||||
@ -47,14 +47,14 @@
|
||||
* @copyright 2008-2009 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 1.0.002
|
||||
* @version 1.0.003
|
||||
*/
|
||||
|
||||
/**
|
||||
* PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).<br>
|
||||
* @name TCPDFBarcode
|
||||
* @package com.tecnick.tcpdf
|
||||
* @version 1.0.001
|
||||
* @version 1.0.003
|
||||
* @author Nicola Asuni
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
@ -65,7 +65,7 @@ class TCPDF2DBarcode {
|
||||
* @var array representation of barcode.
|
||||
* @access protected
|
||||
*/
|
||||
protected $barcode_array;
|
||||
protected $barcode_array = false;
|
||||
|
||||
/**
|
||||
* This is the class constructor.
|
||||
@ -75,7 +75,7 @@ class TCPDF2DBarcode {
|
||||
* <li>$arrcode['num_cols'] required number of columns</li>
|
||||
* <li>$arrcode['bcode'][$r][$c] value of the cell is $r row and $c column (0 = transparent, 1 = black)</li></ul>
|
||||
* @param string $code code to print
|
||||
* @param string $type type of barcode: <ul><li>TEST</li><li>QRCODE : QR-CODE Low error correction</li><li>QRCODE,L : QR-CODE Low error correction</li><li>QRCODE,M : QR-CODE Medium error correction</li><li>QRCODE,Q : QR-CODE Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li></ul>
|
||||
* @param string $type type of barcode: <ul>li>RAW: raw mode - comma-separad list of array rows</li><li>RAW2: raw mode - array rows are surrounded by square parenthesis.</li><li>QRCODE : QR-CODE Low error correction</li><li>QRCODE,L : QR-CODE Low error correction</li><li>QRCODE,M : QR-CODE Medium error correction</li><li>QRCODE,Q : QR-CODE Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li></ul>
|
||||
*/
|
||||
public function __construct($code, $type) {
|
||||
$this->setBarcode($code, $type);
|
||||
@ -92,12 +92,45 @@ class TCPDF2DBarcode {
|
||||
/**
|
||||
* Set the barcode.
|
||||
* @param string $code code to print
|
||||
* @param string $type type of barcode: <ul><li>TEST</li><li>QRCODE : QR-CODE Low error correction</li><li>QRCODE,L : QR-CODE Low error correction</li><li>QRCODE,M : QR-CODE Medium error correction</li><li>QRCODE,Q : QR-CODE Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li></ul>
|
||||
* @param string $type type of barcode: <ul><li>RAW: raw mode - comma-separad list of array rows</li><li>RAW2: raw mode - array rows are surrounded by square parenthesis.</li><li>QRCODE : QR-CODE Low error correction</li><li>QRCODE,L : QR-CODE Low error correction</li><li>QRCODE,M : QR-CODE Medium error correction</li><li>QRCODE,Q : QR-CODE Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li></ul>
|
||||
* @return array
|
||||
*/
|
||||
public function setBarcode($code, $type) {
|
||||
$mode = explode(',', $type);
|
||||
switch (strtoupper($mode[0])) {
|
||||
$qrtype = strtoupper($mode[0]);
|
||||
switch ($qrtype) {
|
||||
case 'QRCODE': { // QR-CODE
|
||||
require_once(dirname(__FILE__).'/qrcode.php');
|
||||
if (!isset($mode[1]) OR (!in_array($mode[1],array('L','M','Q','H')))) {
|
||||
$mode[1] = 'L'; // Ddefault: Low error correction
|
||||
}
|
||||
$qrcode = new QRcode($code, strtoupper($mode[1]));
|
||||
$this->barcode_array = $qrcode->getBarcodeArray();
|
||||
break;
|
||||
}
|
||||
case 'RAW':
|
||||
case 'RAW2': { // RAW MODE
|
||||
// remove spaces
|
||||
$code = preg_replace('/[\s]*/si', '', $code);
|
||||
if (strlen($code) < 3) {
|
||||
break;
|
||||
}
|
||||
if ($qrtype == 'RAW') {
|
||||
// comma-separated rows
|
||||
$rows = explode(',', $code);
|
||||
} else {
|
||||
// rows enclosed in square parethesis
|
||||
$code = substr($code, 1, -1);
|
||||
$rows = explode('][', $code);
|
||||
}
|
||||
$this->barcode_array['num_rows'] = count($rows);
|
||||
$this->barcode_array['num_cols'] = strlen($rows[0]);
|
||||
$this->barcode_array['bcode'] = array();
|
||||
foreach ($rows as $r) {
|
||||
$this->barcode_array['bcode'][] = str_split($r, 1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 'TEST': { // TEST MODE
|
||||
$this->barcode_array['num_rows'] = 5;
|
||||
$this->barcode_array['num_cols'] = 15;
|
||||
@ -106,17 +139,7 @@ class TCPDF2DBarcode {
|
||||
array(0,1,0,0,1,0,0,0,1,0,0,0,0,1,0),
|
||||
array(0,1,0,0,1,1,0,0,1,1,1,0,0,1,0),
|
||||
array(0,1,0,0,1,0,0,0,0,0,1,0,0,1,0),
|
||||
array(0,1,0,0,1,1,1,0,1,1,1,0,0,1,0)
|
||||
);
|
||||
break;
|
||||
}
|
||||
case 'QRCODE': { // QR-CODE
|
||||
require_once(dirname(__FILE__).'/qrcode.php');
|
||||
if (!isset($mode[1]) OR (!in_array($mode[1],array('L','M','Q','H')))) {
|
||||
$mode[1] = 'L'; // Ddefault: Low error correction
|
||||
}
|
||||
$qrcode = new QRcode($code, strtoupper($mode[1]));
|
||||
$this->barcode_array = $qrcode->getBarcodeArray();
|
||||
array(0,1,0,0,1,1,1,0,1,1,1,0,0,1,0));
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
|
@ -1,3 +1,21 @@
|
||||
5.0.000 (2010-05-05)
|
||||
- Method ImageSVG() was added to embedd SVG images (see example n. 58). Note that not all SVG images are supported.
|
||||
- Method setRasterizeVectorImages() was added to enable/disable rasterization for vector images via ImageMagick library.
|
||||
- Method RoundedRectXY() was added.
|
||||
- Method PieSectorXY() was added.
|
||||
- Gradient() method is now public and support new features.
|
||||
- Shading to transparency is now supported.
|
||||
- Image alignments were fixed.
|
||||
- Support for dynamic images were improved.
|
||||
- PDF_IMAGE_SCALE_RATIO has been changed to 1.25 for better compatibility with SVG.
|
||||
- RAW and RAW2 modes were added to 2D Barcodes (see example n. 50).
|
||||
- Automatic padding feature was added on barcodes (see examples n. 27 and 50).
|
||||
- Bug #2995003 "Reproduced thead bug" was fixed.
|
||||
- The Output() method now accepts FI and FD destinations to save the document on server before sending it to the client.
|
||||
- Ellipse() method was improved and fixed (see page 2 of example n. 12).
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
4.9.018 (2010-04-21)
|
||||
- Bug item #2990356 "Current font size not respected with more than two HTML <p>" was fixed.
|
||||
|
||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 4.9.018
|
||||
Release date: 2010-04-21
|
||||
Version: 5.0.000
|
||||
Release date: 2010-05-05
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2001-2010:
|
||||
@ -35,7 +35,7 @@ Main Features:
|
||||
// * TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
|
||||
// * methods to publish some XHTML code, Javascript and Forms;
|
||||
// * images, graphic (geometric figures) and transformation methods;
|
||||
// * supports JPEG and PNG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)
|
||||
// * supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)
|
||||
// * 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code;
|
||||
// * Grayscale, RGB, CMYK, Spot Colors and Transparencies;
|
||||
// * automatic page header and footer management;
|
||||
|
@ -2,7 +2,7 @@
|
||||
//============================================================+
|
||||
// File name : tcpdf_config.php
|
||||
// Begin : 2004-06-11
|
||||
// Last Update : 2010-04-02
|
||||
// Last Update : 2010-04-28
|
||||
//
|
||||
// Description : Configuration file for TCPDF.
|
||||
//
|
||||
@ -204,7 +204,7 @@ if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
|
||||
/**
|
||||
* ratio used to adjust the conversion of pixels to user units
|
||||
*/
|
||||
define ('PDF_IMAGE_SCALE_RATIO', 1);
|
||||
define ('PDF_IMAGE_SCALE_RATIO', 1.25);
|
||||
|
||||
/**
|
||||
* magnification factor for titles
|
||||
|
@ -2,7 +2,7 @@
|
||||
//============================================================+
|
||||
// File name : tcpdf_config.php
|
||||
// Begin : 2004-06-11
|
||||
// Last Update : 2010-04-02
|
||||
// Last Update : 2010-04-28
|
||||
//
|
||||
// Description : Alternative configuration file for TCPDF.
|
||||
//
|
||||
@ -199,7 +199,7 @@ define ('PDF_FONT_MONOSPACED', 'courier');
|
||||
/**
|
||||
* ratio used to adjust the conversion of pixels to user units
|
||||
*/
|
||||
define ('PDF_IMAGE_SCALE_RATIO', 1);
|
||||
define ('PDF_IMAGE_SCALE_RATIO', 1.25);
|
||||
|
||||
/**
|
||||
* magnification factor for titles
|
||||
|
@ -55,7 +55,7 @@
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -5548,7 +5548,7 @@ $frame)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:13 +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
@ -80,7 +80,7 @@ Source Location: /2dbarcodes.php<br /><br />
|
||||
|
||||
<h4>Version:</h4>
|
||||
<ul>
|
||||
<li>1.0.001</li>
|
||||
<li>1.0.003</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -128,7 +128,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
|
||||
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>1.0.001</td>
|
||||
<td><b>version:</b> </td><td>1.0.003</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>link:</b> </td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
|
||||
@ -150,7 +150,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
|
||||
<div class="tags">
|
||||
<a name="var$barcode_array"></a>
|
||||
<p></p>
|
||||
<h4>$barcode_array = <span class="value"></span></h4>
|
||||
<h4>$barcode_array = <span class="value"> false</span></h4>
|
||||
<p>[line 68]</p>
|
||||
<br /><br />
|
||||
<h4>Tags:</h4>
|
||||
@ -218,7 +218,7 @@ $type)</code>
|
||||
<tr>
|
||||
<td class="type">string </td>
|
||||
<td><b>$type</b> </td>
|
||||
<td>type of barcode: <ul><li>TEST</li><li>QRCODE : QR-CODE Low error correction</li><li>QRCODE,L : QR-CODE Low error correction</li><li>QRCODE,M : QR-CODE Medium error correction</li><li>QRCODE,Q : QR-CODE Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li></ul></td>
|
||||
<td>type of barcode: <ul><li>RAW2: raw mode - array rows are surrounded by square parenthesis.</li><li>QRCODE : QR-CODE Low error correction</li><li>QRCODE,L : QR-CODE Low error correction</li><li>QRCODE,M : QR-CODE Medium error correction</li><li>QRCODE,Q : QR-CODE Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li></ul></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
@ -285,7 +285,7 @@ $type)</code>
|
||||
<tr>
|
||||
<td class="type">string </td>
|
||||
<td><b>$type</b> </td>
|
||||
<td>type of barcode: <ul><li>TEST</li><li>QRCODE : QR-CODE Low error correction</li><li>QRCODE,L : QR-CODE Low error correction</li><li>QRCODE,M : QR-CODE Medium error correction</li><li>QRCODE,Q : QR-CODE Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li></ul></td>
|
||||
<td>type of barcode: <ul><li>RAW: raw mode - comma-separad list of array rows</li><li>RAW2: raw mode - array rows are surrounded by square parenthesis.</li><li>QRCODE : QR-CODE Low error correction</li><li>QRCODE,L : QR-CODE Low error correction</li><li>QRCODE,M : QR-CODE Medium error correction</li><li>QRCODE,Q : QR-CODE Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li></ul></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
@ -296,7 +296,7 @@ $type)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -1374,7 +1374,7 @@ $type)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -79,7 +79,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
|
||||
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>1.0.002</td>
|
||||
<td><b>version:</b> </td><td>1.0.003</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>copyright:</b> </td><td>2008-2009 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>
|
||||
@ -102,7 +102,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -102,7 +102,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -411,7 +411,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
|
||||
<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_IMAGE_SCALE_RATIO = 1</code>
|
||||
<code>PDF_IMAGE_SCALE_RATIO = 1.25</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
|
||||
@ -539,7 +539,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:51 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:17 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -94,7 +94,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -477,7 +477,7 @@ string $string, [int $split_length = 1])</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:13 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -71,7 +71,7 @@ Source Location: /tcpdf.php<br /><br />
|
||||
</div><br /><br />
|
||||
|
||||
<h2>Page Details:</h2>
|
||||
This is a PHP class for generating PDF documents without requiring external extensions.<br /><br /><br /><p>TCPDF project (http://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br /> <h3>TCPDF main features are:</h3> <ul><li>no external libraries are required for the basic functions;</li><li>all ISO page formats, custom page formats, custom margins and units of measure;</li><li>UTF-8 Unicode and Right-To-Left languages;</li><li>TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;</li><li>methods to publish some XHTML code, Javascript and Forms;</li><li>images, graphic (geometric figures) and transformation methods;</li><li>supports JPEG and PNG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)</li><li>1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code;</li><li>Grayscale, RGB, CMYK, Spot Colors and Transparencies;</li><li>automatic page header and footer management;</li><li>document encryption and digital signature certifications;</li><li>transactions to UNDO commands;</li><li>PDF annotations, including links, text and file attachments;</li><li>text rendering modes (fill, stroke and clipping);</li><li>multiple columns mode;</li><li>bookmarks and table of content;</li><li>text hyphenation;</li><li>automatic page break, line break and text alignments including justification;</li><li>automatic page numbering and page groups;</li><li>move and delete pages;</li><li>page compression (requires php-zlib extension);</li></ul> Tools to encode your unicode fonts are on fonts/utils directory.</p></p><br /><br /><br />
|
||||
This is a PHP class for generating PDF documents without requiring external extensions.<br /><br /><br /><p>TCPDF project (http://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br /> <h3>TCPDF main features are:</h3> <ul><li>no external libraries are required for the basic functions;</li><li>all ISO page formats, custom page formats, custom margins and units of measure;</li><li>UTF-8 Unicode and Right-To-Left languages;</li><li>TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;</li><li>methods to publish some XHTML code, Javascript and Forms;</li><li>images, graphic (geometric figures) and transformation methods;</li><li>supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)</li><li>1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code;</li><li>Grayscale, RGB, CMYK, Spot Colors and Transparencies;</li><li>automatic page header and footer management;</li><li>document encryption and digital signature certifications;</li><li>transactions to UNDO commands;</li><li>PDF annotations, including links, text and file attachments;</li><li>text rendering modes (fill, stroke and clipping);</li><li>multiple columns mode;</li><li>bookmarks and table of content;</li><li>text hyphenation;</li><li>automatic page break, line break and text alignments including justification;</li><li>automatic page numbering and page groups;</li><li>move and delete pages;</li><li>page compression (requires php-zlib extension);</li></ul> Tools to encode your unicode fonts are on fonts/utils directory.</p></p><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
@ -79,7 +79,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.9.018</td>
|
||||
<td><b>version:</b> </td><td>5.0.000</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>
|
||||
@ -98,19 +98,19 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<br /><br />
|
||||
<h4>Includes:</h4>
|
||||
<div class="tags">
|
||||
require_once(dirname(__FILE__).'/config/tcpdf_config.php') [line 130]<br />
|
||||
main configuration file<br /><br />require_once(dirname(__FILE__).'/htmlcolors.php') [line 142]<br />
|
||||
html colors table<br /><br />require_once(dirname(__FILE__).'/unicode_data.php') [line 137]<br />
|
||||
require_once(dirname(__FILE__).'/config/tcpdf_config.php') [line 131]<br />
|
||||
main configuration file<br /><br />require_once(dirname(__FILE__).'/htmlcolors.php') [line 143]<br />
|
||||
html colors table<br /><br />require_once(dirname(__FILE__).'/unicode_data.php') [line 138]<br />
|
||||
unicode data<br /><br /></div>
|
||||
<br /><br />
|
||||
<br /><br />
|
||||
<hr />
|
||||
<a name="definePDF_PRODUCER"></a>
|
||||
<h3>PDF_PRODUCER <span class="smalllinenumber">[line 148]</span></h3>
|
||||
<h3>PDF_PRODUCER <span class="smalllinenumber">[line 149]</span></h3>
|
||||
<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.9.018 (http://www.tcpdf.org)'</code>
|
||||
<code>PDF_PRODUCER = 'TCPDF 5.0.000 (http://www.tcpdf.org)'</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
|
||||
@ -121,7 +121,7 @@ unicode data<br /><br /></div>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:48 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:14 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -243,7 +243,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:51 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:17 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -309,6 +309,8 @@
|
||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodconvertData">QRcode::convertData()</a><br> convertData</dd>
|
||||
<dt><b>convertHTMLColorToDec</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodconvertHTMLColorToDec">TCPDF::convertHTMLColorToDec()</a><br> Returns an associative array (keys: R,G,B) from an html color name or a six-digit or three-digit hexadecimal color representation (i.e. #3FE5AA or #7FF).</dd>
|
||||
<dt><b>convertSVGtMatrix</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodconvertSVGtMatrix">TCPDF::convertSVGtMatrix()</a><br> Convert SVG transformation matrix to PDF.</dd>
|
||||
<dt><b>CoonsPatchMesh</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodCoonsPatchMesh">TCPDF::CoonsPatchMesh()</a><br> Paints a coons patch mesh.</dd>
|
||||
<dt><b>copyPage</b></dt>
|
||||
@ -423,6 +425,8 @@
|
||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodencode_rs_char">QRcode::encode_rs_char()</a><br> Encode a Reed-Solomon codec and returns the parity array</dd>
|
||||
<dt><b>endPage</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodendPage">TCPDF::endPage()</a><br> Terminate the current page</dd>
|
||||
<dt><b>endSVGElementHandler</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodendSVGElementHandler">TCPDF::endSVGElementHandler()</a><br> Sets the closing SVG element handler function for the XML parser.</dd>
|
||||
<dt><b>Error</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodError">TCPDF::Error()</a><br> This method is automatically called in case of fatal error; it simply outputs the message and halts the execution. An inherited class may override it to customize the error handling but should always halt the script, or the resulting document would probably be invalid.</dd>
|
||||
<dt><b>estimateBitsMode8</b></dt>
|
||||
@ -532,11 +536,11 @@
|
||||
<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>
|
||||
<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 barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodgetBarcodeArray">TCPDFBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
||||
<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>
|
||||
<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 2dbarcodes.php, method <a href="com-tecnick-tcpdf/TCPDF2DBarcode.html#methodgetBarcodeArray">TCPDF2DBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
||||
<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>
|
||||
<dt><b>getBorderMode</b></dt>
|
||||
@ -651,6 +655,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetPageNumGroupAlias">TCPDF::getPageNumGroupAlias()</a><br> Return the alias for the page number on the current page group If the current font is unicode type, the returned string is surrounded by additional curly braces.</dd>
|
||||
<dt><b>getPageWidth</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetPageWidth">TCPDF::getPageWidth()</a><br> Returns the page width in units.</dd>
|
||||
<dt><b>getPathPaintOperator</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetPathPaintOperator">TCPDF::getPathPaintOperator()</a><br> Get the Path-Painting Operators.</dd>
|
||||
<dt><b>getPDFData</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetPDFData">TCPDF::getPDFData()</a><br> Returns the PDF data.</dd>
|
||||
<dt><b>getRemainder</b></dt>
|
||||
@ -665,6 +671,12 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetSpaceString">TCPDF::getSpaceString()</a><br> Returns the string used to find spaces</dd>
|
||||
<dt><b>GetStringWidth</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetStringWidth">TCPDF::GetStringWidth()</a><br> Returns the length of a string in user unit. A font must be selected.<br /></dd>
|
||||
<dt><b>getSVGTransformMatrix</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetSVGTransformMatrix">TCPDF::getSVGTransformMatrix()</a><br> Get the tranformation matrix from SVG transform attribute</dd>
|
||||
<dt><b>getTransformationMatrixProduct</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetTransformationMatrixProduct">TCPDF::getTransformationMatrixProduct()</a><br> Get the product of two SVG tranformation matrices</dd>
|
||||
<dt><b>getVectorsAngle</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetVectorsAngle">TCPDF::getVectorsAngle()</a><br> Returns the angle in radiants between two vectors</dd>
|
||||
<dt><b>getVersionPattern</b></dt>
|
||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetVersionPattern">QRcode::getVersionPattern()</a><br> Return BCH encoded version information pattern that is used for the symbol of version 7 or greater. Use lower 18 bits.</dd>
|
||||
<dt><b>getWidth</b></dt>
|
||||
@ -761,6 +773,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImageEps">TCPDF::ImageEps()</a><br> Embed vector-based Adobe Illustrator (AI) or AI-compatible EPS files.</dd>
|
||||
<dt><b>ImagePngAlpha</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImagePngAlpha">TCPDF::ImagePngAlpha()</a><br> Extract info from a PNG image with alpha channel using the GD library.</dd>
|
||||
<dt><b>ImageSVG</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImageSVG">TCPDF::ImageSVG()</a><br> Embedd a Scalable Vector Graphics (SVG) image.</dd>
|
||||
<dt><b>imb_crc11fcs</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_crc11fcs">TCPDFBarcode::imb_crc11fcs()</a><br> Intelligent Mail Barcode calculation of Frame Check Sequence</dd>
|
||||
<dt><b>imb_reverse_us</b></dt>
|
||||
@ -1089,6 +1103,8 @@
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pages">TCPDF::$pages</a></dd>
|
||||
<dt><b>$page_obj_id</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$page_obj_id">TCPDF::$page_obj_id</a><br> ID of page objects</dd>
|
||||
<dt><b>$pdfunit</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pdfunit">TCPDF::$pdfunit</a></dd>
|
||||
<dt><b>$PDFVersion</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PDFVersion">TCPDF::$PDFVersion</a></dd>
|
||||
<dt><b>$premode</b></dt>
|
||||
@ -1149,6 +1165,8 @@
|
||||
<dd>in file tcpdf_config.php, constant <a href="com-tecnick-tcpdf/_config---tcpdf_config.php.html#definePDF_UNIT">PDF_UNIT</a><br> document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]</dd>
|
||||
<dt><b>PieSector</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodPieSector">TCPDF::PieSector()</a><br> Draw the sector of a circle.</dd>
|
||||
<dt><b>PieSectorXY</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodPieSectorXY">TCPDF::PieSectorXY()</a><br> Draw the sector of an ellipse.</dd>
|
||||
<dt><b>pixelsToUnits</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodpixelsToUnits">TCPDF::pixelsToUnits()</a><br> Converts pixels to User's Units.</dd>
|
||||
<dt><b>Polycurve</b></dt>
|
||||
@ -1231,6 +1249,8 @@
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$radiobutton_groups">TCPDF::$radiobutton_groups</a><br> List of radio buttons parent objects.</dd>
|
||||
<dt><b>$radio_groups</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$radio_groups">TCPDF::$radio_groups</a><br> List of radio group objects IDs</dd>
|
||||
<dt><b>$rasterize_vector_images</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$rasterize_vector_images">TCPDF::$rasterize_vector_images</a></dd>
|
||||
<dt><b>$re_spaces</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$re_spaces">TCPDF::$re_spaces</a><br> Regular expression used to find blank characters used for word-wrapping.</dd>
|
||||
<dt><b>$rMargin</b></dt>
|
||||
@ -1267,6 +1287,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodRotate">TCPDF::Rotate()</a><br> Rotate object.</dd>
|
||||
<dt><b>RoundedRect</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodRoundedRect">TCPDF::RoundedRect()</a><br> Draws a rounded rectangle.</dd>
|
||||
<dt><b>RoundedRectXY</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodRoundedRectXY">TCPDF::RoundedRectXY()</a><br> Draws a rounded rectangle.</dd>
|
||||
<dt><b>rsBlockNum</b></dt>
|
||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodrsBlockNum">QRcode::rsBlockNum()</a><br> Return block number 0</dd>
|
||||
<dt><b>rsBlockNum1</b></dt>
|
||||
@ -1317,6 +1339,30 @@
|
||||
<dd>in file qrcode.php, variable <a href="com-tecnick-tcpdf/QRcode.html#var$structured">QRcode::$structured</a></dd>
|
||||
<dt><b>$subject</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$subject">TCPDF::$subject</a></dd>
|
||||
<dt><b>$svgclipid</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgclipid">TCPDF::$svgclipid</a></dd>
|
||||
<dt><b>$svgclipmode</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgclipmode">TCPDF::$svgclipmode</a></dd>
|
||||
<dt><b>$svgclippaths</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgclippaths">TCPDF::$svgclippaths</a></dd>
|
||||
<dt><b>$svgdefs</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgdefs">TCPDF::$svgdefs</a></dd>
|
||||
<dt><b>$svgdefsmode</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgdefsmode">TCPDF::$svgdefsmode</a></dd>
|
||||
<dt><b>$svgdir</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgdir">TCPDF::$svgdir</a></dd>
|
||||
<dt><b>$svggradientid</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svggradientid">TCPDF::$svggradientid</a></dd>
|
||||
<dt><b>$svggradients</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svggradients">TCPDF::$svggradients</a></dd>
|
||||
<dt><b>$svginheritprop</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svginheritprop">TCPDF::$svginheritprop</a></dd>
|
||||
<dt><b>$svgstyles</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgstyles">TCPDF::$svgstyles</a></dd>
|
||||
<dt><b>$svgtext</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgtext">TCPDF::$svgtext</a></dd>
|
||||
<dt><b>$svgunit</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgunit">TCPDF::$svgunit</a></dd>
|
||||
<dt><b>Scale</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodScale">TCPDF::Scale()</a><br> Vertical and horizontal non-proportional Scaling.</dd>
|
||||
<dt><b>ScaleX</b></dt>
|
||||
@ -1325,6 +1371,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodScaleXY">TCPDF::ScaleXY()</a><br> Vertical and horizontal proportional Scaling.</dd>
|
||||
<dt><b>ScaleY</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodScaleY">TCPDF::ScaleY()</a><br> Vertical Scaling.</dd>
|
||||
<dt><b>segSVGContentHandler</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsegSVGContentHandler">TCPDF::segSVGContentHandler()</a><br> Sets the character data handler function for the XML parser.</dd>
|
||||
<dt><b>selectColumn</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodselectColumn">TCPDF::selectColumn()</a><br> Set position at a given column</dd>
|
||||
<dt><b>serializeTCPDFtagParameters</b></dt>
|
||||
@ -1461,6 +1509,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetPrintHeader">TCPDF::setPrintHeader()</a><br> Set a flag to print page header.</dd>
|
||||
<dt><b>SetProtection</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetProtection">TCPDF::SetProtection()</a><br> Set document protection</dd>
|
||||
<dt><b>setRasterizeVectorImages</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetRasterizeVectorImages">TCPDF::setRasterizeVectorImages()</a><br> Enable/disable rasterization of SVG images using ImageMagick library.</dd>
|
||||
<dt><b>SetRightMargin</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetRightMargin">TCPDF::SetRightMargin()</a><br> Defines the right margin. The method can be called before creating the first page.</dd>
|
||||
<dt><b>setRTL</b></dt>
|
||||
@ -1471,6 +1521,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetSpacesRE">TCPDF::setSpacesRE()</a><br> Set regular expression to detect withespaces or word separators.</dd>
|
||||
<dt><b>SetSubject</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetSubject">TCPDF::SetSubject()</a><br> Defines the subject of the document.</dd>
|
||||
<dt><b>setSVGStyles</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetSVGStyles">TCPDF::setSVGStyles()</a><br> Apply the requested SVG styles (*** TO BE COMPLETED ***)</dd>
|
||||
<dt><b>setTableHeader</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetTableHeader">TCPDF::setTableHeader()</a><br> This method is used to render the table header on new page (if any).</dd>
|
||||
<dt><b>setTempRTL</b></dt>
|
||||
@ -1515,6 +1567,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstartPage">TCPDF::startPage()</a><br> Starts a new page to the document. The page must be closed using the endPage() function.</dd>
|
||||
<dt><b>startPageGroup</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstartPageGroup">TCPDF::startPageGroup()</a><br> Create a new page group.</dd>
|
||||
<dt><b>startSVGElementHandler</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstartSVGElementHandler">TCPDF::startSVGElementHandler()</a><br> Sets the opening SVG element handler function for the XML parser. (*** TO BE COMPLETED ***)</dd>
|
||||
<dt><b>startTransaction</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstartTransaction">TCPDF::startTransaction()</a><br> Stores a copy of the current TCPDF object used for undo operation.</dd>
|
||||
<dt><b>StartTransform</b></dt>
|
||||
@ -1525,6 +1579,10 @@
|
||||
<dd>in file qrcode.php, constant <a href="com-tecnick-tcpdf/_qrcode.php.html#defineSTRUCTURE_HEADER_BITS">STRUCTURE_HEADER_BITS</a><br> Number of header bits for structured mode</dd>
|
||||
<dt><b>str_split</b></dt>
|
||||
<dd>in file qrcode.php, function <a href="com-tecnick-tcpdf/_qrcode.php.html#functionstr_split">str_split()</a><br> Convert a string to an array (needed for PHP4 compatibility)</dd>
|
||||
<dt><b>SVGPath</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSVGPath">TCPDF::SVGPath()</a><br> Draws an SVG path</dd>
|
||||
<dt><b>SVGTransform</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSVGTransform">TCPDF::SVGTransform()</a><br> Apply SVG graphic transformation matrix.</dd>
|
||||
<dt><b>swapMargins</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodswapMargins">TCPDF::swapMargins()</a><br> Swap the left and right margins.</dd>
|
||||
</dl>
|
||||
@ -1763,6 +1821,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_generateencryptionkey">TCPDF::_generateencryptionkey()</a><br> Compute encryption key</dd>
|
||||
<dt><b>_getfontpath</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_getfontpath">TCPDF::_getfontpath()</a><br> Return fonts path</dd>
|
||||
<dt><b>_getstream</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_getstream">TCPDF::_getstream()</a><br> Format output stream.</dd>
|
||||
<dt><b>_JScolor</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_JScolor">TCPDF::_JScolor()</a><br> Convert color to javascript color.</dd>
|
||||
<dt><b>_md5_16</b></dt>
|
||||
@ -1773,16 +1833,20 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_objectkey">TCPDF::_objectkey()</a><br> Compute encryption key depending on object number where the encrypted data is stored</dd>
|
||||
<dt><b>_out</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_out">TCPDF::_out()</a><br> Output a string to the document.</dd>
|
||||
<dt><b>_outarc</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outarc">TCPDF::_outarc()</a><br> Output an arc</dd>
|
||||
<dt><b>_outCurve</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outCurve">TCPDF::_outCurve()</a><br> Draws a Bezier curve from last draw point.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outCurve">TCPDF::_outCurve()</a><br> Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using (x1, y1) and (x2, y2) as the Bézier control points.</dd>
|
||||
<dt><b>_outCurveV</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outCurveV">TCPDF::_outCurveV()</a><br> Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using the current point and (x2, y2) as the Bézier control points.</dd>
|
||||
<dt><b>_outCurveY</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outCurveY">TCPDF::_outCurveY()</a><br> Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using (x1, y1) and (x3, y3) as the Bézier control points.</dd>
|
||||
<dt><b>_outellipticalarc</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outellipticalarc">TCPDF::_outellipticalarc()</a><br> Append an elliptical arc to the current path.</dd>
|
||||
<dt><b>_outLine</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outLine">TCPDF::_outLine()</a><br> Draws a line from last draw point.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outLine">TCPDF::_outLine()</a><br> Append a straight line segment from the current point to the point (x, y).</dd>
|
||||
<dt><b>_outPoint</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outPoint">TCPDF::_outPoint()</a><br> Set a draw point.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outPoint">TCPDF::_outPoint()</a><br> Begin a new subpath by moving the current point to coordinates (x, y), omitting any connecting line segment.</dd>
|
||||
<dt><b>_outRect</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outRect">TCPDF::_outRect()</a><br> Draws a rectangle.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outRect">TCPDF::_outRect()</a><br> Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions widthand height in user space.</dd>
|
||||
<dt><b>_Ovalue</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_Ovalue">TCPDF::_Ovalue()</a><br> Compute O value (used for RC4 encryption)</dd>
|
||||
<dt><b>_parsejpeg</b></dt>
|
||||
@ -1828,21 +1892,17 @@
|
||||
<dt><b>_putresources</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putresources">TCPDF::_putresources()</a><br> Output Resources.</dd>
|
||||
<dt><b>_putshaders</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putshaders">TCPDF::_putshaders()</a><br> Output shaders.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putshaders">TCPDF::_putshaders()</a><br> Output gradient shaders.</dd>
|
||||
<dt><b>_putsignature</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putsignature">TCPDF::_putsignature()</a><br> Add certification signature (DocMDP or UR3)</dd>
|
||||
<dt><b>_putspotcolors</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putspotcolors">TCPDF::_putspotcolors()</a><br> Output Spot Colors Resources.</dd>
|
||||
<dt><b>_putstream</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putstream">TCPDF::_putstream()</a><br> Output a stream.</dd>
|
||||
<dt><b>_puttrailer</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_puttrailer">TCPDF::_puttrailer()</a><br> Output trailer.</dd>
|
||||
<dt><b>_puttruetypeunicode</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_puttruetypeunicode">TCPDF::_puttruetypeunicode()</a><br> Adds unicode fonts.<br /></dd>
|
||||
<dt><b>_putviewerpreferences</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putviewerpreferences">TCPDF::_putviewerpreferences()</a><br> Output viewer preferences.</dd>
|
||||
<dt><b>_putxobjectdict</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putxobjectdict">TCPDF::_putxobjectdict()</a><br> Output object dictionary for images.</dd>
|
||||
<dt><b>_RC4</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_RC4">TCPDF::_RC4()</a><br> Returns the input text exrypted using RC4 algorithm and the specified key.</dd>
|
||||
<dt><b>_setGDImageTransparency</b></dt>
|
||||
@ -1872,7 +1932,7 @@
|
||||
<a href="elementindex.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -134,6 +134,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_generateencryptionkey">TCPDF::_generateencryptionkey()</a><br> Compute encryption key</dd>
|
||||
<dt><b>_getfontpath</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_getfontpath">TCPDF::_getfontpath()</a><br> Return fonts path</dd>
|
||||
<dt><b>_getstream</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_getstream">TCPDF::_getstream()</a><br> Format output stream.</dd>
|
||||
<dt><b>_JScolor</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_JScolor">TCPDF::_JScolor()</a><br> Convert color to javascript color.</dd>
|
||||
<dt><b>_md5_16</b></dt>
|
||||
@ -144,16 +146,20 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_objectkey">TCPDF::_objectkey()</a><br> Compute encryption key depending on object number where the encrypted data is stored</dd>
|
||||
<dt><b>_out</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_out">TCPDF::_out()</a><br> Output a string to the document.</dd>
|
||||
<dt><b>_outarc</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outarc">TCPDF::_outarc()</a><br> Output an arc</dd>
|
||||
<dt><b>_outCurve</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outCurve">TCPDF::_outCurve()</a><br> Draws a Bezier curve from last draw point.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outCurve">TCPDF::_outCurve()</a><br> Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using (x1, y1) and (x2, y2) as the Bézier control points.</dd>
|
||||
<dt><b>_outCurveV</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outCurveV">TCPDF::_outCurveV()</a><br> Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using the current point and (x2, y2) as the Bézier control points.</dd>
|
||||
<dt><b>_outCurveY</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outCurveY">TCPDF::_outCurveY()</a><br> Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using (x1, y1) and (x3, y3) as the Bézier control points.</dd>
|
||||
<dt><b>_outellipticalarc</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outellipticalarc">TCPDF::_outellipticalarc()</a><br> Append an elliptical arc to the current path.</dd>
|
||||
<dt><b>_outLine</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outLine">TCPDF::_outLine()</a><br> Draws a line from last draw point.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outLine">TCPDF::_outLine()</a><br> Append a straight line segment from the current point to the point (x, y).</dd>
|
||||
<dt><b>_outPoint</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outPoint">TCPDF::_outPoint()</a><br> Set a draw point.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outPoint">TCPDF::_outPoint()</a><br> Begin a new subpath by moving the current point to coordinates (x, y), omitting any connecting line segment.</dd>
|
||||
<dt><b>_outRect</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outRect">TCPDF::_outRect()</a><br> Draws a rectangle.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_outRect">TCPDF::_outRect()</a><br> Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions widthand height in user space.</dd>
|
||||
<dt><b>_Ovalue</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_Ovalue">TCPDF::_Ovalue()</a><br> Compute O value (used for RC4 encryption)</dd>
|
||||
<dt><b>_parsejpeg</b></dt>
|
||||
@ -199,21 +205,17 @@
|
||||
<dt><b>_putresources</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putresources">TCPDF::_putresources()</a><br> Output Resources.</dd>
|
||||
<dt><b>_putshaders</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putshaders">TCPDF::_putshaders()</a><br> Output shaders.</dd>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putshaders">TCPDF::_putshaders()</a><br> Output gradient shaders.</dd>
|
||||
<dt><b>_putsignature</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putsignature">TCPDF::_putsignature()</a><br> Add certification signature (DocMDP or UR3)</dd>
|
||||
<dt><b>_putspotcolors</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putspotcolors">TCPDF::_putspotcolors()</a><br> Output Spot Colors Resources.</dd>
|
||||
<dt><b>_putstream</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putstream">TCPDF::_putstream()</a><br> Output a stream.</dd>
|
||||
<dt><b>_puttrailer</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_puttrailer">TCPDF::_puttrailer()</a><br> Output trailer.</dd>
|
||||
<dt><b>_puttruetypeunicode</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_puttruetypeunicode">TCPDF::_puttruetypeunicode()</a><br> Adds unicode fonts.<br /></dd>
|
||||
<dt><b>_putviewerpreferences</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putviewerpreferences">TCPDF::_putviewerpreferences()</a><br> Output viewer preferences.</dd>
|
||||
<dt><b>_putxobjectdict</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_putxobjectdict">TCPDF::_putxobjectdict()</a><br> Output object dictionary for images.</dd>
|
||||
<dt><b>_RC4</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#method_RC4">TCPDF::_RC4()</a><br> Returns the input text exrypted using RC4 algorithm and the specified key.</dd>
|
||||
<dt><b>_setGDImageTransparency</b></dt>
|
||||
@ -480,6 +482,8 @@
|
||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodconvertData">QRcode::convertData()</a><br> convertData</dd>
|
||||
<dt><b>convertHTMLColorToDec</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodconvertHTMLColorToDec">TCPDF::convertHTMLColorToDec()</a><br> Returns an associative array (keys: R,G,B) from an html color name or a six-digit or three-digit hexadecimal color representation (i.e. #3FE5AA or #7FF).</dd>
|
||||
<dt><b>convertSVGtMatrix</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodconvertSVGtMatrix">TCPDF::convertSVGtMatrix()</a><br> Convert SVG transformation matrix to PDF.</dd>
|
||||
<dt><b>CoonsPatchMesh</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodCoonsPatchMesh">TCPDF::CoonsPatchMesh()</a><br> Paints a coons patch mesh.</dd>
|
||||
<dt><b>copyPage</b></dt>
|
||||
@ -594,6 +598,8 @@
|
||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodencode_rs_char">QRcode::encode_rs_char()</a><br> Encode a Reed-Solomon codec and returns the parity array</dd>
|
||||
<dt><b>endPage</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodendPage">TCPDF::endPage()</a><br> Terminate the current page</dd>
|
||||
<dt><b>endSVGElementHandler</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodendSVGElementHandler">TCPDF::endSVGElementHandler()</a><br> Sets the closing SVG element handler function for the XML parser.</dd>
|
||||
<dt><b>Error</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodError">TCPDF::Error()</a><br> This method is automatically called in case of fatal error; it simply outputs the message and halts the execution. An inherited class may override it to customize the error handling but should always halt the script, or the resulting document would probably be invalid.</dd>
|
||||
<dt><b>estimateBitsMode8</b></dt>
|
||||
@ -703,11 +709,11 @@
|
||||
<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>
|
||||
<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 barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodgetBarcodeArray">TCPDFBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
||||
<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>
|
||||
<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 2dbarcodes.php, method <a href="com-tecnick-tcpdf/TCPDF2DBarcode.html#methodgetBarcodeArray">TCPDF2DBarcode::getBarcodeArray()</a><br> Return an array representations of barcode.</dd>
|
||||
<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>
|
||||
<dt><b>getBorderMode</b></dt>
|
||||
@ -822,6 +828,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetPageNumGroupAlias">TCPDF::getPageNumGroupAlias()</a><br> Return the alias for the page number on the current page group If the current font is unicode type, the returned string is surrounded by additional curly braces.</dd>
|
||||
<dt><b>getPageWidth</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetPageWidth">TCPDF::getPageWidth()</a><br> Returns the page width in units.</dd>
|
||||
<dt><b>getPathPaintOperator</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetPathPaintOperator">TCPDF::getPathPaintOperator()</a><br> Get the Path-Painting Operators.</dd>
|
||||
<dt><b>getPDFData</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetPDFData">TCPDF::getPDFData()</a><br> Returns the PDF data.</dd>
|
||||
<dt><b>getRemainder</b></dt>
|
||||
@ -836,6 +844,12 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetSpaceString">TCPDF::getSpaceString()</a><br> Returns the string used to find spaces</dd>
|
||||
<dt><b>GetStringWidth</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetStringWidth">TCPDF::GetStringWidth()</a><br> Returns the length of a string in user unit. A font must be selected.<br /></dd>
|
||||
<dt><b>getSVGTransformMatrix</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetSVGTransformMatrix">TCPDF::getSVGTransformMatrix()</a><br> Get the tranformation matrix from SVG transform attribute</dd>
|
||||
<dt><b>getTransformationMatrixProduct</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetTransformationMatrixProduct">TCPDF::getTransformationMatrixProduct()</a><br> Get the product of two SVG tranformation matrices</dd>
|
||||
<dt><b>getVectorsAngle</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodgetVectorsAngle">TCPDF::getVectorsAngle()</a><br> Returns the angle in radiants between two vectors</dd>
|
||||
<dt><b>getVersionPattern</b></dt>
|
||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodgetVersionPattern">QRcode::getVersionPattern()</a><br> Return BCH encoded version information pattern that is used for the symbol of version 7 or greater. Use lower 18 bits.</dd>
|
||||
<dt><b>getWidth</b></dt>
|
||||
@ -932,6 +946,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImageEps">TCPDF::ImageEps()</a><br> Embed vector-based Adobe Illustrator (AI) or AI-compatible EPS files.</dd>
|
||||
<dt><b>ImagePngAlpha</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImagePngAlpha">TCPDF::ImagePngAlpha()</a><br> Extract info from a PNG image with alpha channel using the GD library.</dd>
|
||||
<dt><b>ImageSVG</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImageSVG">TCPDF::ImageSVG()</a><br> Embedd a Scalable Vector Graphics (SVG) image.</dd>
|
||||
<dt><b>imb_crc11fcs</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_crc11fcs">TCPDFBarcode::imb_crc11fcs()</a><br> Intelligent Mail Barcode calculation of Frame Check Sequence</dd>
|
||||
<dt><b>imb_reverse_us</b></dt>
|
||||
@ -1260,6 +1276,8 @@
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pages">TCPDF::$pages</a></dd>
|
||||
<dt><b>$page_obj_id</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$page_obj_id">TCPDF::$page_obj_id</a><br> ID of page objects</dd>
|
||||
<dt><b>$pdfunit</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$pdfunit">TCPDF::$pdfunit</a></dd>
|
||||
<dt><b>$PDFVersion</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$PDFVersion">TCPDF::$PDFVersion</a></dd>
|
||||
<dt><b>$premode</b></dt>
|
||||
@ -1320,6 +1338,8 @@
|
||||
<dd>in file tcpdf_config.php, constant <a href="com-tecnick-tcpdf/_config---tcpdf_config.php.html#definePDF_UNIT">PDF_UNIT</a><br> document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]</dd>
|
||||
<dt><b>PieSector</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodPieSector">TCPDF::PieSector()</a><br> Draw the sector of a circle.</dd>
|
||||
<dt><b>PieSectorXY</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodPieSectorXY">TCPDF::PieSectorXY()</a><br> Draw the sector of an ellipse.</dd>
|
||||
<dt><b>pixelsToUnits</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodpixelsToUnits">TCPDF::pixelsToUnits()</a><br> Converts pixels to User's Units.</dd>
|
||||
<dt><b>Polycurve</b></dt>
|
||||
@ -1402,6 +1422,8 @@
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$radiobutton_groups">TCPDF::$radiobutton_groups</a><br> List of radio buttons parent objects.</dd>
|
||||
<dt><b>$radio_groups</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$radio_groups">TCPDF::$radio_groups</a><br> List of radio group objects IDs</dd>
|
||||
<dt><b>$rasterize_vector_images</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$rasterize_vector_images">TCPDF::$rasterize_vector_images</a></dd>
|
||||
<dt><b>$re_spaces</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$re_spaces">TCPDF::$re_spaces</a><br> Regular expression used to find blank characters used for word-wrapping.</dd>
|
||||
<dt><b>$rMargin</b></dt>
|
||||
@ -1438,6 +1460,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodRotate">TCPDF::Rotate()</a><br> Rotate object.</dd>
|
||||
<dt><b>RoundedRect</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodRoundedRect">TCPDF::RoundedRect()</a><br> Draws a rounded rectangle.</dd>
|
||||
<dt><b>RoundedRectXY</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodRoundedRectXY">TCPDF::RoundedRectXY()</a><br> Draws a rounded rectangle.</dd>
|
||||
<dt><b>rsBlockNum</b></dt>
|
||||
<dd>in file qrcode.php, method <a href="com-tecnick-tcpdf/QRcode.html#methodrsBlockNum">QRcode::rsBlockNum()</a><br> Return block number 0</dd>
|
||||
<dt><b>rsBlockNum1</b></dt>
|
||||
@ -1488,6 +1512,30 @@
|
||||
<dd>in file qrcode.php, variable <a href="com-tecnick-tcpdf/QRcode.html#var$structured">QRcode::$structured</a></dd>
|
||||
<dt><b>$subject</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$subject">TCPDF::$subject</a></dd>
|
||||
<dt><b>$svgclipid</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgclipid">TCPDF::$svgclipid</a></dd>
|
||||
<dt><b>$svgclipmode</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgclipmode">TCPDF::$svgclipmode</a></dd>
|
||||
<dt><b>$svgclippaths</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgclippaths">TCPDF::$svgclippaths</a></dd>
|
||||
<dt><b>$svgdefs</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgdefs">TCPDF::$svgdefs</a></dd>
|
||||
<dt><b>$svgdefsmode</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgdefsmode">TCPDF::$svgdefsmode</a></dd>
|
||||
<dt><b>$svgdir</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgdir">TCPDF::$svgdir</a></dd>
|
||||
<dt><b>$svggradientid</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svggradientid">TCPDF::$svggradientid</a></dd>
|
||||
<dt><b>$svggradients</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svggradients">TCPDF::$svggradients</a></dd>
|
||||
<dt><b>$svginheritprop</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svginheritprop">TCPDF::$svginheritprop</a></dd>
|
||||
<dt><b>$svgstyles</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgstyles">TCPDF::$svgstyles</a></dd>
|
||||
<dt><b>$svgtext</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgtext">TCPDF::$svgtext</a></dd>
|
||||
<dt><b>$svgunit</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$svgunit">TCPDF::$svgunit</a></dd>
|
||||
<dt><b>Scale</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodScale">TCPDF::Scale()</a><br> Vertical and horizontal non-proportional Scaling.</dd>
|
||||
<dt><b>ScaleX</b></dt>
|
||||
@ -1496,6 +1544,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodScaleXY">TCPDF::ScaleXY()</a><br> Vertical and horizontal proportional Scaling.</dd>
|
||||
<dt><b>ScaleY</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodScaleY">TCPDF::ScaleY()</a><br> Vertical Scaling.</dd>
|
||||
<dt><b>segSVGContentHandler</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsegSVGContentHandler">TCPDF::segSVGContentHandler()</a><br> Sets the character data handler function for the XML parser.</dd>
|
||||
<dt><b>selectColumn</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodselectColumn">TCPDF::selectColumn()</a><br> Set position at a given column</dd>
|
||||
<dt><b>serializeTCPDFtagParameters</b></dt>
|
||||
@ -1632,6 +1682,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetPrintHeader">TCPDF::setPrintHeader()</a><br> Set a flag to print page header.</dd>
|
||||
<dt><b>SetProtection</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetProtection">TCPDF::SetProtection()</a><br> Set document protection</dd>
|
||||
<dt><b>setRasterizeVectorImages</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetRasterizeVectorImages">TCPDF::setRasterizeVectorImages()</a><br> Enable/disable rasterization of SVG images using ImageMagick library.</dd>
|
||||
<dt><b>SetRightMargin</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetRightMargin">TCPDF::SetRightMargin()</a><br> Defines the right margin. The method can be called before creating the first page.</dd>
|
||||
<dt><b>setRTL</b></dt>
|
||||
@ -1642,6 +1694,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetSpacesRE">TCPDF::setSpacesRE()</a><br> Set regular expression to detect withespaces or word separators.</dd>
|
||||
<dt><b>SetSubject</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetSubject">TCPDF::SetSubject()</a><br> Defines the subject of the document.</dd>
|
||||
<dt><b>setSVGStyles</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetSVGStyles">TCPDF::setSVGStyles()</a><br> Apply the requested SVG styles (*** TO BE COMPLETED ***)</dd>
|
||||
<dt><b>setTableHeader</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodsetTableHeader">TCPDF::setTableHeader()</a><br> This method is used to render the table header on new page (if any).</dd>
|
||||
<dt><b>setTempRTL</b></dt>
|
||||
@ -1686,6 +1740,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstartPage">TCPDF::startPage()</a><br> Starts a new page to the document. The page must be closed using the endPage() function.</dd>
|
||||
<dt><b>startPageGroup</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstartPageGroup">TCPDF::startPageGroup()</a><br> Create a new page group.</dd>
|
||||
<dt><b>startSVGElementHandler</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstartSVGElementHandler">TCPDF::startSVGElementHandler()</a><br> Sets the opening SVG element handler function for the XML parser. (*** TO BE COMPLETED ***)</dd>
|
||||
<dt><b>startTransaction</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodstartTransaction">TCPDF::startTransaction()</a><br> Stores a copy of the current TCPDF object used for undo operation.</dd>
|
||||
<dt><b>StartTransform</b></dt>
|
||||
@ -1696,6 +1752,10 @@
|
||||
<dd>in file qrcode.php, constant <a href="com-tecnick-tcpdf/_qrcode.php.html#defineSTRUCTURE_HEADER_BITS">STRUCTURE_HEADER_BITS</a><br> Number of header bits for structured mode</dd>
|
||||
<dt><b>str_split</b></dt>
|
||||
<dd>in file qrcode.php, function <a href="com-tecnick-tcpdf/_qrcode.php.html#functionstr_split">str_split()</a><br> Convert a string to an array (needed for PHP4 compatibility)</dd>
|
||||
<dt><b>SVGPath</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSVGPath">TCPDF::SVGPath()</a><br> Draws an SVG path</dd>
|
||||
<dt><b>SVGTransform</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSVGTransform">TCPDF::SVGTransform()</a><br> Apply SVG graphic transformation matrix.</dd>
|
||||
<dt><b>swapMargins</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodswapMargins">TCPDF::swapMargins()</a><br> Swap the left and right margins.</dd>
|
||||
</dl>
|
||||
@ -1901,7 +1961,7 @@
|
||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -33,9 +33,13 @@
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<a href="#Post-parsing">Post-parsing</a><br>
|
||||
<a name="2dbarcodes.php"></a>
|
||||
<h1>2dbarcodes.php</h1>
|
||||
<h2>Errors:</h2><br>
|
||||
<b>Error on line 79</b> - Text cannot be outside of li tag in a DocBlock list, parsing will be incorrect<br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:51 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:17 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -64,7 +64,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -64,7 +64,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 21 Apr 2010 16:32:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 05 May 2010 11:56:12 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//============================================================+
|
||||
// File name : example_012.php
|
||||
// Begin : 2008-03-04
|
||||
// Last Update : 2010-04-05
|
||||
// Last Update : 2010-05-04
|
||||
//
|
||||
// Description : Example 012 for TCPDF class
|
||||
// Graphic Functions
|
||||
@ -24,7 +24,7 @@
|
||||
* @package com.tecnick.tcpdf
|
||||
* @abstract TCPDF - Example: Graphic Functions
|
||||
* @author Nicola Asuni
|
||||
* @copyright 2004-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||
* @copyright 2004-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://tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @since 2008-03-04
|
||||
@ -166,6 +166,36 @@ $pdf->Arrow($x0=200, $y0=280, $x1=190, $y1=263, $head_style=1, $arm_size=5, $arm
|
||||
$pdf->Arrow($x0=200, $y0=280, $x1=195, $y1=261, $head_style=2, $arm_size=5, $arm_angle=15);
|
||||
$pdf->Arrow($x0=200, $y0=280, $x1=200, $y1=260, $head_style=3, $arm_size=5, $arm_angle=15);
|
||||
|
||||
// - . - . - . - . - . - . - . - . - . - . - . - . - . - . -
|
||||
|
||||
// ellipse
|
||||
|
||||
// add a page
|
||||
$pdf->AddPage();
|
||||
|
||||
// center of ellipse
|
||||
$xc=100;
|
||||
$yc=100;
|
||||
|
||||
// X Y axis
|
||||
$pdf->SetDrawColor(200, 200, 200);
|
||||
$pdf->Line($xc-50, $yc, $xc+50, $yc);
|
||||
$pdf->Line($xc, $yc-50, $xc, $yc+50);
|
||||
|
||||
// ellipse axis
|
||||
$pdf->SetDrawColor(200, 220, 255);
|
||||
$pdf->Line($xc-50, $yc-50, $xc+50, $yc+50);
|
||||
$pdf->Line($xc-50, $yc+50, $xc+50, $yc-50);
|
||||
|
||||
// ellipse
|
||||
$pdf->SetDrawColor(200, 255, 200);
|
||||
$pdf->Ellipse($xc, $yc, $rx=30, $ry=15, $angle=45, $astart=0, $afinish=360, $style='D', $line_style=array(), $fill_color=array(), $nc=2);
|
||||
|
||||
// ellipse arc
|
||||
$pdf->SetDrawColor(255, 0, 0);
|
||||
$pdf->Ellipse($xc, $yc, $rx=30, $ry=15, $angle=45, $astart=45, $afinish=90, $style='D', $line_style=array(), $fill_color=array(), $nc=2);
|
||||
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
//Close and output PDF document
|
||||
|
@ -2,7 +2,7 @@
|
||||
//============================================================+
|
||||
// File name : example_027.php
|
||||
// Begin : 2008-03-04
|
||||
// Last Update : 2009-09-30
|
||||
// Last Update : 2010-05-02
|
||||
//
|
||||
// Description : Example 027 for TCPDF class
|
||||
// 1D Barcodes
|
||||
@ -78,10 +78,11 @@ $pdf->SetFont('helvetica', '', 10);
|
||||
// add a page
|
||||
$pdf->AddPage();
|
||||
|
||||
// define barcode style
|
||||
$style = array(
|
||||
'position' => 'S',
|
||||
'border' => true,
|
||||
'padding' => 4,
|
||||
'padding' => 'auto',
|
||||
'fgcolor' => array(0,0,0),
|
||||
'bgcolor' => false, //array(255,255,255),
|
||||
'text' => true,
|
||||
@ -94,182 +95,182 @@ $style = array(
|
||||
|
||||
// CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
|
||||
$pdf->Cell(0, 0, 'CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 39', 'C39', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('CODE 39', 'C39', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 39 + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'CODE 39 + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 39 +', 'C39+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('CODE 39 +', 'C39+', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 39 EXTENDED
|
||||
$pdf->Cell(0, 0, 'CODE 39 EXTENDED', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 39 E', 'C39E', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('CODE 39 E', 'C39E', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 39 EXTENDED + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'CODE 39 EXTENDED + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 39 E+', 'C39E+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('CODE 39 E+', 'C39E+', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 93 - USS-93
|
||||
$pdf->Cell(0, 0, 'CODE 93 - USS-93', 0, 1);
|
||||
$pdf->write1DBarcode('TEST93', 'C93', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('TEST93', 'C93', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// Standard 2 of 5
|
||||
$pdf->Cell(0, 0, 'Standard 2 of 5', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'S25', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('1234567', 'S25', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// Standard 2 of 5 + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'Standard 2 of 5 + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'S25+', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
|
||||
// Standard 2 of 5 + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'Standard 2 of 5 + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'S25+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// Interleaved 2 of 5
|
||||
$pdf->Cell(0, 0, 'Interleaved 2 of 5', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'I25', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('1234567', 'I25', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// Interleaved 2 of 5 + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'Interleaved 2 of 5 + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'I25+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('1234567', 'I25+', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 128 A
|
||||
$pdf->Cell(0, 0, 'CODE 128 A', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 128 A', 'C128A', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('CODE 128 A', 'C128A', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 128 B
|
||||
$pdf->Cell(0, 0, 'CODE 128 B', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 128 B', 'C128B', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('CODE 128 B', 'C128B', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 128 C
|
||||
$pdf->Cell(0, 0, 'CODE 128 C', 0, 1);
|
||||
$pdf->write1DBarcode('0123456789', 'C128C', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('0123456789', 'C128C', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
$pdf->Ln();
|
||||
|
||||
// EAN 8
|
||||
$pdf->Cell(0, 0, 'EAN 8', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'EAN8', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('1234567', 'EAN8', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// EAN 13
|
||||
$pdf->Cell(0, 0, 'EAN 13', 0, 1);
|
||||
$pdf->write1DBarcode('1234567890128', 'EAN13', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('1234567890128', 'EAN13', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
|
||||
// 2-Digits UPC-Based Extention
|
||||
$pdf->Cell(0, 0, '2-Digits UPC-Based Extention', 0, 1);
|
||||
$pdf->write1DBarcode('34', 'EAN2', '', '', 20, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('34', 'EAN2', '', '', 20, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// 5-Digits UPC-Based Extention
|
||||
$pdf->Cell(0, 0, '5-Digits UPC-Based Extention', 0, 1);
|
||||
$pdf->write1DBarcode('51234', 'EAN5', '', '', 40, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('51234', 'EAN5', '', '', 40, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// UPC-A
|
||||
$pdf->Cell(0, 0, 'UPC-A', 0, 1);
|
||||
$pdf->write1DBarcode('12345678901', 'UPCA', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('12345678901', 'UPCA', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// UPC-E
|
||||
$pdf->Cell(0, 0, 'UPC-E', 0, 1);
|
||||
$pdf->write1DBarcode('04210000526', 'UPCE', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('04210000526', 'UPCE', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
$pdf->Ln();
|
||||
|
||||
// MSI
|
||||
$pdf->Cell(0, 0, 'MSI', 0, 1);
|
||||
$pdf->write1DBarcode('80523', 'MSI', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('80523', 'MSI', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// MSI + CHECKSUM (module 11)
|
||||
$pdf->Cell(0, 0, 'MSI + CHECKSUM (module 11)', 0, 1);
|
||||
$pdf->write1DBarcode('80523', 'MSI+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('80523', 'MSI+', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
|
||||
// IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200
|
||||
$pdf->Cell(0, 0, 'IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200', 0, 1);
|
||||
$pdf->write1DBarcode('01234567094987654321-01234567891', 'IMB', '', '', 130, 20, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('01234567094987654321-01234567891', 'IMB', '', '', 130, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// POSTNET
|
||||
$pdf->Cell(0, 0, 'POSTNET', 0, 1);
|
||||
$pdf->write1DBarcode('98000', 'POSTNET', '', '', 80, 20, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('98000', 'POSTNET', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// PLANET
|
||||
$pdf->Cell(0, 0, 'PLANET', 0, 1);
|
||||
$pdf->write1DBarcode('98000', 'PLANET', '', '', 80, 20, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('98000', 'PLANET', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
|
||||
$pdf->Cell(0, 0, 'RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)', 0, 1);
|
||||
$pdf->write1DBarcode('SN34RD1A', 'RMS4CC', '', '', 80, 20, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('SN34RD1A', 'RMS4CC', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// KIX (Klant index - Customer index)
|
||||
$pdf->Cell(0, 0, 'KIX (Klant index - Customer index)', 0, 1);
|
||||
$pdf->write1DBarcode('SN34RDX1A', 'KIX', '', '', 80, 20, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('SN34RDX1A', 'KIX', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
|
||||
// CODABAR
|
||||
$pdf->Cell(0, 0, 'CODABAR', 0, 1);
|
||||
$pdf->write1DBarcode('123456789', 'CODABAR', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('123456789', 'CODABAR', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 11
|
||||
$pdf->Cell(0, 0, 'CODE 11', 0, 1);
|
||||
$pdf->write1DBarcode('123-456-789', 'CODE11', '', '', 80, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('123-456-789', 'CODE11', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// PHARMACODE
|
||||
$pdf->Cell(0, 0, 'PHARMACODE', 0, 1);
|
||||
$pdf->write1DBarcode('789', 'PHARMA', '', '', 30, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('789', 'PHARMA', '', '', 30, 15, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// PHARMACODE TWO-TRACKS
|
||||
$pdf->Cell(0, 0, 'PHARMACODE TWO-TRACKS', 0, 1);
|
||||
$pdf->write1DBarcode('105', 'PHARMA2T', '', '', 20, 30, 0.4, $style, 'N');
|
||||
$pdf->write1DBarcode('105', 'PHARMA2T', '', '', 20, 15, 0.4, $style, 'N');
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
// TEST BARCDE ALIGNMENTS
|
||||
// TEST BARCODE ALIGNMENTS
|
||||
|
||||
// add a page
|
||||
$pdf->AddPage();
|
||||
@ -290,6 +291,29 @@ $pdf->Ln();
|
||||
$style['position'] = 'R';
|
||||
$pdf->write1DBarcode('RIGHT', 'C128A', '', '', 180, 30, 0.4, $style, 'N');
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
// TEST BARCODE STYLES
|
||||
|
||||
// add a page
|
||||
$pdf->AddPage();
|
||||
|
||||
// define barcode style
|
||||
$style = array(
|
||||
'position' => 'S',
|
||||
'border' => true,
|
||||
'padding' => 'auto',
|
||||
'fgcolor' => array(0,0,128),
|
||||
'bgcolor' => array(255,255,128),
|
||||
'text' => true,
|
||||
'font' => 'helvetica',
|
||||
'fontsize' => 8,
|
||||
'stretchtext' => 4
|
||||
);
|
||||
|
||||
// CODE 39 EXTENDED + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'CODE 39 EXTENDED + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 39 E+', 'C39E+', '', '', 80, 15, 0.4, $style, 'N');
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
//Close and output PDF document
|
||||
|
@ -2,7 +2,7 @@
|
||||
//============================================================+
|
||||
// File name : example_031.php
|
||||
// Begin : 2008-06-09
|
||||
// Last Update : 2009-09-30
|
||||
// Last Update : 2010-05-04
|
||||
//
|
||||
// Description : Example 031 for TCPDF class
|
||||
// Pie Chart
|
||||
@ -24,7 +24,7 @@
|
||||
* @package com.tecnick.tcpdf
|
||||
* @abstract TCPDF - Example: Pie Chart
|
||||
* @author Nicola Asuni
|
||||
* @copyright 2004-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||
* @copyright 2004-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://tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @since 2008-06-09
|
||||
@ -75,11 +75,11 @@ $yc = 55;
|
||||
$r = 40;
|
||||
|
||||
$pdf->SetFillColor(120, 120, 255);
|
||||
$pdf->PieSector($xc, $yc, $r, 20, 120);
|
||||
$pdf->PieSector($xc, $yc, $r, 20, 120, 'FD', false, 0, 2);
|
||||
$pdf->SetFillColor(120, 255, 120);
|
||||
$pdf->PieSector($xc, $yc, $r, 120, 250);
|
||||
$pdf->PieSector($xc, $yc, $r, 120, 250, 'FD', false, 0, 2);
|
||||
$pdf->SetFillColor(255, 120, 120);
|
||||
$pdf->PieSector($xc, $yc, $r, 250, 20);
|
||||
$pdf->PieSector($xc, $yc, $r, 250, 20, 'FD', false, 0, 2);
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
//============================================================+
|
||||
// File name : example_050.php
|
||||
// Begin : 2009-04-09
|
||||
// Last Update : 2010-03-23
|
||||
// Last Update : 2010-04-30
|
||||
//
|
||||
// Description : Example 050 for TCPDF class
|
||||
// 2D Barcodes
|
||||
@ -69,12 +69,17 @@ $pdf->setLanguageArray($l);
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
// NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file.
|
||||
|
||||
// set font
|
||||
$pdf->SetFont('helvetica', '', 10);
|
||||
|
||||
// add a page
|
||||
$pdf->AddPage();
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// set style for barcode
|
||||
$style = array(
|
||||
'border' => true,
|
||||
'padding' => 4,
|
||||
@ -82,46 +87,72 @@ $style = array(
|
||||
'bgcolor' => false, //array(255,255,255)
|
||||
);
|
||||
|
||||
// NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file.
|
||||
// write RAW 2D Barcode
|
||||
$pdf->SetXY(30, 30);
|
||||
$code = '111011101110111,010010001000010,010011001110010,010010000010010,010011101110010';
|
||||
$pdf->write2DBarcode($code, 'RAW', '', '', 30, 20, $style, 'N');
|
||||
|
||||
// write TEST 2D Barcode
|
||||
$pdf->write2DBarcode('X', 'TEST', '', '', 30, 20, $style, 'N');
|
||||
$pdf->SetXY(100, 30);
|
||||
// write RAW2 2D Barcode
|
||||
$code = '[111011101110111][010010001000010][010011001110010][010010000010010][010011101110010]';
|
||||
$pdf->write2DBarcode($code, 'RAW2', '', '', 30, 20, $style, 'N');
|
||||
|
||||
// ---
|
||||
|
||||
$pdf->Ln();
|
||||
$pdf->Cell(0, 0, ' ', 0, 1);
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// set style for barcode
|
||||
$style = array(
|
||||
'border' => false,
|
||||
'padding' => 1,
|
||||
'border' => 2,
|
||||
'padding' => 'auto',
|
||||
'fgcolor' => array(0,0,0),
|
||||
'bgcolor' => false, //array(255,255,255)
|
||||
);
|
||||
|
||||
// QRCODE,L : QR-CODE Low error correction
|
||||
$pdf->Cell(0, 0, 'QRCODE L', 0, 1);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,L', '', '', 30, 30, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
$pdf->SetXY(30, 60);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,L', '', '', 50, 50, $style, 'N');
|
||||
$pdf->Text(30, 55, 'QRCODE L');
|
||||
|
||||
// QRCODE,M : QR-CODE Medium error correction
|
||||
$pdf->Cell(0, 0, 'QRCODE M', 0, 1);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,M', '', '', 30, 30, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
$pdf->SetXY(100, 60);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,M', '', '', 50, 50, $style, 'N');
|
||||
$pdf->Text(100, 55, 'QRCODE M');
|
||||
|
||||
// QRCODE,Q : QR-CODE Better error correction
|
||||
$pdf->Cell(0, 0, 'QRCODE Q', 0, 1);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,Q', '', '', 30, 30, $style, 'N');
|
||||
$pdf->SetXY(30, 120);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,Q', '', '', 50, 50, $style, 'N');
|
||||
$pdf->Text(30, 115, 'QRCODE Q');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// QRCODE,H : QR-CODE Best error correction
|
||||
$pdf->Cell(0, 0, 'QRCODE H', 0, 1);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 30, 30, $style, 'N');
|
||||
$pdf->SetXY(100, 120);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N');
|
||||
$pdf->Text(100, 115, 'QRCODE H');
|
||||
|
||||
$pdf->Ln();
|
||||
// new style
|
||||
$style = array(
|
||||
'border' => 2,
|
||||
'padding' => 'auto',
|
||||
'fgcolor' => array(0,0,255),
|
||||
'bgcolor' => array(255,255,64)
|
||||
);
|
||||
|
||||
// QRCODE,H : QR-CODE Best error correction
|
||||
$pdf->SetXY(30, 180);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N');
|
||||
$pdf->Text(30, 175, 'QRCODE H - COLORED');
|
||||
|
||||
// new style
|
||||
$style = array(
|
||||
'border' => false,
|
||||
'padding' => 0,
|
||||
'fgcolor' => array(128,0,0),
|
||||
'bgcolor' => false
|
||||
);
|
||||
|
||||
// QRCODE,H : QR-CODE Best error correction
|
||||
$pdf->SetXY(100, 180);
|
||||
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N');
|
||||
$pdf->Text(100, 175, 'QRCODE H - NO PADDING');
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
|
@ -62,7 +62,7 @@ echo '<'.'?'.'xml version="1.0" encoding="UTF-8"'.'?'.'>';
|
||||
<li>File attachment: [<a href="example_041.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>Image with Alpha Channel Transparency: [<a href="example_042.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>Disk caching: [<a href="example_043.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>Move and delete page: [<a href="example_044.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>Move, Copy and Delete page: [<a href="example_044.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>Table Of Content with Bookmarks: [<a href="example_045.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>Text hyphenation: [<a href="example_046.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>Transactions and UNDO: [<a href="example_047.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
@ -76,6 +76,7 @@ echo '<'.'?'.'xml version="1.0" encoding="UTF-8"'.'?'.'>';
|
||||
<li>Font Dump: [<a href="example_055.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>Crop Marks and Registration Marks: [<a href="example_056.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>Cell vertical alignments: [<a href="example_057.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
<li>SVG Image: [<a href="example_058.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||
</ol>
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user