From 1b6c34a60e88d194a5d6039b4a6dd163c20324fa Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Sat, 23 May 2009 18:33:55 +0200 Subject: [PATCH] 4.6.012 --- CHANGELOG.TXT | 3 + README.TXT | 4 +- doc/classtrees_com-tecnick-tcpdf.html | 2 +- doc/com-tecnick-tcpdf/TCPDF.html | 346 +++++++++--------- 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 | 55 ++- 16 files changed, 219 insertions(+), 217 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 21acc74..edc87af 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +4.6.012 (2009-05-23) + - setUserRights() method doesn't work anymore unless you call the setSignature() method with the Adobe private key! + 4.6.011 (2009-05-18) - Signature of the Image() method was changed to include the new $fitbox parameter (see source code documentation). diff --git a/README.TXT b/README.TXT index 7d18eec..28470d7 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 4.6.011 -Release date: 2009-05-18 +Version: 4.6.012 +Release date: 2009-05-23 Author: Nicola Asuni Copyright (c) 2001-2009: diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index cc0b3e0..06193c7 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -45,7 +45,7 @@

- Documentation generated on Mon, 18 May 2009 20:13:04 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:40 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index 4e3bd54..2269bf0 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -74,7 +74,7 @@ Source Location: /tcpdf.php

Version:

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

method addExtGState [line 9576]

+

method addExtGState [line 9575]

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

method addHtmlLink [line 6894]

+

method addHtmlLink [line 6896]

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

method addHTMLVertSpace [line 12694]

+

method addHTMLVertSpace [line 12693]

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

method addTOC [line 13716]

+

method addTOC [line 13715]

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

method AliasNbPages [line 9384]

+

method AliasNbPages [line 9383]

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

method AliasNumPage [line 9411]

+

method AliasNumPage [line 9410]

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

method arrUTF8ToUTF16BE [line 6796]

+

method arrUTF8ToUTF16BE [line 6798]

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

method Bookmark [line 8903]

+

method Bookmark [line 8905]

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

method Button [line 9185]

+

method Button [line 9187]

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

method CheckBox [line 9165]

+

method CheckBox [line 9167]

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

method Circle [line 8009]

+

method Circle [line 8011]

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

method Clip [line 9839]

+

method Clip [line 9838]

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

method closeHTMLTagHandler [line 12370]

+

method closeHTMLTagHandler [line 12369]

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

method ComboBox [line 9146]

+

method ComboBox [line 9148]

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

method commitTransaction [line 13873]

+

method commitTransaction [line 13872]

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

method convertHTMLColorToDec [line 6927]

+

method convertHTMLColorToDec [line 6929]

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

method CoonsPatchMesh [line 9759]

+

method CoonsPatchMesh [line 9758]

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

method Curve [line 7784]

+

method Curve [line 7786]

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

method deletePage [line 13576]

+

method deletePage [line 13575]

@@ -6946,7 +6946,7 @@ $page)
-

method Ellipse [line 7905]

+

method Ellipse [line 7907]

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

method empty_string [line 13920]

+

method empty_string [line 13919]

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

method formatPageNumber [line 9488]

+

method formatPageNumber [line 9487]

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

method formatTOCPageNumber [line 9500]

+

method formatTOCPageNumber [line 9499]

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

method getAliasNbPages [line 9396]

+

method getAliasNbPages [line 9395]

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

method getAliasNumPage [line 9424]

+

method getAliasNumPage [line 9423]

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

method getBarcode [line 10304]

+

method getBarcode [line 10303]

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

method getBuffer [line 13262]

+

method getBuffer [line 13261]

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

method getCellHeightRatio [line 9662]

+

method getCellHeightRatio [line 9661]

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

method getFontBuffer [line 13422]

+

method getFontBuffer [line 13421]

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

method getFontFamily [line 10780]

+

method getFontFamily [line 10779]

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

method getFontSize [line 10760]

+

method getFontSize [line 10759]

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

method getFontSizePt [line 10770]

+

method getFontSizePt [line 10769]

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

method getFontStyle [line 10790]

+

method getFontStyle [line 10789]

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

method getFooterFont [line 6857]

+

method getFooterFont [line 6859]

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

method getGraphicVars [line 13130]

+

method getGraphicVars [line 13129]

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

method getGroupPageNo [line 9437]

+

method getGroupPageNo [line 9436]

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

method getGroupPageNoFormatted [line 9447]

+

method getGroupPageNoFormatted [line 9446]

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

method getHeaderFont [line 6837]

+

method getHeaderFont [line 6839]

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

method getHtmlDomArray [line 10826]

+

method getHtmlDomArray [line 10825]

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

method getHTMLUnitToUnits [line 12849]

+

method getHTMLUnitToUnits [line 12848]

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

method getImageBuffer [line 13364]

+

method getImageBuffer [line 13363]

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

method GetLineWidth [line 7501]

+

method GetLineWidth [line 7503]

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

method getMargins [line 10723]

+

method getMargins [line 10722]

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

method getObjFilename [line 13194]

+

method getObjFilename [line 13193]

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

method getOriginalMargins [line 10746]

+

method getOriginalMargins [line 10745]

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

method getPageBuffer [line 13305]

+

method getPageBuffer [line 13304]

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

method getPageGroupAlias [line 9459]

+

method getPageGroupAlias [line 9458]

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

method getPageNumGroupAlias [line 9474]

+

method getPageNumGroupAlias [line 9473]

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

method getPDFData [line 6876]

+

method getPDFData [line 6878]

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

method Gradient [line 9862]

+

method Gradient [line 9861]

@@ -9469,7 +9469,7 @@ $fitbox = false])
-

method ImageEps [line 10034]

+

method ImageEps [line 10033]

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

method IncludeJS [line 8995]

+

method IncludeJS [line 8997]

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

method intToRoman [line 12923]

+

method intToRoman [line 12922]

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

method Line [line 7651]

+

method Line [line 7653]

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

method LinearGradient [line 9719]

+

method LinearGradient [line 9718]

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

method ListBox [line 9123]

+

method ListBox [line 9125]

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

method MirrorH [line 7275]

+

method MirrorH [line 7277]

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

method MirrorL [line 7311]

+

method MirrorL [line 7313]

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

method MirrorP [line 7298]

+

method MirrorP [line 7300]

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

method MirrorV [line 7286]

+

method MirrorV [line 7288]

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

method movePage [line 13439]

+

method movePage [line 13438]

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

method objclone [line 13909]

+

method objclone [line 13908]

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

method openHTMLTagHandler [line 12044]

+

method openHTMLTagHandler [line 12043]

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

method PageNoFormatted [line 9510]

+

method PageNoFormatted [line 9509]

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

method PieSector [line 9956]

+

method PieSector [line 9955]

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

method pixelsToUnits [line 6980]

+

method pixelsToUnits [line 6982]

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

method Polycurve [line 7841]

+

method Polycurve [line 7843]

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

method Polygon [line 8034]

+

method Polygon [line 8036]

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

method putHtmlListBullet [line 12988]

+

method putHtmlListBullet [line 12987]

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

method RadialGradient [line 9737]

+

method RadialGradient [line 9736]

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

method RadioButton [line 9105]

+

method RadioButton [line 9107]

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

method readDiskCache [line 13234]

+

method readDiskCache [line 13233]

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

method Rect [line 7686]

+

method Rect [line 7688]

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

method RegularPolygon [line 8133]

+

method RegularPolygon [line 8135]

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

method rollbackTransaction [line 13886]

+

method rollbackTransaction [line 13885]

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

method Rotate [line 7370]

+

method Rotate [line 7372]

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

method RoundedRect [line 8237]

+

method RoundedRect [line 8239]

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

method Scale [line 7240]

+

method Scale [line 7242]

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

method ScaleX [line 7200]

+

method ScaleX [line 7202]

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

method ScaleXY [line 7226]

+

method ScaleXY [line 7228]

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

method ScaleY [line 7213]

+

method ScaleY [line 7215]

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

method setAlpha [line 9619]

+

method setAlpha [line 9618]

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

method setBarcode [line 10294]

+

method setBarcode [line 10293]

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

method SetBooklet [line 12763]

+

method SetBooklet [line 12762]

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

method setBuffer [line 13244]

+

method setBuffer [line 13243]

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

method setCellHeightRatio [line 9653]

+

method setCellHeightRatio [line 9652]

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

method setDefaultTableColumns [line 9643]

+

method setDefaultTableColumns [line 9642]

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

method setExtGState [line 9588]

+

method setExtGState [line 9587]

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

method setFontBuffer [line 13380]

+

method setFontBuffer [line 13379]

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

method setFontSubBuffer [line 13402]

+

method setFontSubBuffer [line 13401]

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

method setFooterFont [line 6847]

+

method setFooterFont [line 6849]

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

method setGraphicVars [line 13161]

+

method setGraphicVars [line 13160]

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

method setHeaderFont [line 6827]

+

method setHeaderFont [line 6829]

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

method setHtmlLinksStyle [line 12834]

+

method setHtmlLinksStyle [line 12833]

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

method setHtmlVSpace [line 12803]

+

method setHtmlVSpace [line 12802]

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

method setImageBuffer [line 13321]

+

method setImageBuffer [line 13320]

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

method setImageSubBuffer [line 13344]

+

method setImageSubBuffer [line 13343]

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

method setJPEGQuality [line 9630]

+

method setJPEGQuality [line 9629]

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

method setLanguageArray [line 6867]

+

method setLanguageArray [line 6869]

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

method SetLineStyle [line 7526]

+

method SetLineStyle [line 7528]

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

method SetLineWidth [line 7487]

+

method SetLineWidth [line 7489]

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

method setListIndentWidth [line 12813]

+

method setListIndentWidth [line 12812]

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

method setLIsymbol [line 12723]

+

method setLIsymbol [line 12722]

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

method setOpenCell [line 12823]

+

method setOpenCell [line 12822]

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

method setPageBuffer [line 13278]

+

method setPageBuffer [line 13277]

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

method setPDFVersion [line 9672]

+

method setPDFVersion [line 9671]

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

method SetProtection [line 7143]

+

method SetProtection [line 7145]

@@ -14511,7 +14511,7 @@ $enable)
-

method setSignature [line 9344]

+

method setSignature [line 9343]

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

method setUserRights [line 9315]

+

method setUserRights [line 9317]

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

method setViewerPreferences [line 9702]

+

method setViewerPreferences [line 9701]

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

method setVisibility [line 9540]

+

method setVisibility [line 9539]

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

method Skew [line 7430]

+

method Skew [line 7432]

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

method SkewX [line 7403]

+

method SkewX [line 7405]

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

method SkewY [line 7416]

+

method SkewY [line 7418]

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

method StarPolygon [line 8188]

+

method StarPolygon [line 8190]

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

method startPageGroup [line 9369]

+

method startPageGroup [line 9368]

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

method startTransaction [line 13859]

+

method startTransaction [line 13858]

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

method StartTransform [line 7171]

+

method StartTransform [line 7173]

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

method StopTransform [line 7184]

+

method StopTransform [line 7186]

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

method swapMargins [line 12779]

+

method swapMargins [line 12778]

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

method TextField [line 9092]

+

method TextField [line 9094]

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

method Transform [line 7463]

+

method Transform [line 7465]

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

method Translate [line 7346]

+

method Translate [line 7348]

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

method TranslateX [line 7323]

+

method TranslateX [line 7325]

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

method TranslateY [line 7334]

+

method TranslateY [line 7336]

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

method unhtmlentities [line 6991]

+

method unhtmlentities [line 6993]

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

method utf8Bidi [line 8336]

+

method utf8Bidi [line 8338]

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

method UTF8StringToArray [line 6629]

+

method UTF8StringToArray [line 6631]

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

method utf8StrRev [line 8322]

+

method utf8StrRev [line 8324]

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

method UTF8ToLatin1 [line 6736]

+

method UTF8ToLatin1 [line 6738]

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

method UTF8ToUTF16BE [line 6720]

+

method UTF8ToUTF16BE [line 6722]

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

method write1DBarcode [line 10323]

+

method write1DBarcode [line 10322]

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

method write2DBarcode [line 10576]

+

method write2DBarcode [line 10575]

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

method writeBarcode [line 10526]

+

method writeBarcode [line 10525]

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

method writeDiskCache [line 13206]

+

method writeDiskCache [line 13205]

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

method writeHTML [line 11219]

+

method writeHTML [line 11218]

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

method writeHTMLCell [line 10814]

+

method writeHTMLCell [line 10813]

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

method _addfield [line 9057]

+

method _addfield [line 9059]

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

method _beginpage [line 6409]

+

method _beginpage [line 6411]

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

method _datastring [line 6519]

+

method _datastring [line 6521]

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

method _dolinethrough [line 6484]

+

method _dolinethrough [line 6486]

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

method _dounderline [line 6470]

+

method _dounderline [line 6472]

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

method _endpage [line 6448]

+

method _endpage [line 6450]

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

method _escape [line 6508]

+

method _escape [line 6510]

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

method _escapetext [line 6546]

+

method _escapetext [line 6548]

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

method _freadint [line 6497]

+

method _freadint [line 6499]

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

method _generateencryptionkey [line 7111]

+

method _generateencryptionkey [line 7113]

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

method _JScolor [line 9033]

+

method _JScolor [line 9035]

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

method _md5_16 [line 7072]

+

method _md5_16 [line 7074]

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

method _newobj [line 6457]

+

method _newobj [line 6459]

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

method _objectkey [line 7004]

+

method _objectkey [line 7006]

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

method _out [line 6577]

+

method _out [line 6579]

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

method _outarc [line 9936]

+

method _outarc [line 9935]

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

method _outCurve [line 7631]

+

method _outCurve [line 7633]

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

method _outLine [line 7595]

+

method _outLine [line 7597]

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

method _outPoint [line 7581]

+

method _outPoint [line 7583]

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

method _outRect [line 7612]

+

method _outRect [line 7614]

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

method _Ovalue [line 7085]

+

method _Ovalue [line 7087]

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

method _putbookmarks [line 8931]

+

method _putbookmarks [line 8933]

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

method _putcertification [line 9258]

+

method _putcertification [line 9260]

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

method _putencryption [line 7013]

+

method _putencryption [line 7015]

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

method _putextgstates [line 9598]

+

method _putextgstates [line 9597]

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

method _putjavascript [line 9005]

+

method _putjavascript [line 9007]

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

method _putocg [line 9519]

+

method _putocg [line 9518]

