From 08b759bc7894a25ec7c4844cfb57098cc2957057 Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Mon, 18 Jan 2010 16:40:37 +0100 Subject: [PATCH] 4.8.025 --- CHANGELOG.TXT | 3 + README.TXT | 4 +- doc/classtrees_com-tecnick-tcpdf.html | 2 +- doc/com-tecnick-tcpdf/TCPDF.html | 144 +++++++++--------- doc/com-tecnick-tcpdf/TCPDFBarcode.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/_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 +- tcpdf.php | 17 ++- 16 files changed, 103 insertions(+), 93 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 4cf76cc..217d2d5 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +4.8.025 (2010-01-18) + - addExtGState() method was improved to reuse existing ExtGState objects. + 4.8.024 (2010-01-15) - Justification mode for HTML was fixed (Bug item #2932470). diff --git a/README.TXT b/README.TXT index 537f875..7d46739 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 4.8.024 -Release date: 2010-01-15 +Version: 4.8.025 +Release date: 2010-01-18 Author: Nicola Asuni Copyright (c) 2001-2010: diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index 2000e71..fa8d471 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -45,7 +45,7 @@

- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index 42500de..2a819b9 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -74,7 +74,7 @@ Source Location: /tcpdf.php

Version:

@@ -632,7 +632,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - info@tecnick.com - version:  4.8.024 + version:  4.8.025 link:  http://www.tcpdf.org @@ -6270,7 +6270,7 @@ $style = -1])
-

method addHTMLVertSpace [line 15049]

+

method addHTMLVertSpace [line 15056]

@@ -6532,7 +6532,7 @@ $k)
-

method addTOC [line 16072]

+

method addTOC [line 16079]

@@ -7399,7 +7399,7 @@ $afinish:)
-

method Clip [line 11685]

+

method Clip [line 11692]

@@ -7490,7 +7490,7 @@ $h)
-

method closeHTMLTagHandler [line 14697]

+

method closeHTMLTagHandler [line 14704]

@@ -7634,7 +7634,7 @@ $js = false])
-

method commitTransaction [line 16231]

+

method commitTransaction [line 16238]

@@ -7701,7 +7701,7 @@ $color = '#FFFFFF'])
-

method CoonsPatchMesh [line 11605]

+

method CoonsPatchMesh [line 11612]

@@ -7905,7 +7905,7 @@ $fill_color = array()])
-

method deletePage [line 15931]

+

method deletePage [line 15938]

@@ -8064,7 +8064,7 @@ $afinish:)
-

method empty_string [line 16285]

+

method empty_string [line 16292]

@@ -8483,7 +8483,7 @@ $fontsize = 0])
-

method getBarcode [line 12156]

+

method getBarcode [line 12163]

@@ -8607,7 +8607,7 @@ $pagenum = ''])
-

method getBuffer [line 15617]

+

method getBuffer [line 15624]

@@ -8734,7 +8734,7 @@ $ignore_min_height = false])
-

method getCellHeightRatio [line 11525]

+

method getCellHeightRatio [line 11532]

@@ -8807,7 +8807,7 @@ $char)
-

method getFontBuffer [line 15777]

+

method getFontBuffer [line 15784]

@@ -8849,7 +8849,7 @@ $font)
-

method getFontFamily [line 12642]

+

method getFontFamily [line 12649]

@@ -8880,7 +8880,7 @@ $font)
-

method getFontSize [line 12622]

+

method getFontSize [line 12629]

@@ -8911,7 +8911,7 @@ $font)
-

method getFontSizePt [line 12632]

+

method getFontSizePt [line 12639]

@@ -8970,7 +8970,7 @@ $font)
-

method getFontStyle [line 12652]

+

method getFontStyle [line 12659]

@@ -9130,7 +9130,7 @@ $v)
-

method getGraphicVars [line 15485]

+

method getGraphicVars [line 15492]

@@ -9307,7 +9307,7 @@ $v)
-

method getHtmlDomArray [line 12688]

+

method getHtmlDomArray [line 12695]

@@ -9346,7 +9346,7 @@ $html)
-

method getHTMLUnitToUnits [line 15204]

+

method getHTMLUnitToUnits [line 15211]

@@ -9412,7 +9412,7 @@ $point)
-

method getImageBuffer [line 15719]

+

method getImageBuffer [line 15726]

@@ -9645,7 +9645,7 @@ $imgfile)
-

method getMargins [line 12585]

+

method getMargins [line 12592]

@@ -9800,7 +9800,7 @@ $w = 0])
-

method getObjFilename [line 15549]

+

method getObjFilename [line 15556]

@@ -9845,7 +9845,7 @@ $prefix)
-

method getOriginalMargins [line 12608]

+

method getOriginalMargins [line 12615]

@@ -9910,7 +9910,7 @@ $prefix)
-

method getPageBuffer [line 15660]

+

method getPageBuffer [line 15667]

@@ -10270,7 +10270,7 @@ $pagenum = ''])
-

method getSpaceString [line 13147]

+

method getSpaceString [line 13154]

@@ -10457,7 +10457,7 @@ $fontsize = 0])
-

