32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-11-22 21:05:10 +00:00
This commit is contained in:
nicolaasuni 2009-08-17 18:00:15 +02:00
parent 075d25d56e
commit 8c917d7213
20 changed files with 12787 additions and 12680 deletions

View File

@ -1,104 +1,104 @@
<?php <?php
//============================================================+ //============================================================+
// File name : 2dbarcodes.php // File name : 2dbarcodes.php
// Begin : 2009-04-07 // Begin : 2009-04-07
// Last Update : 2009-04-08 // Last Update : 2009-08-17
// Version : 1.0.000 // Version : 1.0.000
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Copyright (C) 2008-2009 Nicola Asuni - Tecnick.com S.r.l. // Copyright (C) 2008-2009 Nicola Asuni - Tecnick.com S.r.l.
// //
// This program is free software: you can redistribute it and/or modify // 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 // 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 // the Free Software Foundation, either version 2.1 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, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but 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. See the
// GNU Lesser General Public License for more details. // GNU Lesser 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 Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// See LICENSE.TXT file for more information. // 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 // Author: Nicola Asuni
// //
// (c) Copyright: // (c) Copyright:
// Nicola Asuni // Nicola Asuni
// Tecnick.com S.r.l. // Tecnick.com S.r.l.
// Via della Pace, 11 // Via della Pace, 11
// 09044 Quartucciu (CA) // 09044 Quartucciu (CA)
// ITALY // ITALY
// www.tecnick.com // www.tecnick.com
// info@tecnick.com // info@tecnick.com
//============================================================+ //============================================================+
/** /**
* 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
* @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 2008-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
* @link http://www.tcpdf.org * @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.000 * @version 1.0.000
*/ */
/** /**
* 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.000 * @version 1.0.000
* @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
*/ */
class TCPDF2DBarcode { class TCPDF2DBarcode {
/** /**
* @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 2D barcodes:<ul> * Return an array representations for 2D 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['num_rows'] required number of rows</li> * <li>$arrcode['num_rows'] required number of rows</li>
* <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>TEST</li><li>...TO BE IMPLEMENTED</li></ul> * @param string $type type of barcode: <ul><li>TEST</li><li>...TO BE IMPLEMENTED</li></ul>
*/ */
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>TEST</li><li>...TO BE IMPLEMENTED</li></ul> * @param string $type type of barcode: <ul><li>TEST</li><li>...TO BE IMPLEMENTED</li></ul>
* @return array * @return array
*/ */
public function setBarcode($code, $type) { public function setBarcode($code, $type) {
$mode = explode(',', $type); $mode = explode(',', $type);
switch (strtoupper($mode[0])) { switch (strtoupper($mode[0])) {
case 'TEST': { // TEST MODE case 'TEST': { // TEST MODE
$this->barcode_array['num_rows'] = 5; $this->barcode_array['num_rows'] = 5;
$this->barcode_array['num_cols'] = 15; $this->barcode_array['num_cols'] = 15;
$this->barcode_array['bcode'] = array( $this->barcode_array['bcode'] = array(
@ -107,20 +107,20 @@ class TCPDF2DBarcode {
array(0,1,0,0,1,1,0,0,1,1,1,0,0,1,0), array(0,1,0,0,1,1,0,0,1,1,1,0,0,1,0),
array(0,1,0,0,1,0,0,0,0,0,1,0,0,1,0), array(0,1,0,0,1,0,0,0,0,0,1,0,0,1,0),
array(0,1,0,0,1,1,1,0,1,1,1,0,0,1,0) array(0,1,0,0,1,1,1,0,1,1,1,0,0,1,0)
); );
break; break;
} }
// ... Add here real 2D barcodes ... // ... Add here real 2D barcodes ...
default: { default: {
$this->barcode_array = false; $this->barcode_array = false;
} }
} }
} }
} // end of class } // end of class
//============================================================+ //============================================================+
// END OF FILE // END OF FILE
//============================================================+ //============================================================+
?> ?>

View File

@ -1,3 +1,7 @@
4.6.025 (2009-08-17)
- Carriage returns (\r) were removed from source code.
- Problem related to set_magic_quotes_runtime() depracated was fixed.
4.6.024 (2009-08-07) 4.6.024 (2009-08-07)
- Bug item #2833556 "justification using other units than mm" was fixed. - Bug item #2833556 "justification using other units than mm" was fixed.
- Documentation was fixed/updated. - Documentation was fixed/updated.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 4.6.024 Version: 4.6.025
Release date: 2009-08-07 Release date: 2009-08-17
Author: Nicola Asuni Author: Nicola Asuni
Copyright (c) 2001-2009: Copyright (c) 2001-2009:

File diff suppressed because it is too large Load Diff

View File

@ -45,7 +45,7 @@
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Fri, 07 Aug 2009 14:13:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 17:59:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

File diff suppressed because it is too large Load Diff

View File

@ -1368,7 +1368,7 @@ $type)</code>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Fri, 07 Aug 2009 14:13:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 17:59:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -96,7 +96,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 Fri, 07 Aug 2009 14:13:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 17:59:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -507,7 +507,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Fri, 07 Aug 2009 14:13:32 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 18:00:05 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -88,7 +88,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Fri, 07 Aug 2009 14:13:26 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 17:59:55 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -73,7 +73,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>4.6.024</td> <td><b>version:</b>&nbsp;&nbsp;</td><td>4.6.025</td>
</tr> </tr>
<tr> <tr>
<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> <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>
@ -104,7 +104,7 @@ unicode data<br /><br /></div>
<div class="tags"> <div class="tags">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>PDF_PRODUCER = 'TCPDF 4.6.024 (http://www.tcpdf.org)'</code> <code>PDF_PRODUCER = 'TCPDF 4.6.025 (http://www.tcpdf.org)'</code>
</td></tr></table> </td></tr></table>
</td></tr></table> </td></tr></table>
@ -115,7 +115,7 @@ unicode data<br /><br /></div>
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Fri, 07 Aug 2009 14:13:26 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 17:59:56 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -142,26 +142,26 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<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>K_RE_PATTERN_ARABIC = &quot;/( <code>K_RE_PATTERN_ARABIC = &quot;/(
\xD8[\x80-\x83\x8B\x8D\x9B\x9E\x9F\xA1-\xBA] # AL \xD8[\x80-\x83\x8B\x8D\x9B\x9E\x9F\xA1-\xBA] # AL
| \xD9[\x80-\x8A\xAD-\xAF\xB1-\xBF] # AL | \xD9[\x80-\x8A\xAD-\xAF\xB1-\xBF] # AL
| \xDA[\x80-\xBF] # AL | \xDA[\x80-\xBF] # AL
| \xDB[\x80-\x95\x9D\xA5\xA6\xAE\xAF\xBA-\xBF] # AL | \xDB[\x80-\x95\x9D\xA5\xA6\xAE\xAF\xBA-\xBF] # AL
| \xDC[\x80-\x8D\x90\x92-\xAF] # AL | \xDC[\x80-\x8D\x90\x92-\xAF] # AL
| \xDD[\x8D-\xAD] # AL | \xDD[\x8D-\xAD] # AL
| \xDE[\x80-\xA5\xB1] # AL | \xDE[\x80-\xA5\xB1] # AL
| \xEF\xAD[\x90-\xBF] # AL | \xEF\xAD[\x90-\xBF] # AL
| \xEF\xAE[\x80-\xB1] # AL | \xEF\xAE[\x80-\xB1] # AL
| \xEF\xAF[\x93-\xBF] # AL | \xEF\xAF[\x93-\xBF] # AL
| \xEF[\xB0-\xB3][\x80-\xBF] # AL | \xEF[\xB0-\xB3][\x80-\xBF] # AL
| \xEF\xB4[\x80-\xBD] # AL | \xEF\xB4[\x80-\xBD] # AL
| \xEF\xB5[\x90-\xBF] # AL | \xEF\xB5[\x90-\xBF] # AL
| \xEF\xB6[\x80-\x8F\x92-\xBF] # AL | \xEF\xB6[\x80-\x8F\x92-\xBF] # AL
| \xEF\xB7[\x80-\x87\xB0-\xBC] # AL | \xEF\xB7[\x80-\x87\xB0-\xBC] # AL
| \xEF\xB9[\xB0-\xB4\xB6-\xBF] # AL | \xEF\xB9[\xB0-\xB4\xB6-\xBF] # AL
| \xEF\xBA[\x80-\xBF] # AL | \xEF\xBA[\x80-\xBF] # AL
| \xEF\xBB[\x80-\xBC] # AL | \xEF\xBB[\x80-\xBC] # AL
| \xD9[\xA0-\xA9\xAB\xAC] # AN | \xD9[\xA0-\xA9\xAB\xAC] # AN
)/x&quot;</code> )/x&quot;</code>
</td></tr></table> </td></tr></table>
</td></tr></table> </td></tr></table>
@ -175,18 +175,18 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<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>K_RE_PATTERN_RTL = &quot;/( <code>K_RE_PATTERN_RTL = &quot;/(
\xD6\xBE # R \xD6\xBE # R
| \xD7[\x80\x83\x86\x90-\xAA\xB0-\xB4] # R | \xD7[\x80\x83\x86\x90-\xAA\xB0-\xB4] # R
| \xDF[\x80-\xAA\xB4\xB5\xBA] # R | \xDF[\x80-\xAA\xB4\xB5\xBA] # R
| \xE2\x80\x8F # R | \xE2\x80\x8F # R
| \xEF\xAC[\x9D\x9F\xA0-\xA8\xAA-\xB6\xB8-\xBC\xBE] # R | \xEF\xAC[\x9D\x9F\xA0-\xA8\xAA-\xB6\xB8-\xBC\xBE] # R
| \xEF\xAD[\x80\x81\x83\x84\x86-\x8F] # R | \xEF\xAD[\x80\x81\x83\x84\x86-\x8F] # R
| \xF0\x90\xA0[\x80-\x85\x88\x8A-\xB5\xB7\xB8\xBC\xBF] # R | \xF0\x90\xA0[\x80-\x85\x88\x8A-\xB5\xB7\xB8\xBC\xBF] # R
| \xF0\x90\xA4[\x80-\x99] # R | \xF0\x90\xA4[\x80-\x99] # R
| \xF0\x90\xA8[\x80\x90-\x93\x95-\x97\x99-\xB3] # R | \xF0\x90\xA8[\x80\x90-\x93\x95-\x97\x99-\xB3] # R
| \xF0\x90\xA9[\x80-\x87\x90-\x98] # R | \xF0\x90\xA9[\x80-\x87\x90-\x98] # R
| \xE2\x80[\xAB\xAE] # RLE &amp; RLO | \xE2\x80[\xAB\xAE] # RLE &amp; RLO
)/x&quot;</code> )/x&quot;</code>
</td></tr></table> </td></tr></table>
</td></tr></table> </td></tr></table>
@ -237,7 +237,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Fri, 07 Aug 2009 14:13:32 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 18:00:05 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -457,6 +457,8 @@
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetX">TCPDF::GetX()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the relative X value of current position.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetX">TCPDF::GetX()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the relative X value of current position.</dd>
<dt><b>GetY</b></dt> <dt><b>GetY</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetY">TCPDF::GetY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the ordinate of the current position.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetY">TCPDF::GetY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the ordinate of the current position.</dd>
<dt><b>get_mqr</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodget_mqr">TCPDF::get_mqr()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets the current active configuration setting of magic_quotes_runtime (if the get_magic_quotes_runtime function exist)</dd>
<dt><b>Gradient</b></dt> <dt><b>Gradient</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGradient">TCPDF::Gradient()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Output gradient.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGradient">TCPDF::Gradient()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Output gradient.</dd>
</dl> </dl>
@ -1061,6 +1063,8 @@
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetXY">TCPDF::SetXY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Defines the abscissa and ordinate of the current position.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetXY">TCPDF::SetXY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Defines the abscissa and ordinate of the current position.</dd>
<dt><b>SetY</b></dt> <dt><b>SetY</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetY">TCPDF::SetY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Moves the current abscissa back to the left margin and sets the ordinate.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetY">TCPDF::SetY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Moves the current abscissa back to the left margin and sets the ordinate.</dd>
<dt><b>set_mqr</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodset_mqr">TCPDF::set_mqr()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Sets the current active configuration setting of magic_quotes_runtime (if the set_magic_quotes_runtime function exist)</dd>
<dt><b>Skew</b></dt> <dt><b>Skew</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSkew">TCPDF::Skew()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Skew.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSkew">TCPDF::Skew()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Skew.</dd>
<dt><b>SkewX</b></dt> <dt><b>SkewX</b></dt>
@ -1374,7 +1378,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 Fri, 07 Aug 2009 14:13:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 17:59:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -608,6 +608,8 @@
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetX">TCPDF::GetX()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the relative X value of current position.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetX">TCPDF::GetX()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the relative X value of current position.</dd>
<dt><b>GetY</b></dt> <dt><b>GetY</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetY">TCPDF::GetY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the ordinate of the current position.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGetY">TCPDF::GetY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the ordinate of the current position.</dd>
<dt><b>get_mqr</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodget_mqr">TCPDF::get_mqr()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets the current active configuration setting of magic_quotes_runtime (if the get_magic_quotes_runtime function exist)</dd>
<dt><b>Gradient</b></dt> <dt><b>Gradient</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGradient">TCPDF::Gradient()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Output gradient.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodGradient">TCPDF::Gradient()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Output gradient.</dd>
</dl> </dl>
@ -1212,6 +1214,8 @@
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetXY">TCPDF::SetXY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Defines the abscissa and ordinate of the current position.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetXY">TCPDF::SetXY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Defines the abscissa and ordinate of the current position.</dd>
<dt><b>SetY</b></dt> <dt><b>SetY</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetY">TCPDF::SetY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Moves the current abscissa back to the left margin and sets the ordinate.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSetY">TCPDF::SetY()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Moves the current abscissa back to the left margin and sets the ordinate.</dd>
<dt><b>set_mqr</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodset_mqr">TCPDF::set_mqr()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Sets the current active configuration setting of magic_quotes_runtime (if the set_magic_quotes_runtime function exist)</dd>
<dt><b>Skew</b></dt> <dt><b>Skew</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSkew">TCPDF::Skew()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Skew.</dd> <dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodSkew">TCPDF::Skew()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Skew.</dd>
<dt><b>SkewX</b></dt> <dt><b>SkewX</b></dt>
@ -1397,7 +1401,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 Fri, 07 Aug 2009 14:13:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 17:59:53 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</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 Fri, 07 Aug 2009 14:13:32 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 18:00:05 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -58,7 +58,7 @@
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br /> This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Fri, 07 Aug 2009 14:13:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 17:59:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -58,7 +58,7 @@
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br /> This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br />
<div class="credit"> <div class="credit">
<hr /> <hr />
Documentation generated on Fri, 07 Aug 2009 14:13:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a> Documentation generated on Mon, 17 Aug 2009 17:59:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div> </div>
</td></tr></table> </td></tr></table>
</td> </td>

