32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-11-26 06:17:33 +00:00
This commit is contained in:
nicolaasuni 2010-06-05 22:12:05 +02:00
parent 28f3ef22f6
commit a8e7a2b131
28 changed files with 2041 additions and 1621 deletions

View File

@ -1,42 +1,35 @@
<?php <?php
//============================================================+ //============================================================+
// File name : 2dbarcodes.php // File name : 2dbarcodes.php
// Version : 1.0.005
// Begin : 2009-04-07 // Begin : 2009-04-07
// Last Update : 2010-04-30 // Last Update : 2010-06-05
// Version : 1.0.003 // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// ---------------------------------------------------------------------------- // -------------------------------------------------------------------
// Copyright (C) 2008-2009 Nicola Asuni - Tecnick.com S.r.l. // Copyright (C) 2009-2010 Nicola Asuni - Tecnick.com S.r.l.
// //
// This program is free software: you can redistribute it and/or modify // This file is part of TCPDF software library.
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 2.1 of the License, or
// (at your option) any later version.
// //
// This program is distributed in the hope that it will be useful, // TCPDF is free software: you can redistribute it and/or modify it
// but WITHOUT ANY WARRANTY; without even the implied warranty of // under the terms of the GNU General Public License as published by
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // the Free Software Foundation, either version 3 of the License, or
// GNU Lesser General Public License for more details. // (at your option) any later version.
// //
// You should have received a copy of the GNU Lesser General Public License // TCPDF is distributed in the hope that it will be useful, but
// along with this program. If not, see <http://www.gnu.org/licenses/>. // WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
// //
// See LICENSE.TXT file for more information. // You should have received a copy of the GNU General Public License
// ---------------------------------------------------------------------------- // along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
//
// See LICENSE.TXT file for more information.
// -------------------------------------------------------------------
// //
// Description : PHP class to creates array representations for // Description : PHP class to creates array representations for
// 2D barcodes to be used with TCPDF. // 2D barcodes to be used with TCPDF.
// //
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asuni
// Tecnick.com S.r.l.
// Via della Pace, 11
// 09044 Quartucciu (CA)
// ITALY
// www.tecnick.com
// info@tecnick.com
//============================================================+ //============================================================+
/** /**
@ -44,17 +37,17 @@
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @abstract Functions for generating string representation of 2D barcodes. * @abstract Functions for generating string representation of 2D barcodes.
* @author Nicola Asuni * @author Nicola Asuni
* @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 * @copyright 2009-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 * @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL * @license http://www.gnu.org/copyleft/lesser.html LGPL
* @version 1.0.003 * @version 1.0.005
*/ */
/** /**
* PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).<br> * PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).<br>
* @name TCPDFBarcode * @name TCPDFBarcode
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @version 1.0.003 * @version 1.0.005
* @author Nicola Asuni * @author Nicola Asuni
* @link http://www.tcpdf.org * @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL * @license http://www.gnu.org/copyleft/lesser.html LGPL
@ -75,7 +68,7 @@ class TCPDF2DBarcode {
* <li>$arrcode['num_cols'] required number of columns</li> * <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> * <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 $code code to print
* @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> * @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><li>PDF417 : PDF417 (ISO/IEC 15438:2006)</li><li>PDF417,a,e : PDF417 with aspect ratio (a = width/height) and error correction level (e = 0-8)</li></ul>
*/ */
public function __construct($code, $type) { public function __construct($code, $type) {
$this->setBarcode($code, $type); $this->setBarcode($code, $type);
@ -92,7 +85,7 @@ class TCPDF2DBarcode {
/** /**
* Set the barcode. * Set the barcode.
* @param string $code code to print * @param string $code code to print
* @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> * @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><li>PDF417 : PDF417 (ISO/IEC 15438:2006)</li><li>PDF417,a,e : PDF417 with aspect ratio (a = width/height) and error correction level (e = 0-8)</li></ul>
* @return array * @return array
*/ */
public function setBarcode($code, $type) { public function setBarcode($code, $type) {
@ -108,6 +101,22 @@ class TCPDF2DBarcode {
$this->barcode_array = $qrcode->getBarcodeArray(); $this->barcode_array = $qrcode->getBarcodeArray();
break; break;
} }
case 'PDF417': { // PDF417 (ISO/IEC 15438:2006)
require_once(dirname(__FILE__).'/pdf417.php');
if (!isset($mode[1]) OR ($mode[1] === '')) {
$aspectratio = 2; // default aspect ratio (width / height)
} else {
$aspectratio = floatval($mode[1]);
}
if (!isset($mode[2]) OR ($mode[2] === '')) {
$ecl = -1; // default error correction level (auto)
} else {
$ecl = intval($mode[2]);
}
$qrcode = new PDF417($code, $ecl, $aspectratio);
$this->barcode_array = $qrcode->getBarcodeArray();
break;
}
case 'RAW': case 'RAW':
case 'RAW2': { // RAW MODE case 'RAW2': { // RAW MODE
// remove spaces // remove spaces
@ -118,8 +127,8 @@ class TCPDF2DBarcode {
if ($qrtype == 'RAW') { if ($qrtype == 'RAW') {
// comma-separated rows // comma-separated rows
$rows = explode(',', $code); $rows = explode(',', $code);
} else { } else { // RAW2
// rows enclosed in square parethesis // rows enclosed in square parentheses
$code = substr($code, 1, -1); $code = substr($code, 1, -1);
$rows = explode('][', $code); $rows = explode('][', $code);
} }

View File

@ -1,3 +1,10 @@
5.3.000 (2010-06-05)
- License was changed to GNU-LGPLv3 (see the updated LICENSE.TXT file).
- PDF417 barcode support was added (check the example n. 50).
- The method write2DBarcode() was improved (some parameters were added and other changed - check example n. 50).
------------------------------------------------------------
5.2.000 (2010-06-02) 5.2.000 (2010-06-02)
- IMPORTANT: Support for font subsetting was added by default to reduce the size of documents using large unicode font files. - IMPORTANT: Support for font subsetting was added by default to reduce the size of documents using large unicode font files.
If you embed the whole font in the PDF, the person on the other end can make changes to it even if he didn't have your font. If you embed the whole font in the PDF, the person on the other end can make changes to it even if he didn't have your font.

File diff suppressed because it is too large Load Diff

View File

@ -3,16 +3,16 @@ TCPDF - README
I WISH TO IMPROVE AND EXPAND TCPDF BUT I NEED YOUR SUPPORT. I WISH TO IMPROVE AND EXPAND TCPDF BUT I NEED YOUR SUPPORT.
PLEASE MAKE A DONATION: PLEASE MAKE A DONATION:
http://sourceforge.net/donate/index.php?group_id=128076 http: sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 5.2.000 Version: 5.3.000
Release date: 2010-06-02 Release date: 2010-06-05
Author: Nicola Asuni Author: Nicola Asuni
Copyright (c) 2001-2010: Copyright (c) 2002-2010:
Nicola Asuni Nicola Asuni
Tecnick.com s.r.l. Tecnick.com s.r.l.
Via Della Pace, 11 Via Della Pace, 11
@ -21,39 +21,38 @@ Copyright (c) 2001-2010:
www.tecnick.com www.tecnick.com
URLs: URLs:
http://www.tcpdf.org http: www.tcpdf.org
http://www.sourceforge.net/projects/tcpdf http: www.sourceforge.net/projects/tcpdf
Description: Description:
TCPDF is a PHP class for generating PDF files on-the-fly without requiring external extensions. TCPDF is a PHP class for generating PDF files on-the-fly without requiring external extensions.
TCPDF has been originally derived from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org).
Main Features: Main Features:
// * no external libraries are required for the basic functions; * no external libraries are required for the basic functions;
// * all ISO page formats, custom page formats, custom margins and units of measure; * all ISO page formats, custom page formats, custom margins and units of measure;
// * UTF-8 Unicode and Right-To-Left languages; * UTF-8 Unicode and Right-To-Left languages;
// * TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts; * TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
// * Font subsetting; * Font subsetting;
// * methods to publish some XHTML + CSS code, Javascript and Forms; * methods to publish some XHTML + CSS code, Javascript and Forms;
// * images, graphic (geometric figures) and transformation methods; * images, graphic (geometric figures) and transformation methods;
// * 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) * 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; * 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, PDF417;
// * Grayscale, RGB, CMYK, Spot Colors and Transparencies; * Grayscale, RGB, CMYK, Spot Colors and Transparencies;
// * automatic page header and footer management; * automatic page header and footer management;
// * document encryption and digital signature certifications; * document encryption and digital signature certifications;
// * transactions to UNDO commands; * transactions to UNDO commands;
// * PDF annotations, including links, text and file attachments; * PDF annotations, including links, text and file attachments;
// * text rendering modes (fill, stroke and clipping); * text rendering modes (fill, stroke and clipping);
// * multiple columns mode; * multiple columns mode;
// * bookmarks and table of content; * bookmarks and table of content;
// * text hyphenation; * text hyphenation;
// * automatic page break, line break and text alignments including justification; * automatic page break, line break and text alignments including justification;
// * automatic page numbering and page groups; * automatic page numbering and page groups;
// * move and delete pages; * move and delete pages;
// * page compression (requires php-zlib extension); * page compression (requires php-zlib extension);
Installation (full instructions on http://www.tcpdf.org): Installation (full instructions on http: www.tcpdf.org):
1. copy the folder on your Web server 1. copy the folder on your Web server
2. set your installation path and other parameters on the config/tcpdf_config.php 2. set your installation path and other parameters on the config/tcpdf_config.php
3. call the examples/example_001.php page with your browser to see an example 3. call the examples/example_001.php page with your browser to see an example
@ -62,24 +61,24 @@ Source Code Documentation:
doc/index.html doc/index.html
For Additional Documentation: For Additional Documentation:
http://www.tcpdf.org http: www.tcpdf.org
License License
Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l. Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
This program is free software: you can redistribute it and/or modify TCPDF is free software: you can redistribute it and/or modify it
it under the terms of the GNU Lesser General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2.1 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, TCPDF is distributed in the hope that it will be useful, but
but WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
GNU Lesser General Public License for more details. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with TCPDF. If not, see <http: www.gnu.org/licenses/>.
See LICENSE.TXT file for more information. See LICENSE.TXT file for more information.
============================================================ ============================================================

View File

@ -1,42 +1,35 @@
<?php <?php
//============================================================+ //============================================================+
// File name : barcodes.php // File name : barcodes.php
// Version : 1.0.010
// Begin : 2008-06-09 // Begin : 2008-06-09
// Last Update : 2009-08-26 // Last Update : 2010-06-03
// Version : 1.0.009 // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// ---------------------------------------------------------------------------- // -------------------------------------------------------------------
// Copyright (C) 2008-2009 Nicola Asuni - Tecnick.com S.r.l. // Copyright (C) 2008-2010 Nicola Asuni - Tecnick.com S.r.l.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 2.1 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// See LICENSE.TXT file for more information.
// ----------------------------------------------------------------------------
// //
// Description : PHP class to creates array representations for // This file is part of TCPDF software library.
//
// TCPDF is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// TCPDF is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
//
// See LICENSE.TXT file for more information.
// -------------------------------------------------------------------
//
// Description : PHP class to creates array representations for
// common 1D barcodes to be used with TCPDF. // common 1D barcodes to be used with TCPDF.
// //
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asuni
// Tecnick.com S.r.l.
// Via della Pace, 11
// 09044 Quartucciu (CA)
// ITALY
// www.tecnick.com
// info@tecnick.com
//============================================================+ //============================================================+
/** /**
@ -60,15 +53,15 @@
* @license http://www.gnu.org/copyleft/lesser.html LGPL * @license http://www.gnu.org/copyleft/lesser.html LGPL
*/ */
class TCPDFBarcode { class TCPDFBarcode {
/** /**
* @var array representation of barcode. * @var array representation of barcode.
* @access protected * @access protected
*/ */
protected $barcode_array; protected $barcode_array;
/** /**
* This is the class constructor. * This is the class constructor.
* Return an array representations for common 1D barcodes:<ul> * Return an array representations for common 1D barcodes:<ul>
* <li>$arrcode['code'] code to be printed on text label</li> * <li>$arrcode['code'] code to be printed on text label</li>
* <li>$arrcode['maxh'] max bar height</li> * <li>$arrcode['maxh'] max bar height</li>
@ -84,16 +77,16 @@ class TCPDFBarcode {
public function __construct($code, $type) { public function __construct($code, $type) {
$this->setBarcode($code, $type); $this->setBarcode($code, $type);
} }
/** /**
* Return an array representations of barcode. * Return an array representations of barcode.
* @return array * @return array
*/ */
public function getBarcodeArray() { public function getBarcodeArray() {
return $this->barcode_array; return $this->barcode_array;
} }
/** /**
* Set the barcode. * Set the barcode.
* @param string $code code to print * @param string $code code to print
* @param string $type type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul> * @param string $type type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul>
@ -225,7 +218,7 @@ class TCPDFBarcode {
} }
$this->barcode_array = $arrcode; $this->barcode_array = $arrcode;
} }
/** /**
* CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9. * CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
* General-purpose code in very wide use world-wide * General-purpose code in very wide use world-wide
@ -279,7 +272,7 @@ class TCPDFBarcode {
$chr['+'] = '121112121'; $chr['+'] = '121112121';
$chr['%'] = '111212121'; $chr['%'] = '111212121';
$chr['*'] = '121121211'; $chr['*'] = '121121211';
$code = strtoupper($code); $code = strtoupper($code);
if ($extended) { if ($extended) {
// extended mode // extended mode
@ -294,7 +287,7 @@ class TCPDFBarcode {
} }
// add start and stop codes // add start and stop codes
$code = '*'.$code.'*'; $code = '*'.$code.'*';
$bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array()); $bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array());
$k = 0; $k = 0;
$clen = strlen($code); $clen = strlen($code);
@ -321,7 +314,7 @@ class TCPDFBarcode {
} }
return $bararray; return $bararray;
} }
/** /**
* Encode a string to be used for CODE 39 Extended mode. * Encode a string to be used for CODE 39 Extended mode.
* @param string $code code to represent. * @param string $code code to represent.
@ -372,7 +365,7 @@ class TCPDFBarcode {
} }
return $code_ext; return $code_ext;
} }
/** /**
* Calculate CODE 39 checksum (modulo 43). * Calculate CODE 39 checksum (modulo 43).
* @param string $code code to represent. * @param string $code code to represent.
@ -394,7 +387,7 @@ class TCPDFBarcode {
$j = ($sum % 43); $j = ($sum % 43);
return $chars[$j]; return $chars[$j];
} }
/** /**
* CODE 93 - USS-93 * CODE 93 - USS-93
* Compact code similar to Code 39 * Compact code similar to Code 39
@ -521,10 +514,10 @@ class TCPDFBarcode {
} }
$bararray['bcode'][$k] = array('t' => true, 'w' => 1, 'h' => 1, 'p' => 0); $bararray['bcode'][$k] = array('t' => true, 'w' => 1, 'h' => 1, 'p' => 0);
$bararray['maxw'] += 1; $bararray['maxw'] += 1;
++$k; ++$k;
return $bararray; return $bararray;
} }
/** /**
* Calculate CODE 93 checksum (modulo 47). * Calculate CODE 93 checksum (modulo 47).
* @param string $code code to represent. * @param string $code code to represent.
@ -538,7 +531,7 @@ class TCPDFBarcode {
'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V',
'W', 'X', 'Y', 'Z', '-', '.', ' ', '$', '/', '+', '%'); 'W', 'X', 'Y', 'Z', '-', '.', ' ', '$', '/', '+', '%');
// translate special characters // translate special characters
$code = strtr($code, chr(128).chr(129).chr(130).chr(131), '$/+%'); $code = strtr($code, chr(128).chr(129).chr(130).chr(131), '$/+%');
$len = strlen($code); $len = strlen($code);
// calculate check digit C // calculate check digit C
$p = 1; $p = 1;
@ -569,7 +562,7 @@ class TCPDFBarcode {
$k = $chars[$check]; $k = $chars[$check];
return $c.$k; return $c.$k;
} }
/** /**
* Checksum for standard 2 of 5 barcodes. * Checksum for standard 2 of 5 barcodes.
* @param string $code code to process. * @param string $code code to process.
@ -592,10 +585,10 @@ class TCPDFBarcode {
} }
return $r; return $r;
} }
/** /**
* MSI. * MSI.
* Variation of Plessey code, with similar applications * Variation of Plessey code, with similar applications
* Contains digits (0 to 9) and encodes the data only in the width of bars. * Contains digits (0 to 9) and encodes the data only in the width of bars.
* @param string $code code to represent. * @param string $code code to represent.
* @param boolean $checksum if true add a checksum to the code (modulo 11) * @param boolean $checksum if true add a checksum to the code (modulo 11)
@ -646,12 +639,12 @@ class TCPDFBarcode {
return false; return false;
} }
$seq .= $chr[$digit]; $seq .= $chr[$digit];
} }
$seq .= '1001'; // right guard $seq .= '1001'; // right guard
$bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array()); $bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array());
return $this->binseq_to_array($seq, $bararray); return $this->binseq_to_array($seq, $bararray);
} }
/** /**
* Standard 2 of 5 barcodes. * Standard 2 of 5 barcodes.
* Used in airline ticket marking, photofinishing * Used in airline ticket marking, photofinishing
@ -689,12 +682,12 @@ class TCPDFBarcode {
return false; return false;
} }
$seq .= $chr[$digit]; $seq .= $chr[$digit];
} }
$seq .= '1101011'; $seq .= '1101011';
$bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array()); $bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array());
return $this->binseq_to_array($seq, $bararray); return $this->binseq_to_array($seq, $bararray);
} }
/** /**
* Convert binary barcode sequence to TCPDF barcode array * Convert binary barcode sequence to TCPDF barcode array
* @param string $seq barcode as binary sequence * @param string $seq barcode as binary sequence
@ -722,7 +715,7 @@ class TCPDFBarcode {
} }
return $bararray; return $bararray;
} }
/** /**
* Interleaved 2 of 5 barcodes. * Interleaved 2 of 5 barcodes.
* Compact numeric code, widely used in industry, air cargo * Compact numeric code, widely used in industry, air cargo
@ -755,7 +748,7 @@ class TCPDFBarcode {
} }
// add start and stop codes // add start and stop codes
$code = 'AA'.strtolower($code).'ZA'; $code = 'AA'.strtolower($code).'ZA';
$bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array()); $bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array());
$k = 0; $k = 0;
$clen = strlen($code); $clen = strlen($code);
@ -787,9 +780,9 @@ class TCPDFBarcode {
} }
return $bararray; return $bararray;
} }
/** /**
* C128 barcodes. * C128 barcodes.
* Very capable code, excellent density, high reliability; in very wide use world-wide * Very capable code, excellent density, high reliability; in very wide use world-wide
* @param string $code code to represent. * @param string $code code to represent.
* @param string $type barcode type: A, B or C * @param string $type barcode type: A, B or C
@ -979,9 +972,9 @@ class TCPDFBarcode {
++$k; ++$k;
} }
} }
return $bararray; return $bararray;
} }
/** /**
* EAN13 and UPC-A barcodes. * EAN13 and UPC-A barcodes.
* EAN13: European Article Numbering international retail product code * EAN13: European Article Numbering international retail product code
@ -1175,7 +1168,7 @@ class TCPDFBarcode {
} }
return $bararray; return $bararray;
} }
/** /**
* UPC-Based Extentions * UPC-Based Extentions
* 2-Digit Ext.: Used to indicate magazines and newspaper issue numbers * 2-Digit Ext.: Used to indicate magazines and newspaper issue numbers
@ -1240,7 +1233,7 @@ class TCPDFBarcode {
'7'=>array('A','B','A','B','A'), '7'=>array('A','B','A','B','A'),
'8'=>array('A','B','A','A','B'), '8'=>array('A','B','A','A','B'),
'9'=>array('A','A','B','A','B') '9'=>array('A','A','B','A','B')
); );
$p = $parities[$len][$r]; $p = $parities[$len][$r];
$seq = '1011'; // left guard bar $seq = '1011'; // left guard bar
$seq .= $codes[$p[0]][$code{0}]; $seq .= $codes[$p[0]][$code{0}];
@ -1251,7 +1244,7 @@ class TCPDFBarcode {
$bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array()); $bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array());
return $this->binseq_to_array($seq, $bararray); return $this->binseq_to_array($seq, $bararray);
} }
/** /**
* POSTNET and PLANET barcodes. * POSTNET and PLANET barcodes.
* Used by U.S. Postal Service for automated mail sorting * Used by U.S. Postal Service for automated mail sorting
@ -1323,7 +1316,7 @@ class TCPDFBarcode {
$bararray['maxw'] += 1; $bararray['maxw'] += 1;
return $bararray; return $bararray;
} }
/** /**
* RMS4CC - CBC - KIX * RMS4CC - CBC - KIX
* RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code) - KIX (Klant index - Customer index) * RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code) - KIX (Klant index - Customer index)
@ -1376,7 +1369,7 @@ class TCPDFBarcode {
'W' => array(1,2,4,3), 'W' => array(1,2,4,3),
'X' => array(2,1,3,4), 'X' => array(2,1,3,4),
'Y' => array(2,1,4,3), 'Y' => array(2,1,4,3),
'Z' => array(2,2,3,3) 'Z' => array(2,2,3,3)
); );
$code = strtoupper($code); $code = strtoupper($code);
$len = strlen($code); $len = strlen($code);
@ -1476,7 +1469,7 @@ class TCPDFBarcode {
} }
return $bararray; return $bararray;
} }
/** /**
* CODABAR barcodes. * CODABAR barcodes.
* Older code often used in library systems, sometimes in blood banks * Older code often used in library systems, sometimes in blood banks
@ -1532,7 +1525,7 @@ class TCPDFBarcode {
} }
return $bararray; return $bararray;
} }
/** /**
* CODE11 barcodes. * CODE11 barcodes.
* Used primarily for labeling telecommunications equipment * Used primarily for labeling telecommunications equipment
@ -1555,7 +1548,7 @@ class TCPDFBarcode {
'-' => '112111', '-' => '112111',
'S' => '112211' 'S' => '112211'
); );
$bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array()); $bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array());
$k = 0; $k = 0;
$w = 0; $w = 0;
@ -1580,7 +1573,7 @@ class TCPDFBarcode {
$check %= 11; $check %= 11;
if ($check == 10) { if ($check == 10) {
$check = '-'; $check = '-';
} }
$code .= $check; $code .= $check;
if ($len > 10) { if ($len > 10) {
// calculate check digit K // calculate check digit K
@ -1624,7 +1617,7 @@ class TCPDFBarcode {
} }
return $bararray; return $bararray;
} }
/** /**
* Pharmacode * Pharmacode
* Contains digits (0 to 9) * Contains digits (0 to 9)
@ -1650,7 +1643,7 @@ class TCPDFBarcode {
$bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array()); $bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 1, 'bcode' => array());
return $this->binseq_to_array($seq, $bararray); return $this->binseq_to_array($seq, $bararray);
} }
/** /**
* Pharmacode two-track * Pharmacode two-track
* Contains digits (0 to 9) * Contains digits (0 to 9)
@ -1710,11 +1703,11 @@ class TCPDFBarcode {
--$bararray['maxw']; --$bararray['maxw'];
return $bararray; return $bararray;
} }
/** /**
* IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200 * IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200
* (requires PHP bcmath extension) * (requires PHP bcmath extension)
* Intelligent Mail barcode is a 65-bar code for use on mail in the United States. * Intelligent Mail barcode is a 65-bar code for use on mail in the United States.
* The fields are described as follows:<ul><li>The Barcode Identifier shall be assigned by USPS to encode the presort identification that is currently printed in human readable form on the optional endorsement line (OEL) as well as for future USPS use. This shall be two digits, with the second digit in the range of 04. The allowable encoding ranges shall be 0004, 1014, 2024, 3034, 4044, 5054, 6064, 7074, 8084, and 9094.</li><li>The Service Type Identifier shall be assigned by USPS for any combination of services requested on the mailpiece. The allowable encoding range shall be 000http://it2.php.net/manual/en/function.dechex.php999. Each 3-digit value shall correspond to a particular mail class with a particular combination of service(s). Each service program, such as OneCode Confirm and OneCode ACS, shall provide the list of Service Type Identifier values.</li><li>The Mailer or Customer Identifier shall be assigned by USPS as a unique, 6 or 9 digit number that identifies a business entity. The allowable encoding range for the 6 digit Mailer ID shall be 000000- 899999, while the allowable encoding range for the 9 digit Mailer ID shall be 900000000-999999999.</li><li>The Serial or Sequence Number shall be assigned by the mailer for uniquely identifying and tracking mailpieces. The allowable encoding range shall be 000000000999999999 when used with a 6 digit Mailer ID and 000000-999999 when used with a 9 digit Mailer ID. e. The Delivery Point ZIP Code shall be assigned by the mailer for routing the mailpiece. This shall replace POSTNET for routing the mailpiece to its final delivery point. The length may be 0, 5, 9, or 11 digits. The allowable encoding ranges shall be no ZIP Code, 0000099999, 000000000999999999, and 0000000000099999999999.</li></ul> * The fields are described as follows:<ul><li>The Barcode Identifier shall be assigned by USPS to encode the presort identification that is currently printed in human readable form on the optional endorsement line (OEL) as well as for future USPS use. This shall be two digits, with the second digit in the range of 04. The allowable encoding ranges shall be 0004, 1014, 2024, 3034, 4044, 5054, 6064, 7074, 8084, and 9094.</li><li>The Service Type Identifier shall be assigned by USPS for any combination of services requested on the mailpiece. The allowable encoding range shall be 000http://it2.php.net/manual/en/function.dechex.php999. Each 3-digit value shall correspond to a particular mail class with a particular combination of service(s). Each service program, such as OneCode Confirm and OneCode ACS, shall provide the list of Service Type Identifier values.</li><li>The Mailer or Customer Identifier shall be assigned by USPS as a unique, 6 or 9 digit number that identifies a business entity. The allowable encoding range for the 6 digit Mailer ID shall be 000000- 899999, while the allowable encoding range for the 9 digit Mailer ID shall be 900000000-999999999.</li><li>The Serial or Sequence Number shall be assigned by the mailer for uniquely identifying and tracking mailpieces. The allowable encoding range shall be 000000000999999999 when used with a 6 digit Mailer ID and 000000-999999 when used with a 9 digit Mailer ID. e. The Delivery Point ZIP Code shall be assigned by the mailer for routing the mailpiece. This shall replace POSTNET for routing the mailpiece to its final delivery point. The length may be 0, 5, 9, or 11 digits. The allowable encoding ranges shall be no ZIP Code, 0000099999, 000000000999999999, and 0000000000099999999999.</li></ul>
* @param string $code code to print, separate the ZIP (routing code) from the rest using a minus char '-' (BarcodeID_ServiceTypeID_MailerID_SerialNumber-RoutingCode) * @param string $code code to print, separate the ZIP (routing code) from the rest using a minus char '-' (BarcodeID_ServiceTypeID_MailerID_SerialNumber-RoutingCode)
@ -1838,10 +1831,10 @@ class TCPDFBarcode {
--$bararray['maxw']; --$bararray['maxw'];
return $bararray; return $bararray;
} }
/** /**
* Convert large integer number to hexadecimal representation. * Convert large integer number to hexadecimal representation.
* (requires PHP bcmath extension) * (requires PHP bcmath extension)
* @param string $number number to convert specified as a string * @param string $number number to convert specified as a string
* @return string hexadecimal representation * @return string hexadecimal representation
*/ */
@ -1862,10 +1855,10 @@ class TCPDFBarcode {
$hex = array_reverse($hex); $hex = array_reverse($hex);
return implode($hex); return implode($hex);
} }
/** /**
* Convert large hexadecimal number to decimal representation (string). * Convert large hexadecimal number to decimal representation (string).
* (requires PHP bcmath extension) * (requires PHP bcmath extension)
* @param string $hex hexadecimal number to convert specified as a string * @param string $hex hexadecimal number to convert specified as a string
* @return string hexadecimal representation * @return string hexadecimal representation
*/ */
@ -1878,8 +1871,8 @@ class TCPDFBarcode {
$bitval = bcmul($bitval, 16); $bitval = bcmul($bitval, 16);
} }
return $dec; return $dec;
} }
/** /**
* Intelligent Mail Barcode calculation of Frame Check Sequence * Intelligent Mail Barcode calculation of Frame Check Sequence
* @param string $code_arr array of hexadecimal values (13 bytes holding 102 bits right justified). * @param string $code_arr array of hexadecimal values (13 bytes holding 102 bits right justified).
@ -1913,9 +1906,9 @@ class TCPDFBarcode {
$data <<= 1; $data <<= 1;
} }
} }
return $fcs; return $fcs;
} }
/** /**
* Reverse unsigned short value * Reverse unsigned short value
* @param int $num value to reversr * @param int $num value to reversr
@ -1931,7 +1924,7 @@ class TCPDFBarcode {
} }
return $rev; return $rev;
} }
/** /**
* generate Nof13 tables used for Intelligent Mail Barcode * generate Nof13 tables used for Intelligent Mail Barcode
* @param int $n is the type of table: 2 for 2of13 table, 5 for 5of13table * @param int $n is the type of table: 2 for 2of13 table, 5 for 5of13table
@ -1969,10 +1962,10 @@ class TCPDFBarcode {
} }
return $table; return $table;
} }
} // end of class } // end of class
//============================================================+ //============================================================+
// END OF FILE // END OF FILE
//============================================================+ //============================================================+
?> ?>

View File

@ -55,7 +55,7 @@
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -80,7 +80,7 @@ Source Location: /2dbarcodes.php<br /><br />
<h4>Version:</h4> <h4>Version:</h4>
<ul> <ul>
<li>1.0.003</li> <li>1.0.005</li>
</ul> </ul>
@ -119,7 +119,7 @@ Source Location: /2dbarcodes.php<br /><br />
<a name="class_details"></a> <a name="class_details"></a>
<h3>Class Details</h3> <h3>Class Details</h3>
<div class="tags"> <div class="tags">
[line 62]<br /> [line 55]<br />
PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).<br /><br /><br /><br /><br /> PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).<br /><br /><br /><br /><br />
<h4>Tags:</h4> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
@ -128,7 +128,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td> <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr> </tr>
<tr> <tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.003</td> <td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.005</td>
</tr> </tr>
<tr> <tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td> <td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
@ -151,7 +151,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
<a name="var$barcode_array"></a> <a name="var$barcode_array"></a>
<p></p> <p></p>
<h4>$barcode_array = <span class="value">&nbsp;false</span></h4> <h4>$barcode_array = <span class="value">&nbsp;false</span></h4>
<p>[line 68]</p> <p>[line 61]</p>
<br /><br /> <br /><br />
<h4>Tags:</h4> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
@ -184,7 +184,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
<hr /> <hr />
<a name="method__construct"></a> <a name="method__construct"></a>
<h3>constructor __construct <span class="smalllinenumber">[line 80]</span></h3> <h3>constructor __construct <span class="smalllinenumber">[line 73]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -218,7 +218,7 @@ $type)</code>
<tr> <tr>
<td class="type">string&nbsp;&nbsp;</td> <td class="type">string&nbsp;&nbsp;</td>
<td><b>$type</b>&nbsp;&nbsp;</td> <td><b>$type</b>&nbsp;&nbsp;</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> <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><li>PDF417 : PDF417 (ISO/IEC 15438:2006)</li><li>PDF417,a,e : PDF417 with aspect ratio (a = width/height) and error correction level (e = 0-8)</li></ul></td>
</tr> </tr>
</table> </table>
</div><br /> </div><br />
@ -226,7 +226,7 @@ $type)</code>
</div> </div>
<hr /> <hr />
<a name="methodgetBarcodeArray"></a> <a name="methodgetBarcodeArray"></a>
<h3>method getBarcodeArray <span class="smalllinenumber">[line 88]</span></h3> <h3>method getBarcodeArray <span class="smalllinenumber">[line 81]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -251,7 +251,7 @@ $type)</code>
</div> </div>
<hr /> <hr />
<a name="methodsetBarcode"></a> <a name="methodsetBarcode"></a>
<h3>method setBarcode <span class="smalllinenumber">[line 98]</span></h3> <h3>method setBarcode <span class="smalllinenumber">[line 91]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -285,7 +285,7 @@ $type)</code>
<tr> <tr>
<td class="type">string&nbsp;&nbsp;</td> <td class="type">string&nbsp;&nbsp;</td>
<td><b>$type</b>&nbsp;&nbsp;</td> <td><b>$type</b>&nbsp;&nbsp;</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> <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><li>PDF417 : PDF417 (ISO/IEC 15438:2006)</li><li>PDF417,a,e : PDF417 with aspect ratio (a = width/height) and error correction level (e = 0-8)</li></ul></td>
</tr> </tr>
</table> </table>
</div><br /> </div><br />
@ -296,7 +296,7 @@ $type)</code>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -144,7 +144,7 @@ Source Location: /barcodes.php<br /><br />
<a name="class_details"></a> <a name="class_details"></a>
<h3>Class Details</h3> <h3>Class Details</h3>
<div class="tags"> <div class="tags">
[line 62]<br /> [line 55]<br />
PHP class to creates array representations for common 1D barcodes to be used with TCPDF (http://www.tcpdf.org).<br /><br /><br /><br /><br /> PHP class to creates array representations for common 1D barcodes to be used with TCPDF (http://www.tcpdf.org).<br /><br /><br /><br /><br />
<h4>Tags:</h4> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
@ -176,7 +176,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
<a name="var$barcode_array"></a> <a name="var$barcode_array"></a>
<p></p> <p></p>
<h4>$barcode_array = <span class="value"></span></h4> <h4>$barcode_array = <span class="value"></span></h4>
<p>[line 68]</p> <p>[line 61]</p>
<br /><br /> <br /><br />
<h4>Tags:</h4> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
@ -209,7 +209,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
<hr /> <hr />
<a name="method__construct"></a> <a name="method__construct"></a>
<h3>constructor __construct <span class="smalllinenumber">[line 84]</span></h3> <h3>constructor __construct <span class="smalllinenumber">[line 77]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -251,7 +251,7 @@ $type)</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_c128"></a> <a name="methodbarcode_c128"></a>
<h3>method barcode_c128 <span class="smalllinenumber">[line 799]</span></h3> <h3>method barcode_c128 <span class="smalllinenumber">[line 792]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -296,7 +296,7 @@ $type = 'B'])</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_codabar"></a> <a name="methodbarcode_codabar"></a>
<h3>method barcode_codabar <span class="smalllinenumber">[line 1487]</span></h3> <h3>method barcode_codabar <span class="smalllinenumber">[line 1480]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -335,7 +335,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_code11"></a> <a name="methodbarcode_code11"></a>
<h3>method barcode_code11 <span class="smalllinenumber">[line 1543]</span></h3> <h3>method barcode_code11 <span class="smalllinenumber">[line 1536]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -374,7 +374,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_code39"></a> <a name="methodbarcode_code39"></a>
<h3>method barcode_code39 <span class="smalllinenumber">[line 237]</span></h3> <h3>method barcode_code39 <span class="smalllinenumber">[line 230]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -425,7 +425,7 @@ $checksum = false])</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_code93"></a> <a name="methodbarcode_code93"></a>
<h3>method barcode_code93 <span class="smalllinenumber">[line 406]</span></h3> <h3>method barcode_code93 <span class="smalllinenumber">[line 399]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -470,7 +470,7 @@ $checksum)</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_eanext"></a> <a name="methodbarcode_eanext"></a>
<h3>method barcode_eanext <span class="smalllinenumber">[line 1188]</span></h3> <h3>method barcode_eanext <span class="smalllinenumber">[line 1181]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -515,7 +515,7 @@ $len = 5])</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_eanupc"></a> <a name="methodbarcode_eanupc"></a>
<h3>method barcode_eanupc <span class="smalllinenumber">[line 995]</span></h3> <h3>method barcode_eanupc <span class="smalllinenumber">[line 988]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -560,7 +560,7 @@ $len = 13])</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_i25"></a> <a name="methodbarcode_i25"></a>
<h3>method barcode_i25 <span class="smalllinenumber">[line 735]</span></h3> <h3>method barcode_i25 <span class="smalllinenumber">[line 728]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -605,7 +605,7 @@ $checksum = false])</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_imb"></a> <a name="methodbarcode_imb"></a>
<h3>method barcode_imb <span class="smalllinenumber">[line 1724]</span></h3> <h3>method barcode_imb <span class="smalllinenumber">[line 1717]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -644,7 +644,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_msi"></a> <a name="methodbarcode_msi"></a>
<h3>method barcode_msi <span class="smalllinenumber">[line 605]</span></h3> <h3>method barcode_msi <span class="smalllinenumber">[line 598]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -689,7 +689,7 @@ $checksum = false])</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_pharmacode"></a> <a name="methodbarcode_pharmacode"></a>
<h3>method barcode_pharmacode <span class="smalllinenumber">[line 1635]</span></h3> <h3>method barcode_pharmacode <span class="smalllinenumber">[line 1628]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -728,7 +728,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_pharmacode2t"></a> <a name="methodbarcode_pharmacode2t"></a>
<h3>method barcode_pharmacode2t <span class="smalllinenumber">[line 1661]</span></h3> <h3>method barcode_pharmacode2t <span class="smalllinenumber">[line 1654]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -767,7 +767,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_postnet"></a> <a name="methodbarcode_postnet"></a>
<h3>method barcode_postnet <span class="smalllinenumber">[line 1263]</span></h3> <h3>method barcode_postnet <span class="smalllinenumber">[line 1256]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -812,7 +812,7 @@ $planet = false])</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_rms4cc"></a> <a name="methodbarcode_rms4cc"></a>
<h3>method barcode_rms4cc <span class="smalllinenumber">[line 1336]</span></h3> <h3>method barcode_rms4cc <span class="smalllinenumber">[line 1329]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -857,7 +857,7 @@ $kix = false])</code>
</div> </div>
<hr /> <hr />
<a name="methodbarcode_s25"></a> <a name="methodbarcode_s25"></a>
<h3>method barcode_s25 <span class="smalllinenumber">[line 664]</span></h3> <h3>method barcode_s25 <span class="smalllinenumber">[line 657]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -902,7 +902,7 @@ $checksum = false])</code>
</div> </div>
<hr /> <hr />
<a name="methodbinseq_to_array"></a> <a name="methodbinseq_to_array"></a>
<h3>method binseq_to_array <span class="smalllinenumber">[line 705]</span></h3> <h3>method binseq_to_array <span class="smalllinenumber">[line 698]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -947,7 +947,7 @@ $bararray)</code>
</div> </div>
<hr /> <hr />
<a name="methodchecksum_code39"></a> <a name="methodchecksum_code39"></a>
<h3>method checksum_code39 <span class="smalllinenumber">[line 382]</span></h3> <h3>method checksum_code39 <span class="smalllinenumber">[line 375]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -986,7 +986,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodchecksum_code93"></a> <a name="methodchecksum_code93"></a>
<h3>method checksum_code93 <span class="smalllinenumber">[line 534]</span></h3> <h3>method checksum_code93 <span class="smalllinenumber">[line 527]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1025,7 +1025,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodchecksum_s25"></a> <a name="methodchecksum_s25"></a>
<h3>method checksum_s25 <span class="smalllinenumber">[line 579]</span></h3> <h3>method checksum_s25 <span class="smalllinenumber">[line 572]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1064,7 +1064,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methoddec_to_hex"></a> <a name="methoddec_to_hex"></a>
<h3>method dec_to_hex <span class="smalllinenumber">[line 1848]</span></h3> <h3>method dec_to_hex <span class="smalllinenumber">[line 1841]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1103,7 +1103,7 @@ $number)</code>
</div> </div>
<hr /> <hr />
<a name="methodencode_code39_ext"></a> <a name="methodencode_code39_ext"></a>
<h3>method encode_code39_ext <span class="smalllinenumber">[line 331]</span></h3> <h3>method encode_code39_ext <span class="smalllinenumber">[line 324]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1142,7 +1142,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodgetBarcodeArray"></a> <a name="methodgetBarcodeArray"></a>
<h3>method getBarcodeArray <span class="smalllinenumber">[line 92]</span></h3> <h3>method getBarcodeArray <span class="smalllinenumber">[line 85]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1167,7 +1167,7 @@ $code)</code>
</div> </div>
<hr /> <hr />
<a name="methodhex_to_dec"></a> <a name="methodhex_to_dec"></a>
<h3>method hex_to_dec <span class="smalllinenumber">[line 1872]</span></h3> <h3>method hex_to_dec <span class="smalllinenumber">[line 1865]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1206,7 +1206,7 @@ $hex)</code>
</div> </div>
<hr /> <hr />
<a name="methodimb_crc11fcs"></a> <a name="methodimb_crc11fcs"></a>
<h3>method imb_crc11fcs <span class="smalllinenumber">[line 1889]</span></h3> <h3>method imb_crc11fcs <span class="smalllinenumber">[line 1882]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1245,7 +1245,7 @@ $code_arr)</code>
</div> </div>
<hr /> <hr />
<a name="methodimb_reverse_us"></a> <a name="methodimb_reverse_us"></a>
<h3>method imb_reverse_us <span class="smalllinenumber">[line 1925]</span></h3> <h3>method imb_reverse_us <span class="smalllinenumber">[line 1918]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1284,7 +1284,7 @@ $num)</code>
</div> </div>
<hr /> <hr />
<a name="methodimb_tables"></a> <a name="methodimb_tables"></a>
<h3>method imb_tables <span class="smalllinenumber">[line 1942]</span></h3> <h3>method imb_tables <span class="smalllinenumber">[line 1935]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1329,7 +1329,7 @@ $size)</code>
</div> </div>
<hr /> <hr />
<a name="methodsetBarcode"></a> <a name="methodsetBarcode"></a>
<h3>method setBarcode <span class="smalllinenumber">[line 102]</span></h3> <h3>method setBarcode <span class="smalllinenumber">[line 95]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -1374,7 +1374,7 @@ $type)</code>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -79,10 +79,10 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td> <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr> </tr>
<tr> <tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.003</td> <td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.005</td>
</tr> </tr>
<tr> <tr>
<td><b>copyright:</b>&nbsp;&nbsp;</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> <td><b>copyright:</b>&nbsp;&nbsp;</td><td>2009-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>
</tr> </tr>
<tr> <tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td> <td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
@ -102,7 +102,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -102,7 +102,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -539,7 +539,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:55 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:59 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -74,7 +74,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td> <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr> </tr>
<tr> <tr>
<td><b>copyright:</b>&nbsp;&nbsp;</td><td>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</td> <td><b>copyright:</b>&nbsp;&nbsp;</td><td>2002-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>
</tr> </tr>
<tr> <tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td> <td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
@ -94,7 +94,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:50 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -79,10 +79,10 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td> <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr> </tr>
<tr> <tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.003</td> <td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.004</td>
</tr> </tr>
<tr> <tr>
<td><b>copyright:</b>&nbsp;&nbsp;</td><td>2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com</td> <td><b>copyright:</b>&nbsp;&nbsp;</td><td>2010-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>
</tr> </tr>
<tr> <tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td> <td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
@ -100,7 +100,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<br /><br /> <br /><br />
<hr /> <hr />
<a name="defineMAX_STRUCTURED_SYMBOLS"></a> <a name="defineMAX_STRUCTURED_SYMBOLS"></a>
<h3>MAX_STRUCTURED_SYMBOLS <span class="smalllinenumber">[line 212]</span></h3> <h3>MAX_STRUCTURED_SYMBOLS <span class="smalllinenumber">[line 204]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -113,7 +113,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineN1"></a> <a name="defineN1"></a>
<h3>N1 <span class="smalllinenumber">[line 221]</span></h3> <h3>N1 <span class="smalllinenumber">[line 213]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -126,7 +126,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineN2"></a> <a name="defineN2"></a>
<h3>N2 <span class="smalllinenumber">[line 226]</span></h3> <h3>N2 <span class="smalllinenumber">[line 218]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -139,7 +139,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineN3"></a> <a name="defineN3"></a>
<h3>N3 <span class="smalllinenumber">[line 231]</span></h3> <h3>N3 <span class="smalllinenumber">[line 223]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -152,7 +152,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineN4"></a> <a name="defineN4"></a>
<h3>N4 <span class="smalllinenumber">[line 236]</span></h3> <h3>N4 <span class="smalllinenumber">[line 228]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -165,7 +165,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQRCAP_EC"></a> <a name="defineQRCAP_EC"></a>
<h3>QRCAP_EC <span class="smalllinenumber">[line 198]</span></h3> <h3>QRCAP_EC <span class="smalllinenumber">[line 190]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -178,7 +178,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQRCAP_REMINDER"></a> <a name="defineQRCAP_REMINDER"></a>
<h3>QRCAP_REMINDER <span class="smalllinenumber">[line 193]</span></h3> <h3>QRCAP_REMINDER <span class="smalllinenumber">[line 185]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -191,7 +191,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQRCAP_WIDTH"></a> <a name="defineQRCAP_WIDTH"></a>
<h3>QRCAP_WIDTH <span class="smalllinenumber">[line 183]</span></h3> <h3>QRCAP_WIDTH <span class="smalllinenumber">[line 175]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -204,7 +204,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQRCAP_WORDS"></a> <a name="defineQRCAP_WORDS"></a>
<h3>QRCAP_WORDS <span class="smalllinenumber">[line 188]</span></h3> <h3>QRCAP_WORDS <span class="smalllinenumber">[line 180]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -217,7 +217,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQRCODEDEFS"></a> <a name="defineQRCODEDEFS"></a>
<h3>QRCODEDEFS <span class="smalllinenumber">[line 99]</span></h3> <h3>QRCODEDEFS <span class="smalllinenumber">[line 91]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -230,7 +230,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQRSPEC_VERSION_MAX"></a> <a name="defineQRSPEC_VERSION_MAX"></a>
<h3>QRSPEC_VERSION_MAX <span class="smalllinenumber">[line 171]</span></h3> <h3>QRSPEC_VERSION_MAX <span class="smalllinenumber">[line 163]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -243,7 +243,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQRSPEC_WIDTH_MAX"></a> <a name="defineQRSPEC_WIDTH_MAX"></a>
<h3>QRSPEC_WIDTH_MAX <span class="smalllinenumber">[line 176]</span></h3> <h3>QRSPEC_WIDTH_MAX <span class="smalllinenumber">[line 168]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -256,7 +256,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_DEFAULT_MASK"></a> <a name="defineQR_DEFAULT_MASK"></a>
<h3>QR_DEFAULT_MASK <span class="smalllinenumber">[line 255]</span></h3> <h3>QR_DEFAULT_MASK <span class="smalllinenumber">[line 247]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -269,7 +269,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_ECLEVEL_H"></a> <a name="defineQR_ECLEVEL_H"></a>
<h3>QR_ECLEVEL_H <span class="smalllinenumber">[line 159]</span></h3> <h3>QR_ECLEVEL_H <span class="smalllinenumber">[line 151]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -282,7 +282,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_ECLEVEL_L"></a> <a name="defineQR_ECLEVEL_L"></a>
<h3>QR_ECLEVEL_L <span class="smalllinenumber">[line 144]</span></h3> <h3>QR_ECLEVEL_L <span class="smalllinenumber">[line 136]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -295,7 +295,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_ECLEVEL_M"></a> <a name="defineQR_ECLEVEL_M"></a>
<h3>QR_ECLEVEL_M <span class="smalllinenumber">[line 149]</span></h3> <h3>QR_ECLEVEL_M <span class="smalllinenumber">[line 141]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -308,7 +308,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_ECLEVEL_Q"></a> <a name="defineQR_ECLEVEL_Q"></a>
<h3>QR_ECLEVEL_Q <span class="smalllinenumber">[line 154]</span></h3> <h3>QR_ECLEVEL_Q <span class="smalllinenumber">[line 146]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -321,7 +321,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_FIND_BEST_MASK"></a> <a name="defineQR_FIND_BEST_MASK"></a>
<h3>QR_FIND_BEST_MASK <span class="smalllinenumber">[line 245]</span></h3> <h3>QR_FIND_BEST_MASK <span class="smalllinenumber">[line 237]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -334,7 +334,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_FIND_FROM_RANDOM"></a> <a name="defineQR_FIND_FROM_RANDOM"></a>
<h3>QR_FIND_FROM_RANDOM <span class="smalllinenumber">[line 250]</span></h3> <h3>QR_FIND_FROM_RANDOM <span class="smalllinenumber">[line 242]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -347,7 +347,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_MODE_8B"></a> <a name="defineQR_MODE_8B"></a>
<h3>QR_MODE_8B <span class="smalllinenumber">[line 123]</span></h3> <h3>QR_MODE_8B <span class="smalllinenumber">[line 115]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -360,7 +360,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_MODE_AN"></a> <a name="defineQR_MODE_AN"></a>
<h3>QR_MODE_AN <span class="smalllinenumber">[line 118]</span></h3> <h3>QR_MODE_AN <span class="smalllinenumber">[line 110]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -373,7 +373,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_MODE_KJ"></a> <a name="defineQR_MODE_KJ"></a>
<h3>QR_MODE_KJ <span class="smalllinenumber">[line 128]</span></h3> <h3>QR_MODE_KJ <span class="smalllinenumber">[line 120]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -386,7 +386,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_MODE_NL"></a> <a name="defineQR_MODE_NL"></a>
<h3>QR_MODE_NL <span class="smalllinenumber">[line 108]</span></h3> <h3>QR_MODE_NL <span class="smalllinenumber">[line 100]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -399,7 +399,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_MODE_NM"></a> <a name="defineQR_MODE_NM"></a>
<h3>QR_MODE_NM <span class="smalllinenumber">[line 113]</span></h3> <h3>QR_MODE_NM <span class="smalllinenumber">[line 105]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -412,7 +412,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineQR_MODE_ST"></a> <a name="defineQR_MODE_ST"></a>
<h3>QR_MODE_ST <span class="smalllinenumber">[line 133]</span></h3> <h3>QR_MODE_ST <span class="smalllinenumber">[line 125]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -425,7 +425,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineSTRUCTURE_HEADER_BITS"></a> <a name="defineSTRUCTURE_HEADER_BITS"></a>
<h3>STRUCTURE_HEADER_BITS <span class="smalllinenumber">[line 207]</span></h3> <h3>STRUCTURE_HEADER_BITS <span class="smalllinenumber">[line 199]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -439,7 +439,7 @@ Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is
<br /> <br />
<hr /> <hr />
<a name="functionstr_split"></a> <a name="functionstr_split"></a>
<h3>str_split <span class="smalllinenumber">[line 273]</span></h3> <h3>str_split <span class="smalllinenumber">[line 265]</span></h3>
<div class="function"> <div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -477,7 +477,7 @@ string $string, [int $split_length = 1])</code>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:50 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -71,7 +71,7 @@ Source Location: /tcpdf.php<br /><br />
</div><br /><br /> </div><br /><br />
<h2>Page Details:</h2> <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 /> &lt;h3&gt;TCPDF main features are:&lt;/h3&gt; <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>Font subsetting;</li><li>methods to publish some XHTML + CSS 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.&lt;/p&gt;</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 /> &lt;h3&gt;TCPDF main features are:&lt;/h3&gt; <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>Font subsetting;</li><li>methods to publish some XHTML + CSS 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, PDF417;</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.&lt;/p&gt;</p><br /><br /><br />
<h4>Tags:</h4> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
<table border="0" cellspacing="0" cellpadding="0"> <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>&nbsp;&nbsp;</td><td>Nicola Asuni</td> <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr> </tr>
<tr> <tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>5.2.000</td> <td><b>version:</b>&nbsp;&nbsp;</td><td>5.2.001</td>
</tr> </tr>
<tr> <tr>
<td><b>copyright:</b>&nbsp;&nbsp;</td><td>2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com</td> <td><b>copyright:</b>&nbsp;&nbsp;</td><td>2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com</td>
@ -98,19 +98,19 @@ This is a PHP class for generating PDF documents without requiring external exte
<br /><br /> <br /><br />
<h4>Includes:</h4> <h4>Includes:</h4>
<div class="tags"> <div class="tags">
require_once(dirname(__FILE__).'/config/tcpdf_config.php') [line 133]<br /> require_once(dirname(__FILE__).'/config/tcpdf_config.php') [line 135]<br />
main configuration file<br /><br />require_once(dirname(__FILE__).'/htmlcolors.php') [line 145]<br /> main configuration file<br /><br />require_once(dirname(__FILE__).'/htmlcolors.php') [line 147]<br />
html colors table<br /><br />require_once(dirname(__FILE__).'/unicode_data.php') [line 140]<br /> html colors table<br /><br />require_once(dirname(__FILE__).'/unicode_data.php') [line 142]<br />
unicode data<br /><br /></div> unicode data<br /><br /></div>
<br /><br /> <br /><br />
<br /><br /> <br /><br />
<hr /> <hr />
<a name="definePDF_PRODUCER"></a> <a name="definePDF_PRODUCER"></a>
<h3>PDF_PRODUCER <span class="smalllinenumber">[line 151]</span></h3> <h3>PDF_PRODUCER <span class="smalllinenumber">[line 153]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>PDF_PRODUCER = 'TCPDF 5.2.000 (http://www.tcpdf.org)'</code> <code>PDF_PRODUCER = 'TCPDF 5.2.001 (http://www.tcpdf.org)'</code>
</td></tr></table> </td></tr></table>
</td></tr></table> </td></tr></table>
@ -121,7 +121,7 @@ unicode data<br /><br /></div>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:51 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:55 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -66,7 +66,7 @@ Source Location: /unicode_data.php<br /><br />
<h2>Page Details:</h2> <h2>Page Details:</h2>
Unicode Include file for TCPDF.<br /><br /><br /><br /> Unicode data for TCPDF library.<br /><br /><br /><br />
<h4>Tags:</h4> <h4>Tags:</h4>
<div class="tags"> <div class="tags">
<table border="0" cellspacing="0" cellpadding="0"> <table border="0" cellspacing="0" cellpadding="0">
@ -74,7 +74,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td> <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr> </tr>
<tr> <tr>
<td><b>copyright:</b>&nbsp;&nbsp;</td><td>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</td> <td><b>copyright:</b>&nbsp;&nbsp;</td><td>2008-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>
</tr> </tr>
<tr> <tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td> <td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
@ -92,7 +92,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<br /><br /> <br /><br />
<hr /> <hr />
<a name="defineK_LRE"></a> <a name="defineK_LRE"></a>
<h3>K_LRE <span class="smalllinenumber">[line 64]</span></h3> <h3>K_LRE <span class="smalllinenumber">[line 58]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -105,7 +105,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineK_LRM"></a> <a name="defineK_LRM"></a>
<h3>K_LRM <span class="smalllinenumber">[line 56]</span></h3> <h3>K_LRM <span class="smalllinenumber">[line 50]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -118,7 +118,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineK_LRO"></a> <a name="defineK_LRO"></a>
<h3>K_LRO <span class="smalllinenumber">[line 76]</span></h3> <h3>K_LRO <span class="smalllinenumber">[line 70]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -131,7 +131,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineK_PDF"></a> <a name="defineK_PDF"></a>
<h3>K_PDF <span class="smalllinenumber">[line 72]</span></h3> <h3>K_PDF <span class="smalllinenumber">[line 66]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -144,7 +144,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineK_RE_PATTERN_ARABIC"></a> <a name="defineK_RE_PATTERN_ARABIC"></a>
<h3>K_RE_PATTERN_ARABIC <span class="smalllinenumber">[line 103]</span></h3> <h3>K_RE_PATTERN_ARABIC <span class="smalllinenumber">[line 97]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -177,7 +177,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineK_RE_PATTERN_RTL"></a> <a name="defineK_RE_PATTERN_RTL"></a>
<h3>K_RE_PATTERN_RTL <span class="smalllinenumber">[line 85]</span></h3> <h3>K_RE_PATTERN_RTL <span class="smalllinenumber">[line 79]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -202,7 +202,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineK_RLE"></a> <a name="defineK_RLE"></a>
<h3>K_RLE <span class="smalllinenumber">[line 68]</span></h3> <h3>K_RLE <span class="smalllinenumber">[line 62]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -215,7 +215,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineK_RLM"></a> <a name="defineK_RLM"></a>
<h3>K_RLM <span class="smalllinenumber">[line 60]</span></h3> <h3>K_RLM <span class="smalllinenumber">[line 54]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -228,7 +228,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr /> <hr />
<a name="defineK_RLO"></a> <a name="defineK_RLO"></a>
<h3>K_RLO <span class="smalllinenumber">[line 80]</span></h3> <h3>K_RLO <span class="smalllinenumber">[line 74]</span></h3>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
@ -243,7 +243,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:55 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:59 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -1976,7 +1976,7 @@
<a href="elementindex.html#top">top</a><br> <a href="elementindex.html#top">top</a><br>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -2005,7 +2005,7 @@
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br> <a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -35,7 +35,7 @@
<a href="#Post-parsing">Post-parsing</a><br> <a href="#Post-parsing">Post-parsing</a><br>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:55 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:59 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -64,7 +64,7 @@
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br /> This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -64,7 +64,7 @@
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br /> This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> Documentation generated on Sat, 05 Jun 2010 22:11:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -2,7 +2,7 @@
//============================================================+ //============================================================+
// File name : example_050.php // File name : example_050.php
// Begin : 2009-04-09 // Begin : 2009-04-09
// Last Update : 2010-05-20 // Last Update : 2010-06-05
// //
// Description : Example 050 for TCPDF class // Description : Example 050 for TCPDF class
// 2D Barcodes // 2D Barcodes
@ -82,9 +82,12 @@ $pdf->AddPage();
// set style for barcode // set style for barcode
$style = array( $style = array(
'border' => true, 'border' => true,
'padding' => 4, 'vpadding' => 'auto',
'hpadding' => 'auto',
'fgcolor' => array(0,0,0), 'fgcolor' => array(0,0,0),
'bgcolor' => false, //array(255,255,255) 'bgcolor' => false, //array(255,255,255)
'module_width' => 1, // width of a single module in points
'module_height' => 1 // height of a single module in points
); );
// write RAW 2D Barcode // write RAW 2D Barcode
@ -102,9 +105,12 @@ $pdf->write2DBarcode($code, 'RAW2', '', '', 30, 20, $style, 'N');
// set style for barcode // set style for barcode
$style = array( $style = array(
'border' => 2, 'border' => 2,
'padding' => 'auto', 'vpadding' => 'auto',
'hpadding' => 'auto',
'fgcolor' => array(0,0,0), 'fgcolor' => array(0,0,0),
'bgcolor' => false, //array(255,255,255) 'bgcolor' => false, //array(255,255,255)
'module_width' => 1, // width of a single module in points
'module_height' => 1 // height of a single module in points
); );
// QRCODE,L : QR-CODE Low error correction // QRCODE,L : QR-CODE Low error correction
@ -128,6 +134,11 @@ $pdf->SetXY(100, 120);
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N'); $pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N');
$pdf->Text(100, 115, 'QRCODE H'); $pdf->Text(100, 115, 'QRCODE H');
// PDF417 : PDF417 (ISO/IEC 15438:2006)
$pdf->SetXY(30, 180);
$pdf->write2DBarcode('www.tcpdf.org', 'PDF417', '', '', 0, 30, $style, 'N');
$pdf->Text(30, 175, 'PDF417 (ISO/IEC 15438:2006)');
// new style // new style
$style = array( $style = array(
'border' => 2, 'border' => 2,
@ -137,9 +148,9 @@ $style = array(
); );
// QRCODE,H : QR-CODE Best error correction // QRCODE,H : QR-CODE Best error correction
$pdf->SetXY(30, 180); $pdf->SetXY(30, 220);
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N'); $pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N');
$pdf->Text(30, 175, 'QRCODE H - COLORED'); $pdf->Text(30, 215, 'QRCODE H - COLORED');
// new style // new style
$style = array( $style = array(
@ -150,9 +161,9 @@ $style = array(
); );
// QRCODE,H : QR-CODE Best error correction // QRCODE,H : QR-CODE Best error correction
$pdf->SetXY(100, 180); $pdf->SetXY(100, 220);
$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N'); $pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N');
$pdf->Text(100, 175, 'QRCODE H - NO PADDING'); $pdf->Text(100, 215, 'QRCODE H - NO PADDING');
// --------------------------------------------------------- // ---------------------------------------------------------

View File

@ -68,7 +68,7 @@ echo '<'.'?'.'xml version="1.0" encoding="UTF-8"'.'?'.'>';
<li>Transactions and UNDO: [<a href="example_047.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>
<li>Table header and rowspan: [<a href="example_048.php" title="PDF [new window]" target="_blank">PDF</a>]</li> <li>Table header and rowspan: [<a href="example_048.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
<li>TCPDF methods in HTML: [<a href="example_049.php" title="PDF [new window]" target="_blank">PDF</a>]</li> <li>TCPDF methods in HTML: [<a href="example_049.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
<li>2D Barcode (QR Code): [<a href="example_050.php" title="PDF [new window]" target="_blank">PDF</a>]</li> <li>2D Barcode (QR-Code AND PDF417): [<a href="example_050.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
<li>Full page background: [<a href="example_051.php" title="PDF [new window]" target="_blank">PDF</a>]</li> <li>Full page background: [<a href="example_051.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
<li>Digital Signature Certification: [<a href="example_052.php" title="PDF [new window]" target="_blank">PDF</a>]</li> <li>Digital Signature Certification: [<a href="example_052.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
<li>Javascript functions: [<a href="example_053.php" title="PDF [new window]" target="_blank">PDF</a>]</li> <li>Javascript functions: [<a href="example_053.php" title="PDF [new window]" target="_blank">PDF</a>]</li>

View File

@ -1,47 +1,40 @@
<?php <?php
//============================================================+ //============================================================+
// File name : htmlcolors.php // File name : htmlcolors.php
// Version : 1.0.005
// Begin : 2002-04-09 // Begin : 2002-04-09
// Last Update : 2010-04-20 // Last Update : 2010-06-03
// Version : 1.0.004 // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// ---------------------------------------------------------------------------- // -------------------------------------------------------------------
// Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l. // Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
// //
// This program is free software: you can redistribute it and/or modify // This file is part of TCPDF software library.
// it under the terms of the GNU Lesser General Public License as published by //
// the Free Software Foundation, either version 2.1 of the License, or // TCPDF is free software: you can redistribute it and/or modify it
// (at your option) any later version. // under the terms of the GNU General Public License as published by
// // the Free Software Foundation, either version 3 of the License, or
// This program is distributed in the hope that it will be useful, // (at your option) any later version.
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // TCPDF is distributed in the hope that it will be useful, but
// GNU Lesser General Public License for more details. // WITHOUT ANY WARRANTY; without even the implied warranty of
// // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// You should have received a copy of the GNU Lesser General Public License // See the GNU General Public License for more details.
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
// // You should have received a copy of the GNU General Public License
// See LICENSE.TXT file for more information. // along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
// ---------------------------------------------------------------------------- //
// See LICENSE.TXT file for more information.
// -------------------------------------------------------------------
// //
// Description : Array of WEB safe colors // Description : Array of WEB safe colors
// //
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asuni
// Tecnick.com S.r.l.
// Via della Pace, 11
// 09044 Quartucciu (CA)
// ITALY
// www.tecnick.com
// info@tecnick.com
//============================================================+ //============================================================+
/** /**
* Array of WEB safe colors. * Array of WEB safe colors.
* @author Nicola Asuni * @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 2002-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
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @link http://www.tcpdf.org * @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL * @license http://www.gnu.org/copyleft/lesser.html LGPL
@ -205,6 +198,6 @@ $webcolor = array (
); );
//============================================================+ //============================================================+
// END OF FILE // END OF FILE
//============================================================+ //============================================================+
?> ?>

View File

@ -1,28 +1,31 @@
<?php <?php
//============================================================+ //============================================================+
// File name : qrcode.php // File name : qrcode.php
// Version : 1.0.004
// Begin : 2010-03-22 // Begin : 2010-03-22
// Last Update : 2010-03-30 // Last Update : 2010-06-03
// Version : 1.0.003 // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
// License : GNU LGPL v.3 (http://www.gnu.org/copyleft/lesser.html) // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// ---------------------------------------------------------------------------- // -------------------------------------------------------------------
// Copyright (C) 2010-2010 Nicola Asuni - Tecnick.com S.r.l.
// //
// This library is free software; you can redistribute it and/or // This file is part of TCPDF software library.
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or any later version.
// //
// This library is distributed in the hope that it will be useful, // TCPDF is free software: you can redistribute it and/or modify it
// but WITHOUT ANY WARRANTY; without even the implied warranty of // under the terms of the GNU General Public License as published by
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // the Free Software Foundation, either version 3 of the License, or
// Lesser General Public License for more details. // (at your option) any later version.
// //
// You should have received a copy of the GNU Lesser General Public // TCPDF is distributed in the hope that it will be useful, but
// License along with this library; if not, write to the Free Software // WITHOUT ANY WARRANTY; without even the implied warranty of
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// or browse http://www.gnu.org/copyleft/lesser.html // See the GNU General Public License for more details.
// //
// ---------------------------------------------------------------------------- // You should have received a copy of the GNU General Public License
// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
//
// See LICENSE.TXT file for more information.
// -------------------------------------------------------------------
// //
// DESCRIPTION : // DESCRIPTION :
// //
@ -58,17 +61,6 @@
// QR Code is registered trademark of DENSO WAVE INCORPORATED // QR Code is registered trademark of DENSO WAVE INCORPORATED
// http://www.denso-wave.com/qrcode/index-e.html // http://www.denso-wave.com/qrcode/index-e.html
// --------------------------------------------------------- // ---------------------------------------------------------
//
// Author: Nicola Asuni
//
// (c) Copyright 2010:
// Nicola Asuni
// Tecnick.com S.r.l.
// Via della Pace, 11
// 09044 Quartucciu (CA)
// ITALY
// www.tecnick.com
// info@tecnick.com
//============================================================+ //============================================================+
/** /**
@ -84,10 +76,10 @@
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @abstract Class for generating QR-code array for TCPDF. * @abstract Class for generating QR-code array for TCPDF.
* @author Nicola Asuni * @author Nicola Asuni
* @copyright 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 * @copyright 2010-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
* @link http://www.tcpdf.org * @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL * @license http://www.gnu.org/copyleft/lesser.html LGPL
* @version 1.0.003 * @version 1.0.004
*/ */
// definitions // definitions
@ -300,10 +292,10 @@ if (!class_exists('QRcode', false)) {
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @abstract Class for generating QR-code array for TCPDF. * @abstract Class for generating QR-code array for TCPDF.
* @author Nicola Asuni * @author Nicola Asuni
* @copyright 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 * @copyright 2010-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
* @link http://www.tcpdf.org * @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL * @license http://www.gnu.org/copyleft/lesser.html LGPL
* @version 1.0.002 * @version 1.0.004
*/ */
class QRcode { class QRcode {
@ -2805,8 +2797,6 @@ if (!class_exists('QRcode', false)) {
} }
$rs['iprim'] = (int)($iprim / $prim); $rs['iprim'] = (int)($iprim / $prim);
$rs['genpoly'][0] = 1; $rs['genpoly'][0] = 1;
for ($i = 0,$root=$fcr*$prim; $i < $nroots; $i++, $root += $prim) { for ($i = 0,$root=$fcr*$prim; $i < $nroots; $i++, $root += $prim) {
$rs['genpoly'][$i+1] = 1; $rs['genpoly'][$i+1] = 1;
// Multiply rs->genpoly[] by @**(root + x) // Multiply rs->genpoly[] by @**(root + x)

219
tcpdf.php
View File

@ -1,37 +1,39 @@
<?php <?php
//============================================================+ //============================================================+
// File name : tcpdf.php // File name : tcpdf.php
// Version : 5.2.001
// Begin : 2002-08-03 // Begin : 2002-08-03
// Last Update : 2010-06-02 // Last Update : 2010-06-05
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
// Version : 5.2.000 // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // -------------------------------------------------------------------
// ---------------------------------------------------------------------------- // Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
// Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
// //
// This program is free software: you can redistribute it and/or modify // This file is part of TCPDF software library.
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 2.1 of the License, or
// (at your option) any later version.
// //
// This program is distributed in the hope that it will be useful, // TCPDF is free software: you can redistribute it and/or modify it
// but WITHOUT ANY WARRANTY; without even the implied warranty of // under the terms of the GNU General Public License as published by
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // the Free Software Foundation, either version 3 of the License, or
// GNU Lesser General Public License for more details. // (at your option) any later version.
// //
// You should have received a copy of the GNU Lesser General Public License // TCPDF is distributed in the hope that it will be useful, but
// along with this program. If not, see <http://www.gnu.org/licenses/>. // WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
// //
// See LICENSE.TXT file for more information. // You should have received a copy of the GNU General Public License
// ---------------------------------------------------------------------------- // along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
//
// See LICENSE.TXT file for more information.
// -------------------------------------------------------------------
// //
// Description : This is a PHP class for generating PDF documents without // Description : This is a PHP class for generating PDF documents without
// requiring external extensions. // requiring external extensions.
// //
// NOTE: // NOTE:
// This class was originally derived in 2002 from the Public // This class was originally derived in 2002 from the Public
// Domain FPDF class by Olivier Plathey (http://www.fpdf.org), // Domain FPDF class by Olivier Plathey (http://www.fpdf.org),
// but now is almost entirely rewritten. // but now is almost entirely rewritten.
// //
// Main features: // Main features:
// * no external libraries are required for the basic functions; // * no external libraries are required for the basic functions;
@ -42,7 +44,7 @@
// * methods to publish some XHTML + CSS code, Javascript and Forms; // * methods to publish some XHTML + CSS code, Javascript and Forms;
// * images, graphic (geometric figures) and transformation methods; // * images, graphic (geometric figures) and transformation methods;
// * 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) // * 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; // * 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, PDF417;
// * Grayscale, RGB, CMYK, Spot Colors and Transparencies; // * Grayscale, RGB, CMYK, Spot Colors and Transparencies;
// * automatic page header and footer management; // * automatic page header and footer management;
// * document encryption and digital signature certifications; // * document encryption and digital signature certifications;
@ -102,7 +104,7 @@
* <li>methods to publish some XHTML + CSS code, Javascript and Forms;</li> * <li>methods to publish some XHTML + CSS code, Javascript and Forms;</li>
* <li>images, graphic (geometric figures) and transformation methods; * <li>images, graphic (geometric figures) and transformation methods;
* <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>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>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, PDF417;</li>
* <li>Grayscale, RGB, CMYK, Spot Colors and Transparencies;</li> * <li>Grayscale, RGB, CMYK, Spot Colors and Transparencies;</li>
* <li>automatic page header and footer management;</li> * <li>automatic page header and footer management;</li>
* <li>document encryption and digital signature certifications;</li> * <li>document encryption and digital signature certifications;</li>
@ -124,7 +126,7 @@
* @copyright 2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com * @copyright 2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
* @link http://www.tcpdf.org * @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL * @license http://www.gnu.org/copyleft/lesser.html LGPL
* @version 5.2.000 * @version 5.2.001
*/ */
/** /**
@ -148,14 +150,14 @@ if (!class_exists('TCPDF', false)) {
/** /**
* define default PDF document producer * define default PDF document producer
*/ */
define('PDF_PRODUCER', 'TCPDF 5.2.000 (http://www.tcpdf.org)'); define('PDF_PRODUCER', 'TCPDF 5.2.001 (http://www.tcpdf.org)');
/** /**
* This is a PHP class for generating PDF documents without requiring external extensions.<br> * This is a PHP class for generating PDF documents without requiring external extensions.<br>
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br> * TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
* @name TCPDF * @name TCPDF
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @version 5.2.000 * @version 5.2.001
* @author Nicola Asuni - info@tecnick.com * @author Nicola Asuni - info@tecnick.com
* @link http://www.tcpdf.org * @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL * @license http://www.gnu.org/copyleft/lesser.html LGPL
@ -5577,16 +5579,18 @@ if (!class_exists('TCPDF', false)) {
* @since 4.8.017 (2009-11-27) * @since 4.8.017 (2009-11-27)
*/ */
public function getImageFileType($imgfile, $iminfo=array()) { public function getImageFileType($imgfile, $iminfo=array()) {
$type = '';
if (isset($iminfo['mime']) AND !empty($iminfo['mime'])) { if (isset($iminfo['mime']) AND !empty($iminfo['mime'])) {
$mime = explode('/', $iminfo['mime']); $mime = explode('/', $iminfo['mime']);
if ((count($mime) > 1) AND ($mime[0] == 'image') AND (!empty($mime[1]))) { if ((count($mime) > 1) AND ($mime[0] == 'image') AND (!empty($mime[1]))) {
return trim($mime[1]); $type = trim($mime[1]);
} }
} }
$type = ''; if (empty($type)) {
$fileinfo = pathinfo($imgfile); $fileinfo = pathinfo($imgfile);
if (isset($fileinfo['extension']) AND (!$this->empty_string($fileinfo['extension']))) { if (isset($fileinfo['extension']) AND (!$this->empty_string($fileinfo['extension']))) {
$type = strtolower(trim($fileinfo['extension'])); $type = strtolower(trim($fileinfo['extension']));
}
} }
if ($type == 'jpg') { if ($type == 'jpg') {
$type = 'jpeg'; $type = 'jpeg';
@ -7501,8 +7505,8 @@ if (!class_exists('TCPDF', false)) {
/** /**
* Get ULONG from string (Big Endian 32-bit unsigned integer). * Get ULONG from string (Big Endian 32-bit unsigned integer).
* @parameter string $str string from where to extract value * @param string $str string from where to extract value
* @parameter int $offset point from where to read the data * @param int $offset point from where to read the data
* @return int 32 bit value * @return int 32 bit value
* @author Nicola Asuni * @author Nicola Asuni
* @access protected * @access protected
@ -7516,8 +7520,8 @@ if (!class_exists('TCPDF', false)) {
/** /**
* Get USHORT from string (Big Endian 16-bit unsigned integer). * Get USHORT from string (Big Endian 16-bit unsigned integer).
* @parameter string $str string from where to extract value * @param string $str string from where to extract value
* @parameter int $offset point from where to read the data * @param int $offset point from where to read the data
* @return int 16 bit value * @return int 16 bit value
* @author Nicola Asuni * @author Nicola Asuni
* @access protected * @access protected
@ -7531,8 +7535,8 @@ if (!class_exists('TCPDF', false)) {
/** /**
* Get SHORT from string (Big Endian 16-bit signed integer). * Get SHORT from string (Big Endian 16-bit signed integer).
* @parameter string $str string from where to extract value * @param string $str string from where to extract value
* @parameter int $offset point from where to read the data * @param int $offset point from where to read the data
* @return int 16 bit value * @return int 16 bit value
* @author Nicola Asuni * @author Nicola Asuni
* @access protected * @access protected
@ -7546,8 +7550,8 @@ if (!class_exists('TCPDF', false)) {
/** /**
* Get BYTE from string (8-bit unsigned integer). * Get BYTE from string (8-bit unsigned integer).
* @parameter string $str string from where to extract value * @param string $str string from where to extract value
* @parameter int $offset point from where to read the data * @param int $offset point from where to read the data
* @return int 8 bit value * @return int 8 bit value
* @author Nicola Asuni * @author Nicola Asuni
* @access protected * @access protected
@ -7561,8 +7565,8 @@ if (!class_exists('TCPDF', false)) {
/** /**
* Returns a subset of the TrueType font data without the unused glyphs. * Returns a subset of the TrueType font data without the unused glyphs.
* @parameter string $font TrueType font data * @param string $font TrueType font data
* @parameter array $subsetchars array of used characters (the glyphs to keep) * @param array $subsetchars array of used characters (the glyphs to keep)
* @return string a subset of TrueType font data without the unused glyphs * @return string a subset of TrueType font data without the unused glyphs
* @author Nicola Asuni * @author Nicola Asuni
* @access protected * @access protected
@ -7890,8 +7894,8 @@ if (!class_exists('TCPDF', false)) {
/** /**
* Returs the checksum of a TTF table. * Returs the checksum of a TTF table.
* @parameter string $table table to check * @param string $table table to check
* @parameter int $length lenght of table in bytes * @param int $length lenght of table in bytes
* @return int checksum * @return int checksum
* @author Nicola Asuni * @author Nicola Asuni
* @access protected * @access protected
@ -7912,8 +7916,8 @@ if (!class_exists('TCPDF', false)) {
/** /**
* Outputs font widths * Outputs font widths
* @parameter array $font font data * @param array $font font data
* @parameter int $cidoffset offset for CID values * @param int $cidoffset offset for CID values
* @return PDF command string for font widths * @return PDF command string for font widths
* @author Nicola Asuni * @author Nicola Asuni
* @access protected * @access protected
@ -8165,7 +8169,7 @@ if (!class_exists('TCPDF', false)) {
/** /**
* Adds unicode fonts.<br> * Adds unicode fonts.<br>
* Based on PDF Reference 1.3 (section 5) * Based on PDF Reference 1.3 (section 5)
* @parameter array $font font data * @param array $font font data
* @return int font object ID * @return int font object ID
* @access protected * @access protected
* @author Nicola Asuni * @author Nicola Asuni
@ -11206,13 +11210,13 @@ if (!class_exists('TCPDF', false)) {
/** /**
* Draws a grahic arrow. * Draws a grahic arrow.
* @parameter float $x0 Abscissa of first point. * @param float $x0 Abscissa of first point.
* @parameter float $y0 Ordinate of first point. * @param float $y0 Ordinate of first point.
* @parameter float $x0 Abscissa of second point. * @param float $x0 Abscissa of second point.
* @parameter float $y1 Ordinate of second point. * @param float $y1 Ordinate of second point.
* @parameter int $head_style (0 = draw only arrowhead arms, 1 = draw closed arrowhead, but no fill, 2 = closed and filled arrowhead, 3 = filled arrowhead) * @param int $head_style (0 = draw only arrowhead arms, 1 = draw closed arrowhead, but no fill, 2 = closed and filled arrowhead, 3 = filled arrowhead)
* @parameter float $arm_size length of arrowhead arms * @param float $arm_size length of arrowhead arms
* @parameter int $arm_angle angle between an arm and the shaft * @param int $arm_angle angle between an arm and the shaft
* @author Piotr Galecki, Nicola Asuni, Andy Meier * @author Piotr Galecki, Nicola Asuni, Andy Meier
* @since 4.6.018 (2009-07-10) * @since 4.6.018 (2009-07-10)
*/ */
@ -14568,6 +14572,7 @@ if (!class_exists('TCPDF', false)) {
} }
} }
if (($h === '') OR ($h <= 0)) { if (($h === '') OR ($h <= 0)) {
// horizontal aspect ration by default
$h = $w / 3; $h = $w / 3;
} }
if ($this->empty_string($xres)) { if ($this->empty_string($xres)) {
@ -14748,13 +14753,14 @@ if (!class_exists('TCPDF', false)) {
* @param int $y y position in user units * @param int $y y position in user units
* @param int $w width in user units * @param int $w width in user units
* @param int $h height in user units * @param int $h height in user units
* @param array $style array of options:<ul><li>boolean $style['border'] if true prints a border around the barcode</li><li>int $style['padding'] padding to leave around the barcode in user units (set to 'auto' for automatic padding)</li><li>array $style['fgcolor'] color array for bars and text</li><li>mixed $style['bgcolor'] color array for background or false for transparent</li><li>string $style['position'] barcode position on the page: L = left margin; C = center; R = right margin; S = stretch</li></ul> * @param array $style array of options:<ul><li>boolean $style['border'] if true prints a border around the barcode</li><li>int $style['padding'] padding to leave around the barcode in barcode units (set to 'auto' for automatic padding)</li><li>int $style['hpadding'] horizontal padding in barcode units (set to 'auto' for automatic padding)</li><li>int $style['vpadding'] vertical padding in barcode units (set to 'auto' for automatic padding)</li><li>int $style['module_width'] width of a single module in points</li><li>int $style['module_height'] height of a single module in points</li><li>array $style['fgcolor'] color array for bars and text</li><li>mixed $style['bgcolor'] color array for background or false for transparent</li><li>string $style['position'] barcode position on the page: L = left margin; C = center; R = right margin; S = stretch</li><li>$style['module_width'] width of a single module in points</li><li>$style['module_height'] height of a single module in points</li></ul>
* @param string $align Indicates the alignment of the pointer next to barcode insertion relative to barcode height. The value can be:<ul><li>T: top-right for LTR or top-left for RTL</li><li>M: middle-right for LTR or middle-left for RTL</li><li>B: bottom-right for LTR or bottom-left for RTL</li><li>N: next line</li></ul> * @param string $align Indicates the alignment of the pointer next to barcode insertion relative to barcode height. The value can be:<ul><li>T: top-right for LTR or top-left for RTL</li><li>M: middle-right for LTR or middle-left for RTL</li><li>B: bottom-right for LTR or bottom-left for RTL</li><li>N: next line</li></ul>
* @param boolean $distort if true distort the barcode to fit width and height, otherwise preserve aspect ratio
* @author Nicola Asuni * @author Nicola Asuni
* @since 4.5.037 (2009-04-07) * @since 4.5.037 (2009-04-07)
* @access public * @access public
*/ */
public function write2DBarcode($code, $type, $x='', $y='', $w='', $h='', $style='', $align='') { public function write2DBarcode($code, $type, $x='', $y='', $w='', $h='', $style='', $align='', $distort=false) {
if ($this->empty_string(trim($code))) { if ($this->empty_string(trim($code))) {
return; return;
} }
@ -14780,6 +14786,29 @@ if (!class_exists('TCPDF', false)) {
if (!isset($style['border'])) { if (!isset($style['border'])) {
$style['border'] = false; $style['border'] = false;
} }
// padding
if (!isset($style['padding'])) {
$style['padding'] = 0;
} elseif ($style['padding'] === 'auto') {
$style['padding'] = 4;
}
if (!isset($style['hpadding'])) {
$style['hpadding'] = $style['padding'];
} elseif ($style['hpadding'] === 'auto') {
$style['hpadding'] = 4;
}
if (!isset($style['vpadding'])) {
$style['vpadding'] = $style['padding'];
} elseif ($style['vpadding'] === 'auto') {
$style['vpadding'] = 4;
}
// cell (module) dimension
if (!isset($style['module_width'])) {
$style['module_width'] = 1; // width of a single module in points
}
if (!isset($style['module_height'])) {
$style['module_height'] = 1; // height of a single module in points
}
// set foreground color // set foreground color
$this->SetDrawColorArray($style['fgcolor']); $this->SetDrawColorArray($style['fgcolor']);
if ($x === '') { if ($x === '') {
@ -14788,25 +14817,66 @@ if (!class_exists('TCPDF', false)) {
if ($y === '') { if ($y === '') {
$y = $this->y; $y = $this->y;
} }
if (($w === '') OR ($w <= 0)) { // number of barcode columns and rows
if ($this->rtl) { $rows = $arrcode['num_rows'];
$w = $this->x - $this->lMargin; $cols = $arrcode['num_cols'];
} else { // module width and height
$w = $this->w - $this->rMargin - $this->x; $mw = $style['module_width'];
$mh = $style['module_height'];
// get max dimensions
if ($this->rtl) {
$maxw = $this->x - $this->lMargin;
} else {
$maxw = $this->w - $this->rMargin - $this->x;
}
$maxh = ($this->h - $this->tMargin - $this->bMargin);
$ratioHW = ($rows * $mh) / ($cols * $mw);
$ratioWH = ($cols * $mw) / ($rows * $mh);
if (!$distort) {
if (($maxw * $ratioHW) > $maxh) {
$maxw = $maxh * $ratioWH;
}
if (($maxh * $ratioWH) > $maxw) {
$maxh = $maxw * $ratioHW;
} }
} }
if (($h === '') OR ($h <= 0)) { // set maximum dimesions
$h = $w; if ($w > $maxw) {
$w = $maxw;
} }
// padding if ($h > $maxh) {
if (!isset($style['padding'])) { $h = $maxh;
$style['padding'] = 0; }
} elseif ($style['padding'] === 'auto') { $hpad = (2 * $style['hpadding']);
$style['padding'] = 4 * $w / (8 + $arrcode['num_cols']); $vpad = (2 * $style['vpadding']);
// set dimensions
if ((($w === '') OR ($w <= 0)) AND (($h === '') OR ($h <= 0))) {
$w = ($cols + $hpad) * ($mw / $this->k);
$h = ($rows + $vpad) * ($mh / $this->k);
} elseif (($w === '') OR ($w <= 0)) {
$w = $h * $ratioWH;
} elseif (($h === '') OR ($h <= 0)) {
$h = $w * $ratioHW;
}
// barcode size (excluding padding)
$bw = ($w * $cols) / ($cols + $hpad);
$bh = ($h * $rows) / ($rows + $vpad);
// dimension of single barcode cell unit
$cw = $bw / $cols;
$ch = $bh / $rows;
if (!$distort) {
if (($cw / $ch) > ($mw / $mh)) {
// correct horizontal distortion
$cw = $ch * $mw / $mh;
$bw = $cw * $cols;
$style['hpadding'] = ($w - $bw) / (2 * $cw);
} else {
// correct vertical distortion
$ch = $cw * $mh / $mw;
$bh = $ch * $rows;
$style['vpadding'] = ($h - $bh) / (2 * $ch);
}
} }
// calculate barcode size (excluding padding)
$bw = $w - (2 * $style['padding']);
$bh = $h - (2 * $style['padding']);
// Check whether we need a new page first as this does not fit // Check whether we need a new page first as this does not fit
$prev_x = $this->x; $prev_x = $this->x;
if ($this->checkPageBreak($h, $y)) { if ($this->checkPageBreak($h, $y)) {
@ -14843,8 +14913,8 @@ if (!class_exists('TCPDF', false)) {
} }
$this->img_rb_x = $xpos + $w; $this->img_rb_x = $xpos + $w;
} }
$xstart = $xpos + $style['padding']; $xstart = $xpos + ($style['hpadding'] * $cw);
$ystart = $y + $style['padding']; $ystart = $y + ($style['vpadding'] * $ch);
// barcode is always printed in LTR direction // barcode is always printed in LTR direction
$tempRTL = $this->rtl; $tempRTL = $this->rtl;
$this->rtl = false; $this->rtl = false;
@ -14855,11 +14925,6 @@ if (!class_exists('TCPDF', false)) {
$this->Rect($xpos, $y, $w, $h, 'D'); $this->Rect($xpos, $y, $w, $h, 'D');
} }
// print barcode cells // print barcode cells
$rows = $arrcode['num_rows'];
$cols = $arrcode['num_cols'];
// calculate dimension of single barcode cell unit
$cw = $bw / $cols;
$ch = $bh / $rows;
// for each row // for each row
for ($r = 0; $r < $rows; ++$r) { for ($r = 0; $r < $rows; ++$r) {
$xr = $xstart; $xr = $xstart;

View File

@ -1,49 +1,43 @@
<?php <?php
//============================================================+ //============================================================+
// File name : unicode_data.php // File name : unicode_data.php
// Version : 1.0.004
// Begin : 2008-01-01 // Begin : 2008-01-01
// Last Update : 2009-08-17 // Last Update : 2010-06-03
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
// ---------------------------------------------------------------------------- // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l. // -------------------------------------------------------------------
// // Copyright (C) 2008-2010 Nicola Asuni - Tecnick.com S.r.l.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 2.1 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// See LICENSE.TXT file for more information.
// ----------------------------------------------------------------------------
// //
// Description : Unicode Include file for TCPDF. // This file is part of TCPDF software library.
// //
// Author: Nicola Asuni // TCPDF is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// TCPDF is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
//
// See LICENSE.TXT file for more information.
// -------------------------------------------------------------------
//
// Description : Unicode data for TCPDF library.
// //
// (c) Copyright:
// Nicola Asuni
// Tecnick.com s.r.l.
// Via Della Pace, 11
// 09044 Quartucciu (CA)
// ITALY
// www.tecnick.com
// info@tecnick.com
//============================================================+ //============================================================+
// THANKS TO // THANKS TO
// Efthimios Mavrogeorgiadis // Efthimios Mavrogeorgiadis
// Saleh AlMatrafe // Saleh AlMatrafe
/** /**
* Unicode Include file for TCPDF. * Unicode data for TCPDF library.
* @author Nicola Asuni * @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 2008-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
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @link http://www.tcpdf.org * @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL * @license http://www.gnu.org/copyleft/lesser.html LGPL
@ -17851,7 +17845,7 @@ $unicode = array(
/** /**
* Mirror unicode characters. * Mirror unicode characters.
* For information on bidi mirroring, see UAX #9: Bidirectional Algorithm, * For information on bidi mirroring, see UAX #9: Bidirectional Algorithm,
* at http://www.unicode.org/unicode/reports/tr9/ * at http://www.unicode.org/unicode/reports/tr9/
*/ */
global $unicode_mirror; global $unicode_mirror;
@ -18306,9 +18300,8 @@ $laa_array = array (
); );
/** /**
* Array of character substitutions for sequences of two diacritics symbols starting with SHADDA (0651 HEX, 1617 DEC). * Array of character substitutions for sequences of two diacritics symbols.
* Combining characters that can occur with Shadda (U0651) are placed in UE586-UE594. * Putting the combining mark and character in the same glyph allows us to avoid the two marks overlapping each other in an illegible manner.
* Putting the combining mark and shadda in the same glyph allows us to avoid the two marks overlapping each other in an illegible manner.
* second NSM char code=>substitution char * second NSM char code=>substitution char
*/ */
global $diacritics; global $diacritics;