From 6b9b11e6ac05465207d84480ffd1d95bc497d59a Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Tue, 14 Apr 2009 12:42:58 +0200 Subject: [PATCH] 4.5.040 --- CHANGELOG.TXT | 3 + README.TXT | 6 +- doc/classtrees_com-tecnick-tcpdf.html | 2 +- doc/com-tecnick-tcpdf/TCPDF.html | 418 +++++++++--------- 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 | 26 +- 16 files changed, 239 insertions(+), 242 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 340d7ed..f35dc90 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +4.5.040 (2009-04-14) + - Method Write() was fixed to handle empty strings. + 4.5.039 (2009-04-11) - Support for linear barcodes was extended (see example n. 27 and barcodes.php documentation). diff --git a/README.TXT b/README.TXT index 2af942f..6a50314 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 4.5.039 -Release date: 2009-04-11 +Version: 4.5.040 +Release date: 2009-04-14 Author: Nicola Asuni Copyright (c) 2001-2009: @@ -38,7 +38,7 @@ Main Features: // * includes methods to publish some XHTML code; // * includes graphic (geometric) and transformation methods; // * includes Javascript and forms support; -// * includes a method to print various barcode formats (CODE 39, CODE 39 EXTENDED, Interleaved 2 of 5, CODE 128 A/B/C, EAN 13, UPC-A, POSTNET, CODABAR); +// * includes a method to print various barcode formats; // * includes methods to set Bookmarks and print a Table of Content; // * includes a method to move pages; // * includes methods for automatic page header and footer management; diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index 177f539..aa0f492 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -45,7 +45,7 @@

- Documentation generated on Sat, 11 Apr 2009 19:19:32 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:44 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index cade469..fd2bc05 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -74,7 +74,7 @@ Source Location: /tcpdf.php

Version:

@@ -580,7 +580,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - info@tecnick.com - version:  4.5.039 + version:  4.5.040 link:  http://www.tcpdf.org @@ -5234,7 +5234,7 @@ $diskcache = false])
-

method addExtGState [line 9350]

+

method addExtGState [line 9344]

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

method addHtmlLink [line 6752]

+

method addHtmlLink [line 6746]

@@ -5396,7 +5396,7 @@ $style = -1])
-

method addHTMLVertSpace [line 12459]

+

method addHTMLVertSpace [line 12453]

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

method addTOC [line 13341]

+

method addTOC [line 13335]

@@ -5661,7 +5661,7 @@ $filler = '.'])
-

method AliasNbPages [line 9158]

+

method AliasNbPages [line 9152]

@@ -5703,7 +5703,7 @@ $alias = '{nb}'])
-

method AliasNumPage [line 9185]

+

method AliasNumPage [line 9179]

@@ -5820,7 +5820,7 @@ $spaces = 0])
-

method arrUTF8ToUTF16BE [line 6654]

+

method arrUTF8ToUTF16BE [line 6648]

@@ -5895,7 +5895,7 @@ $setbom = true])
-

method Bookmark [line 8761]

+

method Bookmark [line 8755]

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

method Button [line 9043]

+

method Button [line 9037]

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

method CheckBox [line 9023]

+

method CheckBox [line 9017]

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

method Circle [line 7867]

+

method Circle [line 7861]

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

method Clip [line 9613]

+

method Clip [line 9607]

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

method closeHTMLTagHandler [line 12137]

+

method closeHTMLTagHandler [line 12131]

@@ -6451,7 +6451,7 @@ $dom)
-

method ComboBox [line 9004]

+

method ComboBox [line 8998]

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

method commitTransaction [line 13498]

+

method commitTransaction [line 13492]

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

method convertHTMLColorToDec [line 6785]

+

method convertHTMLColorToDec [line 6779]

@@ -6575,7 +6575,7 @@ $color = '#000000'])
-

method CoonsPatchMesh [line 9533]

+

method CoonsPatchMesh [line 9527]

@@ -6677,7 +6677,7 @@ $coords_max = 1])
-

method Curve [line 7642]

+

method Curve [line 7636]

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

method Ellipse [line 7763]

+

method Ellipse [line 7757]

@@ -6991,7 +6991,7 @@ $msg)
-

method formatPageNumber [line 9262]

+

method formatPageNumber [line 9256]

@@ -7030,7 +7030,7 @@ $num)
-