method Gradient [line 11708]

+

method Gradient [line 11715]

@@ -10674,7 +10674,7 @@ $hidden = false])
-

method ImageEps [line 11880]

+

method ImageEps [line 11887]

@@ -10917,7 +10917,7 @@ $script)
-

method intToRoman [line 15278]

+

method intToRoman [line 15285]

@@ -11095,7 +11095,7 @@ $style = array()])
-

method LinearGradient [line 11565]

+

method LinearGradient [line 11572]

@@ -11569,7 +11569,7 @@ $y = ''])
-

method movePage [line 15794]

+

method movePage [line 15801]

@@ -11743,7 +11743,7 @@ $maxh = 0])
-

method objclone [line 16274]

+

method objclone [line 16281]

@@ -11816,7 +11816,7 @@ $object)
-

method openHTMLTagHandler [line 14152]

+

method openHTMLTagHandler [line 14159]

@@ -11983,7 +11983,7 @@ $dest = 'I'])
-

method PieSector [line 11802]

+

method PieSector [line 11809]

@@ -12325,7 +12325,7 @@ $closed)
-

method putHtmlListBullet [line 15343]

+

method putHtmlListBullet [line 15350]

@@ -12376,7 +12376,7 @@ $size = 10])
-

method RadialGradient [line 11583]

+

method RadialGradient [line 11590]

@@ -12544,7 +12544,7 @@ $js = false])
-

method readDiskCache [line 15589]

+

method readDiskCache [line 15596]

@@ -12874,7 +12874,7 @@ $length)
-

method rollbackTransaction [line 16245]

+

method rollbackTransaction [line 16252]

@@ -13279,7 +13279,7 @@ $y = ''])
-

method setAlpha [line 11482]

+

method setAlpha [line 11489]

@@ -13414,7 +13414,7 @@ $margin = 0])
-

method setBarcode [line 12146]

+

method setBarcode [line 12153]

@@ -13450,7 +13450,7 @@ $bc = ''])
-

method SetBooklet [line 15118]

+

method SetBooklet [line 15125]

@@ -13501,7 +13501,7 @@ $outer = -1])
-

method setBuffer [line 15599]

+

method setBuffer [line 15606]

@@ -13540,7 +13540,7 @@ $data)
-

method setCellHeightRatio [line 11516]

+

method setCellHeightRatio [line 11523]

@@ -13780,7 +13780,7 @@ $font)
-

method setDefaultTableColumns [line 11506]

+

method setDefaultTableColumns [line 11513]

@@ -14020,7 +14020,7 @@ $tint = 100])
-

method setExtGState [line 11451]

+

method setExtGState [line 11458]

@@ -14269,7 +14269,7 @@ $fontfile = ''])
-

method setFontBuffer [line 15735]

+

method setFontBuffer [line 15742]

@@ -14356,7 +14356,7 @@ $size)
-

method setFontSubBuffer [line 15757]

+

method setFontSubBuffer [line 15764]

@@ -14552,7 +14552,7 @@ $prop = array()])
-

method setGraphicVars [line 15516]

+

method setGraphicVars [line 15523]

@@ -14748,7 +14748,7 @@ $hm = 10])
-

method setHtmlLinksStyle [line 15189]

+

method setHtmlLinksStyle [line 15196]

@@ -14793,7 +14793,7 @@ $fontstyle = 'U'])
-

method setHtmlVSpace [line 15158]

+

method setHtmlVSpace [line 15165]

@@ -14832,7 +14832,7 @@ $tagvs)
-

method setImageBuffer [line 15676]

+

method setImageBuffer [line 15683]

@@ -14919,7 +14919,7 @@ $scale)
-

method setImageSubBuffer [line 15699]

+

method setImageSubBuffer [line 15706]

@@ -14970,7 +14970,7 @@ $data)
-

method setJPEGQuality [line 11493]

+

method setJPEGQuality [line 11500]

@@ -15316,7 +15316,7 @@ $page = -1])
-

method setListIndentWidth [line 15168]

+

method setListIndentWidth [line 15175]

@@ -15355,7 +15355,7 @@ $width)
-

method setLIsymbol [line 15078]

+

method setLIsymbol [line 15085]

@@ -15448,7 +15448,7 @@ $right = -1])
-

method setOpenCell [line 15178]

+

method setOpenCell [line 15185]

@@ -15535,7 +15535,7 @@ $resetmargins = false])
-

method setPageBuffer [line 15633]

+

method setPageBuffer [line 15640]

@@ -15749,7 +15749,7 @@ $unit)
-

method setPDFVersion [line 11535]

+

method setPDFVersion [line 11542]

@@ -16527,7 +16527,7 @@ $signature = '/Modify'])
-

method setViewerPreferences [line 11548]

+

method setViewerPreferences [line 11555]

@@ -17164,7 +17164,7 @@ $page = ''])
-

method startTransaction [line 16215]

+

method startTransaction [line 16222]

@@ -17254,7 +17254,7 @@ $page = ''])
-

method swapMargins [line 15134]

+

