30
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-06-01 13:50:46 +00:00
This commit is contained in:
nicolaasuni 2010-12-18 15:11:55 +01:00
parent 94ccae0298
commit 74e79abf2e
12 changed files with 52 additions and 48 deletions

View File

@ -33,19 +33,21 @@
//============================================================+ //============================================================+
/** /**
* @file
* PHP class to creates array representations for 2D barcodes to be used with TCPDF. * PHP class to creates array representations for 2D barcodes to be used with TCPDF.
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @author Nicola Asuni * @author Nicola Asuni
* @version 1.0.007 * @version 1.0.007
*/ */
/** /**
* PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).<br> * @class TCPDF2DBarcode
* @name TCPDFBarcode * PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).<br>
* @package com.tecnick.tcpdf * @name TCPDFBarcode
* @version 1.0.007 * @package com.tecnick.tcpdf
* @author Nicola Asuni * @version 1.0.007
*/ * @author Nicola Asuni
*/
class TCPDF2DBarcode { class TCPDF2DBarcode {
/** /**

View File

@ -1,3 +1,6 @@
5.9.033 (2010-12-18)
- Source code documetnation was improved.
5.9.032 (2010-12-18) 5.9.032 (2010-12-18)
- Default font stretching and spacing values are now inherited by HTML methods. - Default font stretching and spacing values are now inherited by HTML methods.

View File

@ -8,7 +8,7 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 5.9.032 Version: 5.9.033
Release date: 2010-12-18 Release date: 2010-12-18
Author: Nicola Asuni Author: Nicola Asuni

View File

@ -33,19 +33,20 @@
//============================================================+ //============================================================+
/** /**
* @file
* PHP class to creates array representations for common 1D barcodes to be used with TCPDF. * PHP class to creates array representations for common 1D barcodes to be used with TCPDF.
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @author Nicola Asuni * @author Nicola Asuni
* @version 1.0.012 * @version 1.0.012
*/ */
/** /**
* PHP class to creates array representations for common 1D barcodes to be used with TCPDF (http://www.tcpdf.org).<br> * @class TCPDFBarcode
* @name TCPDFBarcode * PHP class to creates array representations for common 1D barcodes to be used with TCPDF (http://www.tcpdf.org).<br>
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @version 1.0.012 * @version 1.0.012
* @author Nicola Asuni * @author Nicola Asuni
*/ */
class TCPDFBarcode { class TCPDFBarcode {
/** /**

View File

@ -43,9 +43,6 @@
* Process all TTF files on current directory to build TCPDF compatible font files. * Process all TTF files on current directory to build TCPDF compatible font files.
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @author Nicola Asuni * @author Nicola Asuni
* @copyright Copyright &copy; 2004-2009, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @link www.tecnick.com
* @since 2008-12-07 * @since 2008-12-07
*/ */

View File

@ -43,14 +43,11 @@
/** /**
* Utility to generate font definition files fot TCPDF. * Utility to generate font definition files fot TCPDF.
* @author Nicola Asuni, Olivier Plathey, Steven Wittens * @author Nicola Asuni, Olivier Plathey, Steven Wittens
* @copyright 2004-2008 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
* @license http://www.gnu.org/copyleft/lesser.html LGPL
*/ */
/** /**
* * Convert a Font for TCPDF
* @param $fontfile (string) path to font file (TTF, OTF or PFB). * @param $fontfile (string) path to font file (TTF, OTF or PFB).
* @param $fmfile (string) font metrics file (UFM or AFM). * @param $fmfile (string) font metrics file (UFM or AFM).
* @param $embedded (boolean) Set to false to not embed the font, true otherwise (default). * @param $embedded (boolean) Set to false to not embed the font, true otherwise (default).

View File

@ -32,11 +32,12 @@
//============================================================+ //============================================================+
/** /**
* @file
* Array of WEB safe colors * Array of WEB safe colors
* @author Nicola Asuni * @author Nicola Asuni
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @since 2.9.000 (2008-03-26) * @since 2.9.000 (2008-03-26)
*/ */
/** /**
* Array of WEB safe colors * Array of WEB safe colors

View File

@ -44,6 +44,7 @@
//============================================================+ //============================================================+
/** /**
* @file
* Class to create PDF417 barcode arrays for TCPDF class. * Class to create PDF417 barcode arrays for TCPDF class.
* PDF417 (ISO/IEC 15438:2006) is a 2-dimensional stacked bar code created by Symbol Technologies in 1991. * PDF417 (ISO/IEC 15438:2006) is a 2-dimensional stacked bar code created by Symbol Technologies in 1991.
* (requires PHP bcmath extension) * (requires PHP bcmath extension)
@ -82,9 +83,9 @@ if (!defined('PDF417DEFS')) {
// #*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*# // #*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#
/** /**
* @class PDF417
* Class to create PDF417 barcode arrays for TCPDF class. * Class to create PDF417 barcode arrays for TCPDF class.
* PDF417 (ISO/IEC 15438:2006) is a 2-dimensional stacked bar code created by Symbol Technologies in 1991. * PDF417 (ISO/IEC 15438:2006) is a 2-dimensional stacked bar code created by Symbol Technologies in 1991.
* @name PDF417
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @author Nicola Asuni * @author Nicola Asuni
* @version 1.0.003 * @version 1.0.003

View File

@ -64,6 +64,7 @@
//============================================================+ //============================================================+
/** /**
* @file
* Class to create QR-code arrays for TCPDF class. * Class to create QR-code arrays for TCPDF class.
* QR Code symbol is a 2D barcode that can be scanned by handy terminals such as a mobile phone with CCD. * QR Code symbol is a 2D barcode that can be scanned by handy terminals such as a mobile phone with CCD.
* The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness. * The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness.
@ -273,6 +274,7 @@ if (!function_exists('str_split')) {
// ##################################################### // #####################################################
/** /**
* @class QRcode
* Class to create QR-code arrays for TCPDF class. * Class to create QR-code arrays for TCPDF class.
* QR Code symbol is a 2D barcode that can be scanned by handy terminals such as a mobile phone with CCD. * QR Code symbol is a 2D barcode that can be scanned by handy terminals such as a mobile phone with CCD.
* The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness. * The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness.
@ -282,7 +284,6 @@ if (!function_exists('str_split')) {
* This class is derived from "PHP QR Code encoder" by Dominik Dzienia (http://phpqrcode.sourceforge.net/) based on "libqrencode C library 3.1.1." by Kentaro Fukuchi (http://megaui.net/fukuchi/works/qrencode/index.en.html), contains Reed-Solomon code written by Phil Karn, KA9Q. QR Code is registered trademark of DENSO WAVE INCORPORATED (http://www.denso-wave.com/qrcode/index-e.html). * This class is derived from "PHP QR Code encoder" by Dominik Dzienia (http://phpqrcode.sourceforge.net/) based on "libqrencode C library 3.1.1." by Kentaro Fukuchi (http://megaui.net/fukuchi/works/qrencode/index.en.html), contains Reed-Solomon code written by Phil Karn, KA9Q. QR Code is registered trademark of DENSO WAVE INCORPORATED (http://www.denso-wave.com/qrcode/index-e.html).
* Please read comments on this class source file for full copyright and license information. * Please read comments on this class source file for full copyright and license information.
* *
* @name QRcode
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @author Nicola Asuni * @author Nicola Asuni
* @version 1.0.009 * @version 1.0.009

View File

@ -32,6 +32,7 @@
//============================================================+ //============================================================+
/** /**
* @file
* Arrays of Spot Colors for TCPDF library * Arrays of Spot Colors for TCPDF library
* @author Nicola Asuni * @author Nicola Asuni
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf

View File

@ -1,7 +1,7 @@
<?php <?php
//============================================================+ //============================================================+
// File name : tcpdf.php // File name : tcpdf.php
// Version : 5.9.032 // Version : 5.9.033
// Begin : 2002-08-03 // Begin : 2002-08-03
// Last Update : 2010-12-18 // Last Update : 2010-12-18
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
@ -100,6 +100,7 @@
//============================================================+ //============================================================+
/** /**
* @file
* 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) 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> * TCPDF project (http://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
* <h3>TCPDF main features are:</h3> * <h3>TCPDF main features are:</h3>
@ -133,24 +134,21 @@
* Tools to encode your unicode fonts are on fonts/utils directory.</p> * Tools to encode your unicode fonts are on fonts/utils directory.</p>
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @author Nicola Asuni * @author Nicola Asuni
* @version 5.9.032 * @version 5.9.033
*/ */
/** // Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file.
* main configuration file
* (define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file)
*/
require_once(dirname(__FILE__).'/config/tcpdf_config.php'); require_once(dirname(__FILE__).'/config/tcpdf_config.php');
/** /**
* PHP class for generating PDF documents without requiring external extensions. * @class TCPDF
* 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> * PHP class for generating PDF documents without requiring external extensions.
* @name TCPDF * 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>
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @brief PHP class for generating PDF documents without requiring external extensions. * @brief PHP class for generating PDF documents without requiring external extensions.
* @version 5.9.032 * @version 5.9.033
* @author Nicola Asuni - info@tecnick.com * @author Nicola Asuni - info@tecnick.com
*/ */
class TCPDF { class TCPDF {
// private properties // private properties
@ -159,7 +157,7 @@ class TCPDF {
* Current TCPDF version. * Current TCPDF version.
* @private * @private
*/ */
private $tcpdf_version = '5.9.032'; private $tcpdf_version = '5.9.033';
// Protected properties // Protected properties
@ -11993,6 +11991,7 @@ class TCPDF {
/** /**
* Convert password for AES-256 encryption mode * Convert password for AES-256 encryption mode
* @param $password (string) password
* @return string password * @return string password
* @protected * @protected
* @since 5.9.006 (2010-10-19) * @since 5.9.006 (2010-10-19)
@ -15769,7 +15768,7 @@ class TCPDF {
/** /**
* Set the PDF version (check PDF reference for valid values). * Set the PDF version (check PDF reference for valid values).
* Default value is 1.t * @param $version (string) PDF document version.
* @public * @public
* @since 3.1.000 (2008-06-09) * @since 3.1.000 (2008-06-09)
*/ */

View File

@ -35,19 +35,20 @@
// Saleh AlMatrafe // Saleh AlMatrafe
/** /**
* @file
* Unicode data class for TCPDF library. * Unicode data class for TCPDF library.
* @author Nicola Asuni * @author Nicola Asuni
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @since 2.1.000 (2008-01-08) * @since 2.1.000 (2008-01-08)
*/ */
/** /**
* This is a PHP class containing Unicde data for TCPDF library * @class TCPDF_UNICODE_DATA
* @name TCPDF_UNICODE_DATA * This is a PHP class containing Unicde data for TCPDF library
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @version 1.0.007 * @version 1.0.007
* @author Nicola Asuni - info@tecnick.com * @author Nicola Asuni - info@tecnick.com
*/ */
class TCPDF_UNICODE_DATA { class TCPDF_UNICODE_DATA {
/** /**