method formatTOCPageNumber [line 9274]

+

method formatTOCPageNumber [line 9268]

@@ -7072,7 +7072,7 @@ $num)
-

method GetAbsX [line 4789]

+

method GetAbsX [line 4783]

@@ -7103,7 +7103,7 @@ $num)
-

method getAliasNbPages [line 9170]

+

method getAliasNbPages [line 9164]

@@ -7134,7 +7134,7 @@ $num)
-

method getAliasNumPage [line 9198]

+

method getAliasNumPage [line 9192]

@@ -7234,7 +7234,7 @@ $arr)
-

method getBarcode [line 10081]

+

method getBarcode [line 10075]

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

method getBuffer [line 13024]

+

method getBuffer [line 13018]

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

method getCellHeightRatio [line 9436]

+

method getCellHeightRatio [line 9430]

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

method getFontBuffer [line 13184]

+

method getFontBuffer [line 13178]

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

method getFontFamily [line 10557]

+

method getFontFamily [line 10551]

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

method getFontSize [line 10537]

+

method getFontSize [line 10531]

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

method getFontSizePt [line 10547]

+

method getFontSizePt [line 10541]

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

method getFontStyle [line 10567]

+

method getFontStyle [line 10561]

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

method getFooterFont [line 6715]

+

method getFooterFont [line 6709]

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

method getGDgamma [line 4732]

+

method getGDgamma [line 4726]

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

method getGraphicVars [line 12892]

+

method getGraphicVars [line 12886]

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

method getGroupPageNo [line 9211]

+

method getGroupPageNo [line 9205]

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

method getGroupPageNoFormatted [line 9221]

+

method getGroupPageNoFormatted [line 9215]

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

method getHeaderFont [line 6695]

+

method getHeaderFont [line 6689]

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

method getHtmlDomArray [line 10603]

+

method getHtmlDomArray [line 10597]

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

method getHTMLUnitToUnits [line 12614]

+

method getHTMLUnitToUnits [line 12608]

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

method getImageBuffer [line 13126]

+

method getImageBuffer [line 13120]

@@ -8277,7 +8277,7 @@ $image)
-

method GetLineWidth [line 7359]

+

method GetLineWidth [line 7353]

@@ -8311,7 +8311,7 @@ $image)
-

method getMargins [line 10500]

+

method getMargins [line 10494]

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

method getObjFilename [line 12956]

+

method getObjFilename [line 12950]

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

method getOriginalMargins [line 10523]

+

method getOriginalMargins [line 10517]

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

method getPageBuffer [line 13067]

+

method getPageBuffer [line 13061]

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

method getPageGroupAlias [line 9233]

+

method getPageGroupAlias [line 9227]

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

method getPageNumGroupAlias [line 9248]

+

method getPageNumGroupAlias [line 9242]

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

method getPDFData [line 6734]

+

method getPDFData [line 6728]

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

method getRemainingWidth [line 4187]

+

method getRemainingWidth [line 4181]

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

method GetX [line 4773]

+

method GetX [line 4767]

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

method GetY [line 4800]

+

method GetY [line 4794]

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

method Gradient [line 9636]

+

method Gradient [line 9630]

@@ -9134,7 +9134,7 @@ $coords)
-

method Image [line 4308]

+

method Image [line 4302]

@@ -9254,7 +9254,7 @@ $border = 0])
-

method ImageEps [line 9808]

+

method ImageEps [line 9802]

@@ -9350,7 +9350,7 @@ $border = 0])
-

method ImagePngAlpha [line 4688]

+

method ImagePngAlpha [line 4682]

@@ -9455,7 +9455,7 @@ $palign = ''])
-

method IncludeJS [line 8853]

+

method IncludeJS [line 8847]

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

method intToRoman [line 12685]

+

method intToRoman [line 12679]

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

method Line [line 7509]

+

method Line [line 7503]

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

method LinearGradient [line 9493]

+

method LinearGradient [line 9487]

@@ -9791,7 +9791,7 @@ $spaces = 0])
-

method ListBox [line 8981]

+

method ListBox [line 8975]

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

method Ln [line 4745]

+

method Ln [line 4739]

@@ -9899,7 +9899,7 @@ $cell = false])
-

method MirrorH [line 7133]

+

method MirrorH [line 7127]