View File

@ -1,208 +1,208 @@
<?php <?php
//============================================================+ //============================================================+
// File name : htmlcolors.php // File name : htmlcolors.php
// Begin : 2002-04-09 // Begin : 2002-04-09
// Last Update : 2008-11-17 // Last Update : 2009-08-17
// Version : 1.0.002 // Version : 1.0.002
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l. // Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l.
// //
// This program is free software: you can redistribute it and/or modify // 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 // 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 // the Free Software Foundation, either version 2.1 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, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but 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. See the
// GNU Lesser General Public License for more details. // GNU Lesser 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 Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// See LICENSE.TXT file for more information. // See LICENSE.TXT file for more information.
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// //
// Description : Array of WEB safe colors // Description : Array of WEB safe colors
// //
// Author: Nicola Asuni // Author: Nicola Asuni
// //
// (c) Copyright: // (c) Copyright:
// Nicola Asuni // Nicola Asuni
// Tecnick.com S.r.l. // Tecnick.com S.r.l.
// Via della Pace, 11 // Via della Pace, 11
// 09044 Quartucciu (CA) // 09044 Quartucciu (CA)
// ITALY // ITALY
// www.tecnick.com // www.tecnick.com
// info@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 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
* @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
* @since 2.9.000 (2008-03-26) * @since 2.9.000 (2008-03-26)
*/ */
/** /**
* Array of WEB safe colors * Array of WEB safe colors
*/ */
global $webcolor; global $webcolor;
$webcolor = array ( $webcolor = array (
'aliceblue' => 'f0f8ff', 'aliceblue' => 'f0f8ff',
'antiquewhite' => 'faebd7', 'antiquewhite' => 'faebd7',
'aqua' => '00ffff', 'aqua' => '00ffff',
'aquamarine' => '7fffd4', 'aquamarine' => '7fffd4',
'azure' => 'f0ffff', 'azure' => 'f0ffff',
'beige' => 'f5f5dc', 'beige' => 'f5f5dc',
'bisque' => 'ffe4c4', 'bisque' => 'ffe4c4',
'black' => '000000', 'black' => '000000',
'blanchedalmond' => 'ffebcd', 'blanchedalmond' => 'ffebcd',
'blue' => '0000ff', 'blue' => '0000ff',
'blueviolet' => '8a2be2', 'blueviolet' => '8a2be2',
'brown' => 'a52a2a', 'brown' => 'a52a2a',
'burlywood' => 'deb887', 'burlywood' => 'deb887',
'cadetblue' => '5f9ea0', 'cadetblue' => '5f9ea0',
'chartreuse' => '7fff00', 'chartreuse' => '7fff00',
'chocolate' => 'd2691e', 'chocolate' => 'd2691e',
'coral' => 'ff7f50', 'coral' => 'ff7f50',
'cornflowerblue' => '6495ed', 'cornflowerblue' => '6495ed',
'cornsilk' => 'fff8dc', 'cornsilk' => 'fff8dc',
'crimson' => 'dc143c', 'crimson' => 'dc143c',
'cyan' => '00ffff', 'cyan' => '00ffff',
'darkblue' => '00008b', 'darkblue' => '00008b',
'darkcyan' => '008b8b', 'darkcyan' => '008b8b',
'darkgoldenrod' => 'b8860b', 'darkgoldenrod' => 'b8860b',
'darkgray' => 'a9a9a9', 'darkgray' => 'a9a9a9',
'darkgrey' => 'a9a9a9', 'darkgrey' => 'a9a9a9',
'darkgreen' => '006400', 'darkgreen' => '006400',
'darkkhaki' => 'bdb76b', 'darkkhaki' => 'bdb76b',
'darkmagenta' => '8b008b', 'darkmagenta' => '8b008b',
'darkolivegreen' => '556b2f', 'darkolivegreen' => '556b2f',
'darkorange' => 'ff8c00', 'darkorange' => 'ff8c00',
'darkorchid' => '9932cc', 'darkorchid' => '9932cc',
'darkred' => '8b0000', 'darkred' => '8b0000',
'darksalmon' => 'e9967a', 'darksalmon' => 'e9967a',
'darkseagreen' => '8fbc8f', 'darkseagreen' => '8fbc8f',
'darkslateblue' => '483d8b', 'darkslateblue' => '483d8b',
'darkslategray' => '2f4f4f', 'darkslategray' => '2f4f4f',
'darkslategrey' => '2f4f4f', 'darkslategrey' => '2f4f4f',
'darkturquoise' => '00ced1', 'darkturquoise' => '00ced1',
'darkviolet' => '9400d3', 'darkviolet' => '9400d3',
'deeppink' => 'ff1493', 'deeppink' => 'ff1493',
'deepskyblue' => '00bfff', 'deepskyblue' => '00bfff',
'dimgray' => '696969', 'dimgray' => '696969',
'dimgrey' => '696969', 'dimgrey' => '696969',
'dodgerblue' => '1e90ff', 'dodgerblue' => '1e90ff',
'firebrick' => 'b22222', 'firebrick' => 'b22222',
'floralwhite' => 'fffaf0', 'floralwhite' => 'fffaf0',
'forestgreen' => '228b22', 'forestgreen' => '228b22',
'fuchsia' => 'ff00ff', 'fuchsia' => 'ff00ff',
'gainsboro' => 'dcdcdc', 'gainsboro' => 'dcdcdc',
'ghostwhite' => 'f8f8ff', 'ghostwhite' => 'f8f8ff',
'gold' => 'ffd700', 'gold' => 'ffd700',
'goldenrod' => 'daa520', 'goldenrod' => 'daa520',
'gray' => '808080', 'gray' => '808080',
'grey' => '808080', 'grey' => '808080',
'green' => '008000', 'green' => '008000',
'greenyellow' => 'adff2f', 'greenyellow' => 'adff2f',
'honeydew' => 'f0fff0', 'honeydew' => 'f0fff0',
'hotpink' => 'ff69b4', 'hotpink' => 'ff69b4',
'indianred ' => 'cd5c5c', 'indianred ' => 'cd5c5c',
'indigo ' => '4b0082', 'indigo ' => '4b0082',
'ivory' => 'fffff0', 'ivory' => 'fffff0',
'khaki' => 'f0e68c', 'khaki' => 'f0e68c',
'lavender' => 'e6e6fa', 'lavender' => 'e6e6fa',
'lavenderblush' => 'fff0f5', 'lavenderblush' => 'fff0f5',
'lawngreen' => '7cfc00', 'lawngreen' => '7cfc00',
'lemonchiffon' => 'fffacd', 'lemonchiffon' => 'fffacd',
'lightblue' => 'add8e6', 'lightblue' => 'add8e6',
'lightcoral' => 'f08080', 'lightcoral' => 'f08080',
'lightcyan' => 'e0ffff', 'lightcyan' => 'e0ffff',
'lightgoldenrodyellow' => 'fafad2', 'lightgoldenrodyellow' => 'fafad2',
'lightgray' => 'd3d3d3', 'lightgray' => 'd3d3d3',
'lightgrey' => 'd3d3d3', 'lightgrey' => 'd3d3d3',
'lightgreen' => '90ee90', 'lightgreen' => '90ee90',
'lightpink' => 'ffb6c1', 'lightpink' => 'ffb6c1',
'lightsalmon' => 'ffa07a', 'lightsalmon' => 'ffa07a',
'lightseagreen' => '20b2aa', 'lightseagreen' => '20b2aa',
'lightskyblue' => '87cefa', 'lightskyblue' => '87cefa',
'lightslategray' => '778899', 'lightslategray' => '778899',
'lightslategrey' => '778899', 'lightslategrey' => '778899',
'lightsteelblue' => 'b0c4de', 'lightsteelblue' => 'b0c4de',
'lightyellow' => 'ffffe0', 'lightyellow' => 'ffffe0',
'lime' => '00ff00', 'lime' => '00ff00',
'limegreen' => '32cd32', 'limegreen' => '32cd32',
'linen' => 'faf0e6', 'linen' => 'faf0e6',
'magenta' => 'ff00ff', 'magenta' => 'ff00ff',
'maroon' => '800000', 'maroon' => '800000',
'mediumaquamarine' => '66cdaa', 'mediumaquamarine' => '66cdaa',
'mediumblue' => '0000cd', 'mediumblue' => '0000cd',
'mediumorchid' => 'ba55d3', 'mediumorchid' => 'ba55d3',
'mediumpurple' => '9370d8', 'mediumpurple' => '9370d8',
'mediumseagreen' => '3cb371', 'mediumseagreen' => '3cb371',
'mediumslateblue' => '7b68ee', 'mediumslateblue' => '7b68ee',
'mediumspringgreen' => '00fa9a', 'mediumspringgreen' => '00fa9a',
'mediumturquoise' => '48d1cc', 'mediumturquoise' => '48d1cc',
'mediumvioletred' => 'c71585', 'mediumvioletred' => 'c71585',
'midnightblue' => '191970', 'midnightblue' => '191970',
'mintcream' => 'f5fffa', 'mintcream' => 'f5fffa',
'mistyrose' => 'ffe4e1', 'mistyrose' => 'ffe4e1',
'moccasin' => 'ffe4b5', 'moccasin' => 'ffe4b5',
'navajowhite' => 'ffdead', 'navajowhite' => 'ffdead',
'navy' => '000080', 'navy' => '000080',
'oldlace' => 'fdf5e6', 'oldlace' => 'fdf5e6',
'olive' => '808000', 'olive' => '808000',
'olivedrab' => '6b8e23', 'olivedrab' => '6b8e23',
'orange' => 'ffa500', 'orange' => 'ffa500',
'orangered' => 'ff4500', 'orangered' => 'ff4500',
'orchid' => 'da70d6', 'orchid' => 'da70d6',
'palegoldenrod' => 'eee8aa', 'palegoldenrod' => 'eee8aa',
'palegreen' => '98fb98', 'palegreen' => '98fb98',
'paleturquoise' => 'afeeee', 'paleturquoise' => 'afeeee',
'palevioletred' => 'd87093', 'palevioletred' => 'd87093',
'papayawhip' => 'ffefd5', 'papayawhip' => 'ffefd5',
'peachpuff' => 'ffdab9', 'peachpuff' => 'ffdab9',
'peru' => 'cd853f', 'peru' => 'cd853f',
'pink' => 'ffc0cb', 'pink' => 'ffc0cb',
'plum' => 'dda0dd', 'plum' => 'dda0dd',
'powderblue' => 'b0e0e6', 'powderblue' => 'b0e0e6',
'purple' => '800080', 'purple' => '800080',
'red' => 'ff0000', 'red' => 'ff0000',
'rosybrown' => 'bc8f8f', 'rosybrown' => 'bc8f8f',
'royalblue' => '4169e1', 'royalblue' => '4169e1',
'saddlebrown' => '8b4513', 'saddlebrown' => '8b4513',
'salmon' => 'fa8072', 'salmon' => 'fa8072',
'sandybrown' => 'f4a460', 'sandybrown' => 'f4a460',
'seagreen' => '2e8b57', 'seagreen' => '2e8b57',
'seashell' => 'fff5ee', 'seashell' => 'fff5ee',
'sienna' => 'a0522d', 'sienna' => 'a0522d',
'silver' => 'c0c0c0', 'silver' => 'c0c0c0',
'skyblue' => '87ceeb', 'skyblue' => '87ceeb',
'slateblue' => '6a5acd', 'slateblue' => '6a5acd',
'slategray' => '708090', 'slategray' => '708090',
'slategrey' => '708090', 'slategrey' => '708090',
'snow' => 'fffafa', 'snow' => 'fffafa',
'springgreen' => '00ff7f', 'springgreen' => '00ff7f',
'steelblue' => '4682b4', 'steelblue' => '4682b4',
'tan' => 'd2b48c', 'tan' => 'd2b48c',
'teal' => '008080', 'teal' => '008080',
'thistle' => 'd8bfd8', 'thistle' => 'd8bfd8',
'tomato' => 'ff6347', 'tomato' => 'ff6347',
'turquoise' => '40e0d0', 'turquoise' => '40e0d0',
'violet' => 'ee82ee', 'violet' => 'ee82ee',
'wheat' => 'f5deb3', 'wheat' => 'f5deb3',
'white' => 'ffffff', 'white' => 'ffffff',
'whitesmoke' => 'f5f5f5', 'whitesmoke' => 'f5f5f5',
'yellow' => 'ffff00', 'yellow' => 'ffff00',
'yellowgreen' => '9acd32' 'yellowgreen' => '9acd32'
); );
//============================================================+ //============================================================+
// END OF FILE // END OF FILE
//============================================================+ //============================================================+
?> ?>

