From d70bab7164b8e326bc982ea1478b1a1ecef52d3b Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Sun, 6 Jun 2010 13:13:41 +0200 Subject: [PATCH] 5.3.001 --- CHANGELOG.TXT | 3 ++ README.TXT | 4 +- doc/classtrees_com-tecnick-tcpdf.html | 2 +- doc/com-tecnick-tcpdf/QRcode.html | 2 +- doc/com-tecnick-tcpdf/TCPDF.html | 6 +-- doc/com-tecnick-tcpdf/TCPDF2DBarcode.html | 2 +- doc/com-tecnick-tcpdf/TCPDFBarcode.html | 2 +- doc/com-tecnick-tcpdf/_2dbarcodes.php.html | 2 +- doc/com-tecnick-tcpdf/_barcodes.php.html | 2 +- .../_config---tcpdf_config.php.html | 2 +- doc/com-tecnick-tcpdf/_htmlcolors.php.html | 2 +- doc/com-tecnick-tcpdf/_qrcode.php.html | 2 +- doc/com-tecnick-tcpdf/_tcpdf.php.html | 6 +-- doc/com-tecnick-tcpdf/_unicode_data.php.html | 2 +- doc/elementindex.html | 2 +- doc/elementindex_com-tecnick-tcpdf.html | 2 +- doc/errors.html | 2 +- doc/index.html | 2 +- doc/li_com-tecnick-tcpdf.html | 2 +- examples/example_050.php | 37 ++++++++++++++++++- tcpdf.php | 10 ++--- 21 files changed, 66 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 65c6406..254a440 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +5.3.001 (2010-06-06) + - Barcode PDF417 was improved to support Macro Code Blocks (see example n. 50). + 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). diff --git a/README.TXT b/README.TXT index 6d772c4..e03e395 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http: sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.3.000 -Release date: 2010-06-05 +Version: 5.3.001 +Release date: 2010-06-06 Author: Nicola Asuni Copyright (c) 2002-2010: diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index 12227c4..19aefff 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -55,7 +55,7 @@

- Documentation generated on Sat, 05 Jun 2010 22:15:06 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:30 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/QRcode.html b/doc/com-tecnick-tcpdf/QRcode.html index 2271bd9..4b65ad0 100644 --- a/doc/com-tecnick-tcpdf/QRcode.html +++ b/doc/com-tecnick-tcpdf/QRcode.html @@ -5548,7 +5548,7 @@ $frame)

- Documentation generated on Sat, 05 Jun 2010 22:15:07 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:31 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index cd414c3..1d0dc93 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -80,7 +80,7 @@ Source Location: /tcpdf.php

Version:

@@ -723,7 +723,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - info@tecnick.com - version:  5.3.000 + version:  5.3.001 link:  http://www.tcpdf.org @@ -25691,7 +25691,7 @@ $file)

- Documentation generated on Sat, 05 Jun 2010 22:15:08 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:32 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html index 66a716b..26aa0cb 100644 --- a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html @@ -296,7 +296,7 @@ $type)

- Documentation generated on Sat, 05 Jun 2010 22:15:06 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:30 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index ba20f0a..e11c2b8 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -1374,7 +1374,7 @@ $type)

- Documentation generated on Sat, 05 Jun 2010 22:15:06 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:30 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html index 5b4808e..d43ead2 100644 --- a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html +++ b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html @@ -102,7 +102,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF

- Documentation generated on Sat, 05 Jun 2010 22:15:06 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:30 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_barcodes.php.html b/doc/com-tecnick-tcpdf/_barcodes.php.html index e887f0c..49af9a5 100644 --- a/doc/com-tecnick-tcpdf/_barcodes.php.html +++ b/doc/com-tecnick-tcpdf/_barcodes.php.html @@ -102,7 +102,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit

- Documentation generated on Sat, 05 Jun 2010 22:15:06 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:30 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index 96ce9df..0a2cf45 100644 --- a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html +++ b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html @@ -539,7 +539,7 @@ Configuration file for TCPDF.




- Documentation generated on Sat, 05 Jun 2010 22:15:12 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:36 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_htmlcolors.php.html b/doc/com-tecnick-tcpdf/_htmlcolors.php.html index 35b43ae..5d4e985 100644 --- a/doc/com-tecnick-tcpdf/_htmlcolors.php.html +++ b/doc/com-tecnick-tcpdf/_htmlcolors.php.html @@ -94,7 +94,7 @@ Array of WEB safe colors.