method swapMargins [line 15141]

@@ -18256,7 +18256,7 @@ $maxh = 0])
-

method write1DBarcode [line 12175]

+

method write1DBarcode [line 12182]

@@ -18346,7 +18346,7 @@ $align = ''])
-

method write2DBarcode [line 12432]

+

method write2DBarcode [line 12439]

@@ -18430,7 +18430,7 @@ $align = ''])
-

method writeBarcode [line 12382]

+

method writeBarcode [line 12389]

diff --git a/tcpdf.php b/tcpdf.php index 291e372..c371cd1 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -2,9 +2,9 @@ //============================================================+ // File name : tcpdf.php // Begin : 2002-08-03 -// Last Update : 2010-01-15 +// Last Update : 2010-01-18 // Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org -// Version : 4.8.024 +// Version : 4.8.025 // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // ---------------------------------------------------------------------------- // Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l. @@ -128,7 +128,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 * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version 4.8.024 + * @version 4.8.025 */ /** @@ -152,14 +152,14 @@ if (!class_exists('TCPDF', false)) { /** * define default PDF document producer */ - define('PDF_PRODUCER', 'TCPDF 4.8.024 (http://www.tcpdf.org)'); + define('PDF_PRODUCER', 'TCPDF 4.8.025 (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.8.024 + * @version 4.8.025 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -11438,6 +11438,13 @@ if (!class_exists('TCPDF', false)) { */ protected function addExtGState($parms) { $n = count($this->extgstates) + 1; + // check if this ExtGState already exist + for ($i = 1; $i < $n; ++$i) { + if ($this->extgstates[$i]['parms'] == $parms) { + // return reference to existing ExtGState + return $i; + } + } $this->extgstates[$n]['parms'] = $parms; return $n; }
diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index a805d52..f322629 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.3

- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by phpDocumentor 1.4.3
@@ -18520,7 +18520,7 @@ $code)
-

method writeDiskCache [line 15561]

+

method writeDiskCache [line 15568]

diff --git a/doc/index.html b/doc/index.html index a805d52..f322629 100644 --- a/doc/index.html +++ b/doc/index.html @@ -58,7 +58,7 @@ This documentation was generated by phpDocumentor v1.4.3

- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by phpDocumentor 1.4.3
diff --git a/doc/errors.html b/doc/errors.html index a41c396..796abfd 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

- Documentation generated on Fri, 15 Jan 2010 17:20:54 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:32 +0100 by phpDocumentor 1.4.3
@@ -18577,7 +18577,7 @@ $file)
-

method writeHTML [line 13167]

+

method writeHTML [line 13174]

diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index 3eaef3b..9686918 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -1475,7 +1475,7 @@ top

- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by phpDocumentor 1.4.3
diff --git a/doc/elementindex.html b/doc/elementindex.html index cd3b6ca..bc9d82c 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -1452,7 +1452,7 @@ top

- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by phpDocumentor 1.4.3
@@ -18643,7 +18643,7 @@ $align = ''])
-

method writeHTMLCell [line 12676]

+

method writeHTMLCell [line 12683]

diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index 4b1d3d9..bc506de 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.




- Documentation generated on Fri, 15 Jan 2010 17:20:54 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:32 +0100 by phpDocumentor 1.4.3
@@ -19645,7 +19645,7 @@ $s)
-

method _outarc [line 11782]

+

method _outarc [line 11789]

diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index f4e5ce2..22e44cd 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 - + @@ -104,7 +104,7 @@ unicode data

diff --git a/doc/com-tecnick-tcpdf/_htmlcolors.php.html b/doc/com-tecnick-tcpdf/_htmlcolors.php.html index 01006eb..20da31c 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.




- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:30 +0100 by phpDocumentor 1.4.3
@@ -20355,7 +20355,7 @@ $font)
-

method _putextgstates [line 11461]

+

method _putextgstates [line 11468]

diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index 23e2bc4..7df73ee 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.




- Documentation generated on Fri, 15 Jan 2010 17:20:54 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:32 +0100 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_barcodes.php.html b/doc/com-tecnick-tcpdf/_barcodes.php.html index 048e86b..6ef9118 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

- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by phpDocumentor 1.4.3
@@ -20676,7 +20676,7 @@ $cidoffset = 0])
-

method _putshaders [line 11732]

+

method _putshaders [line 11739]

diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index c4ac6d1..92cb6ef 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -1368,7 +1368,7 @@ $type)

- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:29 +0100 by phpDocumentor 1.4.3
@@ -21097,7 +21097,7 @@ $file)

- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:30 +0100 by phpDocumentor 1.4.3
author:  Nicola Asuni
version:  4.8.024version:  4.8.025
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
- PDF_PRODUCER = 'TCPDF 4.8.024 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 4.8.025 (http://www.tcpdf.org)'
@@ -115,7 +115,7 @@ unicode data


- Documentation generated on Fri, 15 Jan 2010 17:20:52 +0100 by phpDocumentor 1.4.3 + Documentation generated on Mon, 18 Jan 2010 16:40:30 +0100 by phpDocumentor 1.4.3