@@ -9941,7 +9941,7 @@ $x = ''])
-

method MirrorL [line 7169]

+

method MirrorL [line 7163]

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

method MirrorP [line 7156]

+

method MirrorP [line 7150]

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

method MirrorV [line 7144]

+

method MirrorV [line 7138]

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

method movePage [line 13202]

+

method movePage [line 13196]

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

method objclone [line 13533]

+

method objclone [line 13527]

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

method openHTMLTagHandler [line 11821]

+

method openHTMLTagHandler [line 11815]

@@ -10386,7 +10386,7 @@ $dom)
-

method Output [line 4892]

+

method Output [line 4886]

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

method PageNoFormatted [line 9284]

+

method PageNoFormatted [line 9278]

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

method PieSector [line 9730]

+

method PieSector [line 9724]

@@ -10601,7 +10601,7 @@ $o:)
-

method pixelsToUnits [line 6838]

+

method pixelsToUnits [line 6832]

@@ -10640,7 +10640,7 @@ $px)
-

method Polycurve [line 7699]

+

method Polycurve [line 7693]

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

method Polygon [line 7892]

+

method Polygon [line 7886]

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

method putHtmlListBullet [line 12750]

+

method putHtmlListBullet [line 12744]

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

method RadialGradient [line 9511]

+

method RadialGradient [line 9505]

@@ -10898,7 +10898,7 @@ $coords = array(0.5,0.5,0.5,0.5,1)])
-

method RadioButton [line 8963]

+

method RadioButton [line 8957]

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

method readDiskCache [line 12996]

+

method readDiskCache [line 12990]

@@ -10994,7 +10994,7 @@ $file)
-

method Rect [line 7544]

+

method Rect [line 7538]

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

method RegularPolygon [line 7991]

+

method RegularPolygon [line 7985]

@@ -11225,7 +11225,7 @@ $txt = ''])
-

method rfread [line 4661]

+

method rfread [line 4655]

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

method rollbackTransaction [line 13511]

+

method rollbackTransaction [line 13505]

@@ -11312,7 +11312,7 @@ $action)
-

method Rotate [line 7228]

+

method Rotate [line 7222]

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

method RoundedRect [line 8095]

+

method RoundedRect [line 8089]

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

method Scale [line 7098]

+

method Scale [line 7092]

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

method ScaleX [line 7058]

+

method ScaleX [line 7052]

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

method ScaleXY [line 7084]

+

method ScaleXY [line 7078]

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

method ScaleY [line 7071]

+

method ScaleY [line 7065]

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

method setAlpha [line 9393]

+

method setAlpha [line 9387]

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

method setBarcode [line 10071]

+

method setBarcode [line 10065]

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

method SetBooklet [line 12528]

+

method SetBooklet [line 12522]

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

method setBuffer [line 13006]

+

method setBuffer [line 13000]

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

method setCellHeightRatio [line 9427]

+

method setCellHeightRatio [line 9421]

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

method setDefaultTableColumns [line 9417]

+

method setDefaultTableColumns [line 9411]

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

method setExtGState [line 9362]

+

method setExtGState [line 9356]

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

method setFontBuffer [line 13142]

+

method setFontBuffer [line 13136]

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

method setFontSubBuffer [line 13164]

+

method setFontSubBuffer [line 13158]

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

method setFooterFont [line 6705]

+

method setFooterFont [line 6699]

@@ -12855,7 +12855,7 @@ $fm = 10])
-

method setGraphicVars [line 12923]

+

method setGraphicVars [line 12917]

@@ -12976,7 +12976,7 @@ $hs = ''])
-

method setHeaderFont [line 6685]

+

method setHeaderFont [line 6679]

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

method setHtmlLinksStyle [line 12599]

+

method setHtmlLinksStyle [line 12593]

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

method setHtmlVSpace [line 12568]

+

method setHtmlVSpace [line 12562]

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

method setImageBuffer [line 13083]

+

method setImageBuffer [line 13077]

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

method setImageSubBuffer [line 13106]

+

method setImageSubBuffer [line 13100]

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

method setJPEGQuality [line 9404]

+

method setJPEGQuality [line 9398]

@@ -13351,7 +13351,7 @@ $keywords)
-

method setLanguageArray [line 6725]

+

method setLanguageArray [line 6719]

@@ -13474,7 +13474,7 @@ $margin)
-

method SetLineStyle [line 7384]

+

method SetLineStyle [line 7378]

@@ -13520,7 +13520,7 @@ $style)
-

method SetLineWidth [line 7345]

+

method SetLineWidth [line 7339]

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

method setListIndentWidth [line 12578]

+

method setListIndentWidth [line 12572]

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

method setLIsymbol [line 12488]

+

method setLIsymbol [line 12482]

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

method setOpenCell [line 12588]

+

method setOpenCell [line 12582]

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

method setPageBuffer [line 13040]

+

method setPageBuffer [line 13034]

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

method setPDFVersion [line 9446]

+

method setPDFVersion [line 9440]

@@ -14163,7 +14163,7 @@ $val = true])
-

method SetProtection [line 7001]

+

method SetProtection [line 6995]

@@ -14641,7 +14641,7 @@ $margin)
-

method setUserRights [line 9123]

+

method setUserRights [line 9117]

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

method setViewerPreferences [line 9476]

+

method setViewerPreferences [line 9470]

@@ -14737,7 +14737,7 @@ $preferences)
-

method setVisibility [line 9314]

+

method setVisibility [line 9308]

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

method SetX [line 4813]

+

method SetX [line 4807]

@@ -14815,7 +14815,7 @@ $x)
-

method SetXY [line 4876]

+

method SetXY [line 4870]

@@ -14863,7 +14863,7 @@ $y)
-

method SetY [line 4845]

+

method SetY [line 4839]

@@ -14911,7 +14911,7 @@ $resetx = true])
-

method Skew [line 7288]

+

method Skew [line 7282]

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

method SkewX [line 7261]

+

method SkewX [line 7255]

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

method SkewY [line 7274]

+

method SkewY [line 7268]

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

method StarPolygon [line 8046]

+

method StarPolygon [line 8040]

@@ -15251,7 +15251,7 @@ $format = ''])
-

method startPageGroup [line 9143]

+

method startPageGroup [line 9137]

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

method startTransaction [line 13484]

+

method startTransaction [line 13478]

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

method StartTransform [line 7029]

+

method StartTransform [line 7023]

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

method StopTransform [line 7042]

+

method StopTransform [line 7036]

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

method swapMargins [line 12544]

+

method swapMargins [line 12538]

@@ -15485,7 +15485,7 @@ $clip = false])
-

method TextField [line 8950]

+

method TextField [line 8944]

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

method Transform [line 7321]

+

method Transform [line 7315]

@@ -15581,7 +15581,7 @@ $tm)
-

method Translate [line 7204]

+

method Translate [line 7198]

@@ -15629,7 +15629,7 @@ $t_y)
-

method TranslateX [line 7181]

+

method TranslateX [line 7175]

@@ -15671,7 +15671,7 @@ $t_x)
-

method TranslateY [line 7192]

+

method TranslateY [line 7186]

@@ -15713,7 +15713,7 @@ $t_y)
-

method unhtmlentities [line 6849]

+

method unhtmlentities [line 6843]

@@ -15752,7 +15752,7 @@ $text_to_convert)
-

method UniArrSubString [line 4226]

+

method UniArrSubString [line 4220]

@@ -15806,7 +15806,7 @@ $end = ''])
-

method unichr [line 4259]

+

method unichr [line 4253]

@@ -15851,7 +15851,7 @@ $c)
-

method UTF8ArrayToUniArray [line 4247]

+

method UTF8ArrayToUniArray [line 4241]

@@ -15893,7 +15893,7 @@ $ta)
-

method UTF8ArrSubString [line 4203]

+

method UTF8ArrSubString [line 4197]

@@ -15944,7 +15944,7 @@ $end = ''])
-

method utf8Bidi [line 8194]

+

method utf8Bidi [line 8188]

@@ -15998,7 +15998,7 @@ $forcertl = false])
-

method UTF8StringToArray [line 6487]

+

method UTF8StringToArray [line 6481]

@@ -16064,7 +16064,7 @@ $str)
-

method utf8StrRev [line 8180]

+

method utf8StrRev [line 8174]

@@ -16118,7 +16118,7 @@ $forcertl = false])
-

method UTF8ToLatin1 [line 6594]

+

method UTF8ToLatin1 [line 6588]

@@ -16160,7 +16160,7 @@ $str)
-

method UTF8ToUTF16BE [line 6578]

+

method UTF8ToUTF16BE [line 6572]

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

method write1DBarcode [line 10100]

+

method write1DBarcode [line 10094]

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

method write2DBarcode [line 10353]

+

method write2DBarcode [line 10347]

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

method writeBarcode [line 10303]

+

method writeBarcode [line 10297]

@@ -16571,7 +16571,7 @@ $code)
-

method writeDiskCache [line 12968]

+

method writeDiskCache [line 12962]

@@ -16628,7 +16628,7 @@ $file)
-

method writeHTML [line 11008]

+

method writeHTML [line 11002]

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

method writeHTMLCell [line 10591]

+

method writeHTMLCell [line 10585]

@@ -16796,7 +16796,7 @@ $autopadding = true])
-

method _addfield [line 8915]

+

method _addfield [line 8909]

@@ -16868,7 +16868,7 @@ $prop)
-

method _beginpage [line 6270]

+

method _beginpage [line 6264]

@@ -16910,7 +16910,7 @@ $format = ''])
-

method _datastring [line 6380]

+

method _datastring [line 6374]

@@ -16949,7 +16949,7 @@ $s)
-

method _destroy [line 4986]

+

method _destroy [line 4980]

@@ -16994,7 +16994,7 @@ $preserve_objcopy = false])
-

method _dochecks [line 5004]

+

method _dochecks [line 4998]

@@ -17019,7 +17019,7 @@ $preserve_objcopy = false])
-

method _dolinethrough [line 6345]

+

method _dolinethrough [line 6339]

@@ -17067,7 +17067,7 @@ $txt)
-

method _dounderline [line 6331]

+

method _dounderline [line 6325]

@@ -17115,7 +17115,7 @@ $txt)
-

method _enddoc [line 6214]

+

method _enddoc [line 6208]

@@ -17140,7 +17140,7 @@ $txt)
-

method _endpage [line 6309]

+

method _endpage [line 6303]

@@ -17165,7 +17165,7 @@ $txt)
-

method _escape [line 6369]

+

method _escape [line 6363]

@@ -17204,7 +17204,7 @@ $s)
-

method _escapetext [line 6407]

+

method _escapetext [line 6401]

@@ -17243,7 +17243,7 @@ $s)
-

method _freadint [line 6358]

+

method _freadint [line 6352]

@@ -17282,7 +17282,7 @@ $f)
-

method _generateencryptionkey [line 6969]

+

method _generateencryptionkey [line 6963]

@@ -17336,7 +17336,7 @@ $protection)
-

method _getfontpath [line 5020]

+

method _getfontpath [line 5014]

@@ -17361,7 +17361,7 @@ $protection)
-

method _JScolor [line 8891]

+

method _JScolor [line 8885]

@@ -17397,7 +17397,7 @@ $color)
-

method _md5_16 [line 6930]

+

method _md5_16 [line 6924]

@@ -17442,7 +17442,7 @@ $str)
-

method _newobj [line 6318]

+

method _newobj [line 6312]

@@ -17467,7 +17467,7 @@ $str)
-

method _objectkey [line 6862]

+

method _objectkey [line 6856]

@@ -17506,7 +17506,7 @@ $n)
-

method _out [line 6438]

+

method _out [line 6432]

@@ -17542,7 +17542,7 @@ $s)
-

method _outarc [line 9710]

+

method _outarc [line 9704]

@@ -17614,7 +17614,7 @@ $y3)
-

method _outCurve [line 7489]

+

method _outCurve [line 7483]

@@ -17680,7 +17680,7 @@ $y3)
-

method _outLine [line 7453]

+

method _outLine [line 7447]

@@ -17722,7 +17722,7 @@ $y)
-

method _outPoint [line 7439]

+

method _outPoint [line 7433]

@@ -17764,7 +17764,7 @@ $y)
-

method _outRect [line 7470]

+

method _outRect [line 7464]

@@ -17827,7 +17827,7 @@ $op)
-

method _Ovalue [line 6943]

+

method _Ovalue [line 6937]

@@ -17878,7 +17878,7 @@ $owner_pass)
-

method _parsejpeg [line 4531]

+

method _parsejpeg [line 4525]

@@ -17917,7 +17917,7 @@ $file)
-

method _parsepng [line 4557]

+

method _parsepng [line 4551]

@@ -17956,7 +17956,7 @@ $file)
-

method _putannots [line 5176]

+

method _putannots [line 5170]

@@ -17998,7 +17998,7 @@ $n)
-

method _putbookmarks [line 8789]

+

method _putbookmarks [line 8783]

@@ -18023,7 +18023,7 @@ $n)
-

method _putcatalog [line 6078]

+

method _putcatalog [line 6072]

@@ -18048,7 +18048,7 @@ $n)
-

method _putcidfont0 [line 5834]

+

method _putcidfont0 [line 5828]

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

method _putencryption [line 6871]

+

method _putencryption [line 6865]

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

method _putextgstates [line 9372]

+

method _putextgstates [line 9366]

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

method _putfonts [line 5524]

+

method _putfonts [line 5518]

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

method _putfontwidths [line 5651]

+

method _putfontwidths [line 5645]

@@ -18247,7 +18247,7 @@ $cidoffset = 0])
-

method _putheader [line 6206]

+

method _putheader [line 6200]

@@ -18272,7 +18272,7 @@ $cidoffset = 0])
-

method _putimages [line 5894]

+

method _putimages [line 5888]

@@ -18297,7 +18297,7 @@ $cidoffset = 0])
-

method _putinfo [line 6051]

+

method _putinfo [line 6045]

@@ -18322,7 +18322,7 @@ $cidoffset = 0])
-

method _putjavascript [line 8863]

+

method _putjavascript [line 8857]

@@ -18347,7 +18347,7 @@ $cidoffset = 0])
-

method _putocg [line 9293]

+

method _putocg [line 9287]

@@ -18372,7 +18372,7 @@ $cidoffset = 0])
-

method _putpages [line 5031]

+

method _putpages [line 5025]

@@ -18397,7 +18397,7 @@ $cidoffset = 0])
-

method _putresourcedict [line 5977]

+

method _putresourcedict [line 5971]

@@ -18422,7 +18422,7 @@ $cidoffset = 0])
-

method _putresources [line 6018]

+

method _putresources [line 6012]

@@ -18447,7 +18447,7 @@ $cidoffset = 0])
-

method _putshaders [line 9660]

+

method _putshaders [line 9654]

@@ -18478,7 +18478,7 @@ $cidoffset = 0])
-

method _putspotcolors [line 5949]

+

method _putspotcolors [line 5943]

@@ -18506,7 +18506,7 @@ $cidoffset = 0])
-

method _putstream [line 6424]

+

method _putstream [line 6418]

@@ -18542,7 +18542,7 @@ $s)
-

method _puttrailer [line 6192]

+

method _puttrailer [line 6186]

@@ -18567,7 +18567,7 @@ $s)
-

method _puttruetypeunicode [line 5749]

+

method _puttruetypeunicode [line 5743]

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

method _putuserrights [line 9067]

+

method _putuserrights [line 9061]

diff --git a/tcpdf.php b/tcpdf.php index 7e19704..81d16b2 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -2,9 +2,9 @@ //============================================================+ // File name : tcpdf.php // Begin : 2002-08-03 -// Last Update : 2009-04-11 +// Last Update : 2009-04-14 // Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org -// Version : 4.5.039 +// Version : 4.5.040 // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // ---------------------------------------------------------------------------- // Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l. @@ -122,7 +122,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.5.039 + * @version 4.5.040 */ /** @@ -146,14 +146,14 @@ if (!class_exists('TCPDF', false)) { /** * define default PDF document producer */ - define('PDF_PRODUCER', 'TCPDF 4.5.039 (http://www.tcpdf.org)'); + define('PDF_PRODUCER', 'TCPDF 4.5.040 (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.5.039 + * @version 4.5.040 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -3657,7 +3657,7 @@ if (!class_exists('TCPDF', false)) { } } // Get end-of-text Y position - $currentY = $this->GetY(); + $currentY = $this->y; // get latest page number $endpage = $this->page; // check if a new page has been created @@ -3865,6 +3865,9 @@ if (!class_exists('TCPDF', false)) { * @since 1.5 */ public function Write($h, $txt, $link='', $fill=0, $align='', $ln=false, $stretch=0, $firstline=false, $firstblock=false, $maxh=0) { + if (empty($txt)) { + $txt = ' '; + } // remove carriage returns $s = str_replace("\r", '', $txt); // check if string contains arabic text @@ -3886,16 +3889,7 @@ if (!class_exists('TCPDF', false)) { // get array of chars $uchars = $this->UTF8ArrayToUniArray($chars); // get the number of characters - $nb = count($chars); - // handle single space character - if (($nb == 1) AND preg_match('/[\s]/', $s)) { - if ($this->rtl) { - $this->x -= $this->GetStringWidth($s); - } else { - $this->x += $this->GetStringWidth($s); - } - return; - } + $nb = count($chars); // replacement for SHY character (minus symbol) $shy_replacement = 45; $shy_replacement_char = $this->unichr($shy_replacement);
diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index 5671800..9067a6e 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

- Documentation generated on Sat, 11 Apr 2009 19:19:32 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:44 +0200 by phpDocumentor 1.4.1
@@ -18634,7 +18634,7 @@ $font)
-

method _putviewerpreferences [line 6122]

+

method _putviewerpreferences [line 6116]

diff --git a/doc/index.html b/doc/index.html index 5671800..9067a6e 100644 --- a/doc/index.html +++ b/doc/index.html @@ -58,7 +58,7 @@ This documentation was generated by phpDocumentor v1.4.1

- Documentation generated on Sat, 11 Apr 2009 19:19:32 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:44 +0200 by phpDocumentor 1.4.1
diff --git a/doc/errors.html b/doc/errors.html index f837118..c7605e0 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

- Documentation generated on Sat, 11 Apr 2009 19:19:38 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:50 +0200 by phpDocumentor 1.4.1
@@ -18665,7 +18665,7 @@ $font)
-

method _putxobjectdict [line 5966]

+

method _putxobjectdict [line 5960]

diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index fbea632..b0ed28f 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -1359,7 +1359,7 @@ top

- Documentation generated on Sat, 11 Apr 2009 19:19:32 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:44 +0200 by phpDocumentor 1.4.1
diff --git a/doc/elementindex.html b/doc/elementindex.html index 1384124..dc629e7 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -1336,7 +1336,7 @@ top

- Documentation generated on Sat, 11 Apr 2009 19:19:32 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:44 +0200 by phpDocumentor 1.4.1
@@ -18690,7 +18690,7 @@ $font)
-

method _RC4 [line 6890]

+

method _RC4 [line 6884]

diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index 20f80c9..67ea8fb 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 Sat, 11 Apr 2009 19:19:38 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:50 +0200 by phpDocumentor 1.4.1
@@ -18741,7 +18741,7 @@ $text)
-

method _textstring [line 6393]

+

method _textstring [line 6387]

diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index 99e0516..085bd1e 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 e0d8d06..d482458 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 Sat, 11 Apr 2009 19:19:33 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:45 +0200 by phpDocumentor 1.4.1
@@ -18780,7 +18780,7 @@ $s)
-

method _toJPEG [line 4515]

+

method _toJPEG [line 4509]

diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index df14793..fd70986 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 Sat, 11 Apr 2009 19:19:38 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:50 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/_barcodes.php.html b/doc/com-tecnick-tcpdf/_barcodes.php.html index 1ffbc47..82b01b7 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 Sat, 11 Apr 2009 19:19:32 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:44 +0200 by phpDocumentor 1.4.1
@@ -18822,7 +18822,7 @@ $file)
-

method _Uvalue [line 6956]

+

method _Uvalue [line 6950]

diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index 40e0efb..bf65c2e 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -1122,7 +1122,7 @@ $type)

- Documentation generated on Sat, 11 Apr 2009 19:19:32 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:44 +0200 by phpDocumentor 1.4.1
@@ -18859,7 +18859,7 @@ $file)

- Documentation generated on Sat, 11 Apr 2009 19:19:33 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:45 +0200 by phpDocumentor 1.4.1
author:  Nicola Asuni
version:  4.5.039version:  4.5.040
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
- PDF_PRODUCER = 'TCPDF 4.5.039 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 4.5.040 (http://www.tcpdf.org)'
@@ -115,7 +115,7 @@ unicode data


- Documentation generated on Sat, 11 Apr 2009 19:19:33 +0200 by phpDocumentor 1.4.1 + Documentation generated on Tue, 14 Apr 2009 12:42:45 +0200 by phpDocumentor 1.4.1