21437
tcpdf.php

File diff suppressed because it is too large Load Diff

View File

@ -1,132 +1,132 @@
<?php <?php
//============================================================+ //============================================================+
// File name : unicode_data.php // File name : unicode_data.php
// Begin : 2008-01-01 // Begin : 2008-01-01
// Last Update : 2008-11-17 // Last Update : 2009-08-17
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l. // Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l.
// //
// This program is free software: you can redistribute it and/or modify // 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 // 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 // the Free Software Foundation, either version 2.1 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, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but 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. See the
// GNU Lesser General Public License for more details. // GNU Lesser 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 Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// See LICENSE.TXT file for more information. // See LICENSE.TXT file for more information.
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// //
// Description : Unicode Include file for TCPDF. // Description : Unicode Include file for TCPDF.
// //
// Author: Nicola Asuni // Author: Nicola Asuni
// //
// (c) Copyright: // (c) Copyright:
// Nicola Asuni // Nicola Asuni
// Tecnick.com s.r.l. // Tecnick.com s.r.l.
// Via Della Pace, 11 // Via Della Pace, 11
// 09044 Quartucciu (CA) // 09044 Quartucciu (CA)
// ITALY // ITALY
// www.tecnick.com // www.tecnick.com
// info@tecnick.com // info@tecnick.com
//============================================================+ //============================================================+
// THANKS TO // THANKS TO
// Efthimios Mavrogeorgiadis // Efthimios Mavrogeorgiadis
// Saleh AlMatrafe // Saleh AlMatrafe
/** /**
* Unicode Include file for TCPDF. * Unicode Include file for TCPDF.
* @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 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
* @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
* @since 2.1.000 (2008-01-08) * @since 2.1.000 (2008-01-08)
*/ */
/** /**
* Left-to-Right Mark * Left-to-Right Mark
*/ */
define('K_LRM', 8206); define('K_LRM', 8206);
/** /**
* Right-to-Left Mark * Right-to-Left Mark
*/ */
define('K_RLM', 8207); define('K_RLM', 8207);
/** /**
* Left-to-Right Embedding * Left-to-Right Embedding
*/ */
define('K_LRE', 8234); define('K_LRE', 8234);
/** /**
* Right-to-Left Embedding * Right-to-Left Embedding
*/ */
define('K_RLE', 8235); define('K_RLE', 8235);
/** /**
* Pop Directional Format * Pop Directional Format
*/ */
define('K_PDF', 8236); define('K_PDF', 8236);
/** /**
* Left-to-Right Override * Left-to-Right Override
*/ */
define('K_LRO', 8237); define('K_LRO', 8237);
/** /**
* Right-to-Left Override * Right-to-Left Override
*/ */
define('K_RLO', 8238); define('K_RLO', 8238);
/* /*
* Pattern to test RTL (Righ-To-Left) strings using regular expressions. * Pattern to test RTL (Righ-To-Left) strings using regular expressions.
*/
define('K_RE_PATTERN_RTL', "/(
\xD6\xBE # R
| \xD7[\x80\x83\x86\x90-\xAA\xB0-\xB4] # R
| \xDF[\x80-\xAA\xB4\xB5\xBA] # R
| \xE2\x80\x8F # R
| \xEF\xAC[\x9D\x9F\xA0-\xA8\xAA-\xB6\xB8-\xBC\xBE] # R
| \xEF\xAD[\x80\x81\x83\x84\x86-\x8F] # R
| \xF0\x90\xA0[\x80-\x85\x88\x8A-\xB5\xB7\xB8\xBC\xBF] # R
| \xF0\x90\xA4[\x80-\x99] # R
| \xF0\x90\xA8[\x80\x90-\x93\x95-\x97\x99-\xB3] # R
| \xF0\x90\xA9[\x80-\x87\x90-\x98] # R
| \xE2\x80[\xAB\xAE] # RLE & RLO
)/x");
/*
* Pattern to test Arabic strings using regular expressions.
* source: http://www.w3.org/International/questions/qa-forms-utf-8
*/
define("K_RE_PATTERN_ARABIC", "/(
\xD8[\x80-\x83\x8B\x8D\x9B\x9E\x9F\xA1-\xBA] # AL
| \xD9[\x80-\x8A\xAD-\xAF\xB1-\xBF] # AL
| \xDA[\x80-\xBF] # AL
| \xDB[\x80-\x95\x9D\xA5\xA6\xAE\xAF\xBA-\xBF] # AL
| \xDC[\x80-\x8D\x90\x92-\xAF] # AL
| \xDD[\x8D-\xAD] # AL
| \xDE[\x80-\xA5\xB1] # AL
| \xEF\xAD[\x90-\xBF] # AL
| \xEF\xAE[\x80-\xB1] # AL
| \xEF\xAF[\x93-\xBF] # AL
| \xEF[\xB0-\xB3][\x80-\xBF] # AL
| \xEF\xB4[\x80-\xBD] # AL
| \xEF\xB5[\x90-\xBF] # AL
| \xEF\xB6[\x80-\x8F\x92-\xBF] # AL
| \xEF\xB7[\x80-\x87\xB0-\xBC] # AL
| \xEF\xB9[\xB0-\xB4\xB6-\xBF] # AL
| \xEF\xBA[\x80-\xBF] # AL
| \xEF\xBB[\x80-\xBC] # AL
| \xD9[\xA0-\xA9\xAB\xAC] # AN
)/x");
/**
* Array of unicode types
*/ */
global $unicode; define('K_RE_PATTERN_RTL', "/(
$unicode = array( \xD6\xBE # R
| \xD7[\x80\x83\x86\x90-\xAA\xB0-\xB4] # R
| \xDF[\x80-\xAA\xB4\xB5\xBA] # R
| \xE2\x80\x8F # R
| \xEF\xAC[\x9D\x9F\xA0-\xA8\xAA-\xB6\xB8-\xBC\xBE] # R
| \xEF\xAD[\x80\x81\x83\x84\x86-\x8F] # R
| \xF0\x90\xA0[\x80-\x85\x88\x8A-\xB5\xB7\xB8\xBC\xBF] # R
| \xF0\x90\xA4[\x80-\x99] # R
| \xF0\x90\xA8[\x80\x90-\x93\x95-\x97\x99-\xB3] # R
| \xF0\x90\xA9[\x80-\x87\x90-\x98] # R
| \xE2\x80[\xAB\xAE] # RLE & RLO
)/x");
/*
* Pattern to test Arabic strings using regular expressions.
* source: http://www.w3.org/International/questions/qa-forms-utf-8
*/
define("K_RE_PATTERN_ARABIC", "/(
\xD8[\x80-\x83\x8B\x8D\x9B\x9E\x9F\xA1-\xBA] # AL
| \xD9[\x80-\x8A\xAD-\xAF\xB1-\xBF] # AL
| \xDA[\x80-\xBF] # AL
| \xDB[\x80-\x95\x9D\xA5\xA6\xAE\xAF\xBA-\xBF] # AL
| \xDC[\x80-\x8D\x90\x92-\xAF] # AL
| \xDD[\x8D-\xAD] # AL
| \xDE[\x80-\xA5\xB1] # AL
| \xEF\xAD[\x90-\xBF] # AL
| \xEF\xAE[\x80-\xB1] # AL
| \xEF\xAF[\x93-\xBF] # AL
| \xEF[\xB0-\xB3][\x80-\xBF] # AL
| \xEF\xB4[\x80-\xBD] # AL
| \xEF\xB5[\x90-\xBF] # AL
| \xEF\xB6[\x80-\x8F\x92-\xBF] # AL
| \xEF\xB7[\x80-\x87\xB0-\xBC] # AL
| \xEF\xB9[\xB0-\xB4\xB6-\xBF] # AL
| \xEF\xBA[\x80-\xBF] # AL
| \xEF\xBB[\x80-\xBC] # AL
| \xD9[\xA0-\xA9\xAB\xAC] # AN
)/x");
/**
* Array of unicode types
*/
global $unicode;
$unicode = array(
0=>'BN', 0=>'BN',
1=>'BN', 1=>'BN',
2=>'BN', 2=>'BN',
@ -17846,16 +17846,16 @@ $unicode = array(
983040=>'L', 983040=>'L',
1048573=>'L', 1048573=>'L',
1048576=>'L', 1048576=>'L',
1114109=>'L' 1114109=>'L'
); );
/** /**
* 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;
$unicode_mirror = array ( $unicode_mirror = array (
0x0028=>0x0029, 0x0028=>0x0029,
0x0029=>0x0028, 0x0029=>0x0028,
0x003C=>0x003E, 0x003C=>0x003E,
@ -18207,14 +18207,14 @@ $unicode_mirror = array (
0xFF5F=>0xFF60, 0xFF5F=>0xFF60,
0xFF60=>0xFF5F, 0xFF60=>0xFF5F,
0xFF62=>0xFF63, 0xFF62=>0xFF63,
0xFF63=>0xFF62); 0xFF63=>0xFF62);
/** /**
* Arabic shape subtitutions * Arabic shape subtitutions
* char code=>isolated, final, initial, medial * char code=>isolated, final, initial, medial
*/ */
global $unicode_arlet; global $unicode_arlet;
$unicode_arlet = array( $unicode_arlet = array(
1569=>array(65152), 1569=>array(65152),
1570=>array(65153, 65154, 65153, 65154), 1570=>array(65153, 65154, 65153, 65154),
1571=>array(65155, 65156, 65155, 65156), 1571=>array(65155, 65156, 65155, 65156),
@ -18290,38 +18290,38 @@ $unicode_arlet = array(
1740=>array(64508, 64509, 64510, 64511), 1740=>array(64508, 64509, 64510, 64511),
1744=>array(64484, 64485, 64486, 64487), 1744=>array(64484, 64485, 64486, 64487),
1746=>array(64430, 64431), 1746=>array(64430, 64431),
1747=>array(64432, 64433) 1747=>array(64432, 64433)
); );
/** /**
* Arabic laa letter * Arabic laa letter
* char code=>isolated, final, initial, medial * char code=>isolated, final, initial, medial
*/ */
global $laa_array; global $laa_array;
$laa_array = array ( $laa_array = array (
1570 =>array(65269, 65270, 65269, 65270), 1570 =>array(65269, 65270, 65269, 65270),
1571 =>array(65271, 65272, 65271, 65272), 1571 =>array(65271, 65272, 65271, 65272),
1573 =>array(65273, 65274, 65273, 65274), 1573 =>array(65273, 65274, 65273, 65274),
1575 =>array(65275, 65276, 65275, 65276) 1575 =>array(65275, 65276, 65275, 65276)
); );
/**
* Array of character substitutions for sequences of two diacritics symbols starting with SHADDA (0651 HEX, 1617 DEC).
* Combining characters that can occur with Shadda (U0651) are placed in UE586-UE594.
* 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
*/
global $diacritics;
$diacritics = array (
1612=>64606, # Shadda + Dammatan
1613=>64607, # Shadda + Kasratan
1614=>64608, # Shadda + Fatha
1615=>64609, # Shadda + Damma
1616=>64610 # Shadda + Kasra
);
/** /**
* Array of character substitutions from UTF-8 unicode to latin1 * Array of character substitutions for sequences of two diacritics symbols starting with SHADDA (0651 HEX, 1617 DEC).
* Combining characters that can occur with Shadda (U0651) are placed in UE586-UE594.
* 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
*/
global $diacritics;
$diacritics = array (
1612=>64606, # Shadda + Dammatan
1613=>64607, # Shadda + Kasratan
1614=>64608, # Shadda + Fatha
1615=>64609, # Shadda + Damma
1616=>64610 # Shadda + Kasra
);
/**
* Array of character substitutions from UTF-8 unicode to latin1
*/ */
global $utf8tolatin; global $utf8tolatin;
$utf8tolatin = array ( $utf8tolatin = array (
@ -18353,8 +18353,8 @@ $utf8tolatin = array (
8482=>153, # trademark 8482=>153, # trademark
382=>158 # zcaron2 382=>158 # zcaron2
); );
//============================================================+ //============================================================+
// END OF FILE // END OF FILE
//============================================================+ //============================================================+
?> ?>