- Documentation generated on Sat, 05 Jun 2010 22:15:07 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:31 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_qrcode.php.html b/doc/com-tecnick-tcpdf/_qrcode.php.html index 39273e8..f70b08f 100644 --- a/doc/com-tecnick-tcpdf/_qrcode.php.html +++ b/doc/com-tecnick-tcpdf/_qrcode.php.html @@ -477,7 +477,7 @@ string $string, [int $split_length = 1])

- Documentation generated on Sat, 05 Jun 2010 22:15:07 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:31 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index 97a9285..ccec853 100644 --- a/doc/com-tecnick-tcpdf/_tcpdf.php.html +++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html @@ -79,7 +79,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - version:  5.3.000 + version:  5.3.001 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 @@ -110,7 +110,7 @@ unicode data

- PDF_PRODUCER = 'TCPDF 5.3.000 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 5.3.001 (http://www.tcpdf.org)'
@@ -121,7 +121,7 @@ unicode data


- Documentation generated on Sat, 05 Jun 2010 22:15:08 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:32 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index bf17a05..a01e36b 100644 --- a/doc/com-tecnick-tcpdf/_unicode_data.php.html +++ b/doc/com-tecnick-tcpdf/_unicode_data.php.html @@ -243,7 +243,7 @@ Unicode data for TCPDF library.




- Documentation generated on Sat, 05 Jun 2010 22:15:12 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:36 +0200 by phpDocumentor 1.4.3
diff --git a/doc/elementindex.html b/doc/elementindex.html index b9a6bea..2d6cf9d 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -1976,7 +1976,7 @@ top

- Documentation generated on Sat, 05 Jun 2010 22:15:06 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:30 +0200 by phpDocumentor 1.4.3
diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index cfce801..d3e1036 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -2005,7 +2005,7 @@ top

- Documentation generated on Sat, 05 Jun 2010 22:15:06 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:30 +0200 by phpDocumentor 1.4.3
diff --git a/doc/errors.html b/doc/errors.html index 31012eb..25e12d5 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

- Documentation generated on Sat, 05 Jun 2010 22:15:12 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:36 +0200 by phpDocumentor 1.4.3
diff --git a/doc/index.html b/doc/index.html index e9dcc6e..32dc86e 100644 --- a/doc/index.html +++ b/doc/index.html @@ -64,7 +64,7 @@ This documentation was generated by phpDocumentor v1.4.3

- Documentation generated on Sat, 05 Jun 2010 22:15:06 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:30 +0200 by phpDocumentor 1.4.3
diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index e9dcc6e..32dc86e 100644 --- a/doc/li_com-tecnick-tcpdf.html +++ b/doc/li_com-tecnick-tcpdf.html @@ -64,7 +64,7 @@ This documentation was generated by phpDocumentor v1.4.3

- Documentation generated on Sat, 05 Jun 2010 22:15:06 +0200 by phpDocumentor 1.4.3 + Documentation generated on Sun, 06 Jun 2010 13:13:30 +0200 by phpDocumentor 1.4.3
diff --git a/examples/example_050.php b/examples/example_050.php index 4555f2c..293abe4 100644 --- a/examples/example_050.php +++ b/examples/example_050.php @@ -2,7 +2,7 @@ //============================================================+ // File name : example_050.php // Begin : 2009-04-09 -// Last Update : 2010-06-05 +// Last Update : 2010-06-06 // // Description : Example 050 for TCPDF class // 2D Barcodes @@ -134,11 +134,44 @@ $pdf->SetXY(100, 120); $pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', '', '', 50, 50, $style, 'N'); $pdf->Text(100, 115, 'QRCODE H'); -// PDF417 : PDF417 (ISO/IEC 15438:2006) +// ------------------------------------------------------------------- +// PDF417 (ISO/IEC 15438:2006) + +/* + + The $type parameter can be simple 'PDF417' or 'PDF417' followed by a + number of comma-separated options: + + 'PDF417,a,e,t,s,f,o0,o1,o2,o3,o4,o5,o6' + + Possible options are: + + a = aspect ratio (width/height); + e = error correction level (0-8); + + Macro Control Block options: + + t = total number of macro segments; + s = macro segment index (0-99998); + f = file ID; + o0 = File Name (text); + o1 = Segment Count (numeric); + o2 = Time Stamp (numeric); + o3 = Sender (text); + o4 = Addressee (text); + o5 = File Size (numeric); + o6 = Checksum (numeric). + + Parameters t, s and f are required for a Macro Control Block, all other parametrs are optional. + To use a comma character ',' on text options, replace it with the character 255: "\xff". + +*/ + $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 $style = array( 'border' => 2, diff --git a/tcpdf.php b/tcpdf.php index 4b150e8..c11b641 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ * 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.
* @name TCPDF * @package com.tecnick.tcpdf - * @version 5.3.000 + * @version 5.3.001 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL