diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT
index f7b4a0f..d9dcd77 100755
--- a/CHANGELOG.TXT
+++ b/CHANGELOG.TXT
@@ -1,3 +1,6 @@
+4.7.003 (2009-09-03)
+ - Support for TCPDF methods on HTML was improved (see example n. 49).
+
4.7.002 (2009-09-02)
- Bug item #2848892 "writeHTML + table: Gaps between rows" was fixed.
- JavaScript support was fixed (see example n. 53).
diff --git a/README.TXT b/README.TXT
index 4f184ce..145a3ae 100755
--- a/README.TXT
+++ b/README.TXT
@@ -8,7 +8,7 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------
Name: TCPDF
-Version: 4.7.002
+Version: 4.7.003
Release date: 2009-09-02
Author: Nicola Asuni
diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html
index 96fc3b9..effa929 100644
--- a/doc/classtrees_com-tecnick-tcpdf.html
+++ b/doc/classtrees_com-tecnick-tcpdf.html
@@ -45,7 +45,7 @@
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html
index de58acf..31389b8 100644
--- a/doc/com-tecnick-tcpdf/TCPDF.html
+++ b/doc/com-tecnick-tcpdf/TCPDF.html
@@ -74,7 +74,7 @@ Source Location: /tcpdf.php
Version:
@@ -602,7 +602,7 @@ This is a PHP class for generating PDF documents without requiring external exte
author: | Nicola Asuni - info@tecnick.com |
- version: | 4.7.002 |
+ version: | 4.7.003 |
link: | http://www.tcpdf.org |
@@ -19665,7 +19665,7 @@ $file)
diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html
index 9a21428..420f321 100644
--- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html
+++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html
@@ -1368,7 +1368,7 @@ $type)
diff --git a/doc/com-tecnick-tcpdf/_barcodes.php.html b/doc/com-tecnick-tcpdf/_barcodes.php.html
index ac58715..ab290d0 100644
--- a/doc/com-tecnick-tcpdf/_barcodes.php.html
+++ b/doc/com-tecnick-tcpdf/_barcodes.php.html
@@ -96,7 +96,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html
index ed023f0..18cab59 100644
--- a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html
+++ b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html
@@ -507,7 +507,7 @@ Configuration file for TCPDF.
diff --git a/doc/com-tecnick-tcpdf/_htmlcolors.php.html b/doc/com-tecnick-tcpdf/_htmlcolors.php.html
index 3a149e3..f0c63f7 100644
--- a/doc/com-tecnick-tcpdf/_htmlcolors.php.html
+++ b/doc/com-tecnick-tcpdf/_htmlcolors.php.html
@@ -88,7 +88,7 @@ Array of WEB safe colors.
diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html
index b8b3d58..a23269d 100644
--- a/doc/com-tecnick-tcpdf/_tcpdf.php.html
+++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html
@@ -73,7 +73,7 @@ This is a PHP class for generating PDF documents without requiring external exte
author: | Nicola Asuni |
- version: | 4.7.002 |
+ version: | 4.7.003 |
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 |
@@ -104,7 +104,7 @@ unicode data
diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html
index 2f647dd..255bdaf 100644
--- a/doc/com-tecnick-tcpdf/_unicode_data.php.html
+++ b/doc/com-tecnick-tcpdf/_unicode_data.php.html
@@ -237,7 +237,7 @@ Unicode Include file for TCPDF.
diff --git a/doc/elementindex.html b/doc/elementindex.html
index 99570de..c65dc5e 100644
--- a/doc/elementindex.html
+++ b/doc/elementindex.html
@@ -1392,7 +1392,7 @@
top
diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html
index efc29aa..f4bf363 100644
--- a/doc/elementindex_com-tecnick-tcpdf.html
+++ b/doc/elementindex_com-tecnick-tcpdf.html
@@ -1415,7 +1415,7 @@
top
diff --git a/doc/errors.html b/doc/errors.html
index c133409..edc009d 100644
--- a/doc/errors.html
+++ b/doc/errors.html
@@ -35,7 +35,7 @@
Post-parsing
diff --git a/doc/index.html b/doc/index.html
index 232b66d..c3ea788 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -58,7 +58,7 @@
This documentation was generated by phpDocumentor v1.4.1
diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html
index 232b66d..c3ea788 100644
--- a/doc/li_com-tecnick-tcpdf.html
+++ b/doc/li_com-tecnick-tcpdf.html
@@ -58,7 +58,7 @@
This documentation was generated by phpDocumentor v1.4.1
diff --git a/examples/example_049.php b/examples/example_049.php
index e33f2f3..6b5f0d9 100644
--- a/examples/example_049.php
+++ b/examples/example_049.php
@@ -77,10 +77,12 @@ $pdf->AddPage();
$htmlcontent = <<Test TCPDF Methods in HTML
+write1DBarcode method in HTML
+
+
+ Graphic Functions
-
-New Page
EOF;
// output the HTML content
diff --git a/tcpdf.php b/tcpdf.php
index 8bda945..6d7757d 100755
--- a/tcpdf.php
+++ b/tcpdf.php
@@ -4,7 +4,7 @@
// Begin : 2002-08-03
// Last Update : 2009-09-02
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
-// Version : 4.7.002
+// Version : 4.7.003
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
// ----------------------------------------------------------------------------
// Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l.
@@ -128,7 +128,7 @@
* @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
* @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL
- * @version 4.7.002
+ * @version 4.7.003
*/
/**
@@ -152,14 +152,14 @@ if (!class_exists('TCPDF', false)) {
/**
* define default PDF document producer
*/
- define('PDF_PRODUCER', 'TCPDF 4.7.002 (http://www.tcpdf.org)');
+ define('PDF_PRODUCER', 'TCPDF 4.7.003 (http://www.tcpdf.org)');
/**
* This is a PHP class for generating PDF documents without requiring external extensions.
* 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 4.7.002
+ * @version 4.7.003
* @author Nicola Asuni - info@tecnick.com
* @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL
@@ -12732,7 +12732,7 @@ if (!class_exists('TCPDF', false)) {
$tcpdf_method = $tag['attribute']['method'];
if (method_exists($this, $tcpdf_method)) {
if (isset($tag['attribute']['params']) AND (!empty($tag['attribute']['params']))) {
- eval('$params = array('.$tag['attribute']['params'].');');
+ eval('$params = array('.$this->unhtmlentities($tag['attribute']['params']).');');
call_user_func_array(array($this, $tcpdf_method), $params);
} else {
$this->$tcpdf_method();