diff --git a/tcpdf.php b/tcpdf.php index b3e4abf..aa9b67a 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -2,9 +2,9 @@ //============================================================+ // File name : tcpdf.php // Begin : 2002-08-03 -// Last Update : 2009-05-18 +// Last Update : 2009-05-23 // Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org -// Version : 4.6.011 +// Version : 4.6.012 // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // ---------------------------------------------------------------------------- // Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l. @@ -126,7 +126,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.6.011 + * @version 4.6.012 */ /** @@ -150,14 +150,14 @@ if (!class_exists('TCPDF', false)) { /** * define default PDF document producer */ - define('PDF_PRODUCER', 'TCPDF 4.6.011 (http://www.tcpdf.org)'); + define('PDF_PRODUCER', 'TCPDF 4.6.012 (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.6.011 + * @version 4.6.012 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -3023,7 +3023,7 @@ if (!class_exists('TCPDF', false)) { //Search existing encodings $d = 0; $nb = count($this->diffs); - for($i=1; $i <= $nb; ++$i) { + for ($i=1; $i <= $nb; ++$i) { if ($this->diffs[$i] == $diff) { $d = $i; break; @@ -4751,7 +4751,7 @@ if (!class_exists('TCPDF', false)) { $img = imagecreatefrompng($file); $imgalpha = imagecreate($wpx, $hpx); // generate gray scale pallete - for($c = 0; $c < 256; ++$c) { + for ($c = 0; $c < 256; ++$c) { ImageColorAllocate($imgalpha, $c, $c, $c); } // extract alpha channel @@ -5183,7 +5183,7 @@ if (!class_exists('TCPDF', false)) { } $pagegroupnum = 0; $filter = ($this->compress) ? '/Filter /FlateDecode ' : ''; - for($n=1; $n <= $nb; ++$n) { + for ($n=1; $n <= $nb; ++$n) { $temppage = $this->getPageBuffer($n); if (!empty($this->pagegroups)) { if(isset($this->newpagegroup[$n])) { @@ -5283,7 +5283,7 @@ if (!class_exists('TCPDF', false)) { $this->_out('1 0 obj'); $this->_out('<_out($kids.']'); @@ -5750,7 +5750,7 @@ if (!class_exists('TCPDF', false)) { $this->_newobj(); $cw = &$font['cw']; $s = '['; - for($i = 32; $i < 256; ++$i) { + for ($i = 32; $i < 256; ++$i) { $s .= $cw[$i].' '; } $this->_out($s.']'); @@ -6059,7 +6059,7 @@ if (!class_exists('TCPDF', false)) { if (isset($info['trns']) AND is_array($info['trns'])) { $trns=''; $count_info = count($info['trns']); - for($i=0; $i < $count_info; ++$i) { + for ($i=0; $i < $count_info; ++$i) { $trns .= $info['trns'][$i].' '.$info['trns'][$i].' '; } $this->_out('/Mask ['.$trns.']'); @@ -6371,12 +6371,14 @@ if (!class_exists('TCPDF', false)) { $this->_out('xref'); $this->_out('0 '.($this->n + 1)); $this->_out('0000000000 65535 f '); - for($i=1; $i <= $this->n; ++$i) { + for ($i=1; $i <= $this->n; ++$i) { $this->_out(sprintf('%010d 00000 n ', $this->offsets[$i])); } - $this->_out('100000 '.count($this->embeddedfiles)); - foreach ($this->embeddedfiles as $filename => $filedata) { - $this->_out(sprintf('%010d 00000 n ', $this->offsets[$filedata['n']])); + if (isset($this->embeddedfiles) AND count($this->embeddedfiles) > 0) { + $this->_out('100000 '.count($this->embeddedfiles)); + foreach ($this->embeddedfiles as $filename => $filedata) { + $this->_out(sprintf('%010d 00000 n ', $this->offsets[$filedata['n']])); + } } //Trailer $this->_out('trailer'); @@ -6641,7 +6643,7 @@ if (!class_exists('TCPDF', false)) { // split string into array of equivalent codes $strarr = array(); $strlen = strlen($str); - for($i=0; $i < $strlen; ++$i) { + for ($i=0; $i < $strlen; ++$i) { $strarr[] = ord($str{$i}); } // insert new value on cache @@ -6653,7 +6655,7 @@ if (!class_exists('TCPDF', false)) { $numbytes = 1; // number of octetc needed to represent the UTF-8 character $str .= ''; // force $str to be a string $length = strlen($str); - for($i = 0; $i < $length; ++$i) { + for ($i = 0; $i < $length; ++$i) { $char = ord($str{$i}); // get one string character at time if (count($bytes) == 0) { // get starting octect if ($char <= 0x7F) { @@ -6679,7 +6681,7 @@ if (!class_exists('TCPDF', false)) { if (count($bytes) == $numbytes) { // compose UTF-8 bytes to a single unicode value $char = $bytes[0]; - for($j = 1; $j < $numbytes; ++$j) { + for ($j = 1; $j < $numbytes; ++$j) { $char += ($bytes[$j] << (($numbytes - $j - 1) * 0x06)); } if ((($char >= 0xD800) AND ($char <= 0xDFFF)) OR ($char >= 0x10FFFF)) { @@ -9300,7 +9302,7 @@ if (!class_exists('TCPDF', false)) { /* * Set User's Rights for PDF Reader - * WARNING: This should work only using the Adobe private key with the setSignature() method. + * WARNING: This works only using the Adobe private key with the setSignature() method!. * Check the PDF Reference 8.7.1 Transform Methods, * Table 8.105 Entries in the UR transform parameters dictionary * @param boolean $enable if true enable user's rights on PDF reader @@ -9322,10 +9324,7 @@ if (!class_exists('TCPDF', false)) { $this->ur_document = $document; $this->ur_annots = $annots; $this->ur_form = $form; - $this->ur_signature = $signature; - if ($this->ur) { - $this->setSignature('', '', '', '', 0); - } + $this->ur_signature = $signature; } /* @@ -9797,10 +9796,10 @@ if (!class_exists('TCPDF', false)) { //build the data stream $this->gradients[$n]['stream'] = ''; $count_patch = count($patch_array); - for($i=0; $i < $count_patch; ++$i) { + for ($i=0; $i < $count_patch; ++$i) { $this->gradients[$n]['stream'] .= chr($patch_array[$i]['f']); //start with the edge flag as 8 bit $count_points = count($patch_array[$i]['points']); - for($j=0; $j < $count_points; ++$j) { + for ($j=0; $j < $count_points; ++$j) { //each point as 16 bit $patch_array[$i]['points'][$j] = (($patch_array[$i]['points'][$j] - $coords_min) / ($coords_max - $coords_min)) * $bpcd; if ($patch_array[$i]['points'][$j] < 0) { @@ -9813,7 +9812,7 @@ if (!class_exists('TCPDF', false)) { $this->gradients[$n]['stream'] .= chr(floor($patch_array[$i]['points'][$j] % 256)); } $count_cols = count($patch_array[$i]['colors']); - for($j=0; $j < $count_cols; ++$j) { + for ($j=0; $j < $count_cols; ++$j) { //each color component as 8 bit $this->gradients[$n]['stream'] .= chr($patch_array[$i]['colors'][$j]['r']); $this->gradients[$n]['stream'] .= chr($patch_array[$i]['colors'][$j]['g']); @@ -13797,10 +13796,10 @@ if (!class_exists('TCPDF', false)) { $page_last = $this->getPage(); $numpages = $page_last - $page_first + 1; if (!$this->empty_string($page)) { - for($p = $page_first; $p <= $page_last; ++$p) { + for ($p = $page_first; $p <= $page_last; ++$p) { // get page data $temppage = $this->getPageBuffer($p); - for($n = 1; $n <= $this->numpages; ++$n) { + for ($n = 1; $n <= $this->numpages; ++$n) { // update page numbers $k = '{#'.$n.'}'; $ku = '{'.$k.'}';
diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index 300f6da..c149ec9 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 Mon, 18 May 2009 20:13:04 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:40 +0200 by phpDocumentor 1.4.1
@@ -18751,7 +18751,7 @@ $cidoffset = 0])
-

method _putshaders [line 9886]

+

method _putshaders [line 9885]

diff --git a/doc/index.html b/doc/index.html index 300f6da..c149ec9 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 Mon, 18 May 2009 20:13:04 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:40 +0200 by phpDocumentor 1.4.1
diff --git a/doc/errors.html b/doc/errors.html index a12b96b..2389353 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

- Documentation generated on Mon, 18 May 2009 20:13:11 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:46 +0200 by phpDocumentor 1.4.1
@@ -18810,7 +18810,7 @@ $cidoffset = 0])
-

method _putstream [line 6563]

+

method _putstream [line 6565]

diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index a1fa1f1..1e61ccf 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -1387,7 +1387,7 @@ top

- Documentation generated on Mon, 18 May 2009 20:13:04 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:40 +0200 by phpDocumentor 1.4.1
diff --git a/doc/elementindex.html b/doc/elementindex.html index 2f00d69..5ca3f28 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -1364,7 +1364,7 @@ top

- Documentation generated on Mon, 18 May 2009 20:13:04 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:40 +0200 by phpDocumentor 1.4.1
@@ -18913,7 +18913,7 @@ $font)
-

method _putuserrights [line 9208]

+

method _putuserrights [line 9210]

diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index 1dc70ca..8947c2c 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 Mon, 18 May 2009 20:13:11 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:46 +0200 by phpDocumentor 1.4.1
@@ -18994,7 +18994,7 @@ $font)
-

method _RC4 [line 7032]

+

method _RC4 [line 7034]

diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index 0c70d1c..ce3857c 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 9745c9c..30ef843 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 Mon, 18 May 2009 20:13:05 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:41 +0200 by phpDocumentor 1.4.1
@@ -19045,7 +19045,7 @@ $text)
-

method _textstring [line 6532]

+

method _textstring [line 6534]

diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index 413da14..118496b 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 Mon, 18 May 2009 20:13:11 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:46 +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 fcd38c3..6515352 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 Mon, 18 May 2009 20:13:04 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:40 +0200 by phpDocumentor 1.4.1
@@ -19126,7 +19126,7 @@ $file)
-

method _Uvalue [line 7098]

+

method _Uvalue [line 7100]

diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index a93701b..208b153 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -1368,7 +1368,7 @@ $type)

- Documentation generated on Mon, 18 May 2009 20:13:04 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:40 +0200 by phpDocumentor 1.4.1
@@ -19163,7 +19163,7 @@ $file)

- Documentation generated on Mon, 18 May 2009 20:13:05 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:41 +0200 by phpDocumentor 1.4.1
author:  Nicola Asuni
version:  4.6.011version:  4.6.012
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.6.011 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 4.6.012 (http://www.tcpdf.org)'
@@ -115,7 +115,7 @@ unicode data


- Documentation generated on Mon, 18 May 2009 20:13:05 +0200 by phpDocumentor 1.4.1 + Documentation generated on Sat, 23 May 2009 18:33:41 +0200 by phpDocumentor 1.4.1