diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index d7b70eb..8c63ef5 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,9 @@ +4.5.037 (2009-04-09) + - General performances were improved. + - The signature of the method utf8Bidi() was changed. + - The method UniArrSubString() was added. + - Experimental support for 2D barcodes were added (see example n. 50 and 2dbarcodes.php class). + 4.5.036 (2009-04-03) - TCPDF methods can be called inside the HTML code (see example n. 49). - All tag attributes, such as

must be enclosed within double quotes. diff --git a/README.TXT b/README.TXT index af84c22..8211eda 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.036 -Release date: 2009-04-03 +Version: 4.5.037 +Release date: 2009-04-09 Author: Nicola Asuni Copyright (c) 2001-2009: diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index 140edd8..db45c04 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -45,7 +45,7 @@


- Documentation generated on Fri, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:56 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index 1cafc97..c044d7e 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -74,7 +74,7 @@ Source Location: /tcpdf.php

Version:

@@ -94,6 +94,9 @@ Source Location: /tcpdf.php

  • $buffer
  • $bufferlen
  • $cache_file_lenght
  • +
  • $cache_maxsize_UTF8StringToArray
  • +
  • $cache_size_UTF8StringToArray
  • +
  • $cache_UTF8StringToArray
  • $cell_height_ratio
  • $cMargin
  • $ColorFlag
  • @@ -477,7 +480,9 @@ Source Location: /tcpdf.php

  • TranslateX
  • TranslateY
  • unhtmlentities
  • +
  • UniArrSubString
  • unichr
  • +
  • UTF8ArrayToUniArray
  • UTF8ArrSubString
  • utf8Bidi
  • UTF8StringToArray
  • @@ -486,6 +491,7 @@ Source Location: /tcpdf.php

  • UTF8ToUTF16BE
  • Write
  • write1DBarcode
  • +
  • write2DBarcode
  • writeBarcode
  • writeDiskCache
  • writeHTML
  • @@ -574,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.036 + version:  4.5.037 link:  http://www.tcpdf.org @@ -876,6 +882,87 @@ This is a PHP class for generating PDF documents without requiring external exte access:  protected + + +
    +
    + + + + + +
    Type:  mixed
    +


    +
    [ Top ]

    + +

    +

    $cache_maxsize_UTF8StringToArray =  8

    +

    [line 1256]

    + Maximum size of cache array used for UTF8StringToArray() method.



    +

    Tags:

    +
    + + + + + + + +
    since:  4.5.037 (2009-04-07)
    access:  protected
    +
    + +
    +
    + + + + + +
    Type:  mixed
    +


    +
    [ Top ]

    + +

    +

    $cache_size_UTF8StringToArray =  0

    +

    [line 1263]

    + Current size of cache array used for UTF8StringToArray() method.



    +

    Tags:

    +
    + + + + + + + +
    since:  4.5.037 (2009-04-07)
    access:  protected
    +
    + +
    +
    + + + + + +
    Type:  mixed
    +


    +
    [ Top ]

    + +

    +

    $cache_UTF8StringToArray = array()

    +

    [line 1249]

    + Cache array for UTF8StringToArray() method.



    +

    Tags:

    +
    + + + + + + + +
    since:  4.5.037 (2009-04-07)
    access:  protected

    @@ -5019,7 +5106,7 @@ This is a PHP class for generating PDF documents without requiring external exte
    -

    constructor __construct [line 1260]

    +

    constructor __construct [line 1283]

    @@ -5088,7 +5175,7 @@ $diskcache = false])
    -

    destructor __destruct [line 1368]

    +

    destructor __destruct [line 1391]

    @@ -5116,7 +5203,7 @@ $diskcache = false])
    -

    method AcceptPageBreak [line 3229]

    +

    method AcceptPageBreak [line 3252]

    @@ -5147,7 +5234,7 @@ $diskcache = false])
    -

    method addExtGState [line 9236]

    +

    method addExtGState [line 9346]

    @@ -5183,7 +5270,7 @@ $parms)
    -

    method AddFont [line 2827]

    +

    method AddFont [line 2850]

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

    method addHtmlLink [line 6641]

    +

    method addHtmlLink [line 6748]

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

    method addHTMLVertSpace [line 12199]

    +

    method addHTMLVertSpace [line 12455]

    @@ -5375,7 +5462,7 @@ $closing = false])
    -

    method AddLink [line 3049]

    +

    method AddLink [line 3072]

    @@ -5406,7 +5493,7 @@ $closing = false])
    -

    method AddPage [line 2070]

    +

    method AddPage [line 2093]

    @@ -5454,7 +5541,7 @@ $format = ''])
    -

    method AddSpotColor [line 2460]

    +

    method AddSpotColor [line 2483]

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

    method addTOC [line 13081]

    +

    method addTOC [line 13337]

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

    method AliasNbPages [line 9044]

    +

    method AliasNbPages [line 9154]

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

    method AliasNumPage [line 9071]

    +

    method AliasNumPage [line 9181]

    @@ -5658,7 +5745,7 @@ $alias = '{pnb}'])
    -

    method Annotation [line 3105]

    +

    method Annotation [line 3128]

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

    method arrUTF8ToUTF16BE [line 6543]

    +

    method arrUTF8ToUTF16BE [line 6650]

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

    method Bookmark [line 8647]

    +

    method Bookmark [line 8757]

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

    method Button [line 8929]

    +

    method Button [line 9039]

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

    method Cell [line 3283]

    +

    method Cell [line 3306]

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

    method CheckBox [line 8909]

    +

    method CheckBox [line 9019]

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

    method checkPageBreak [line 3240]

    +

    method checkPageBreak [line 3263]

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

    method Circle [line 7756]

    +

    method Circle [line 7863]

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

    method Clip [line 9499]

    +

    method Clip [line 9609]

    @@ -6279,7 +6366,7 @@ $h)
    -

    method Close [line 1967]

    +

    method Close [line 1990]

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

    method closeHTMLTagHandler [line 11877]

    +

    method closeHTMLTagHandler [line 12133]

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

    method ComboBox [line 8890]

    +

    method ComboBox [line 9000]

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

    method commitTransaction [line 13238]

    +

    method commitTransaction [line 13494]

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

    method convertHTMLColorToDec [line 6674]

    +

    method convertHTMLColorToDec [line 6781]

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

    method CoonsPatchMesh [line 9419]

    +

    method CoonsPatchMesh [line 9529]

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

    method Curve [line 7531]

    +

    method Curve [line 7638]

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

    method Ellipse [line 7652]

    +

    method Ellipse [line 7759]

    @@ -6809,7 +6896,7 @@ $afinish:)
    -

    method endPage [line 2089]

    +

    method endPage [line 2112]

    @@ -6840,7 +6927,7 @@ $afinish:)
    -

    method Error [line 1939]

    +

    method Error [line 1962]

    @@ -6879,7 +6966,7 @@ $msg)
    -

    method Footer [line 2310]

    +

    method Footer [line 2333]

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

    method formatPageNumber [line 9148]

    +

    method formatPageNumber [line 9258]

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

    method formatTOCPageNumber [line 9160]

    +

    method formatTOCPageNumber [line 9270]

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

    method GetAbsX [line 4692]

    +

    method GetAbsX [line 4785]

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

    method getAliasNbPages [line 9056]

    +

    method getAliasNbPages [line 9166]

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

    method getAliasNumPage [line 9084]

    +

    method getAliasNumPage [line 9194]

    @@ -7078,7 +7165,7 @@ $num)
    -

    method GetArrStringWidth [line 2739]

    +

    method GetArrStringWidth [line 2762]

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

    method getBarcode [line 9967]

    +

    method getBarcode [line 10077]

    @@ -7175,7 +7262,7 @@ $arr)
    -

    method getBorderMode [line 3726]

    +

    method getBorderMode [line 3749]

    @@ -7223,7 +7310,7 @@ $position = 'start'])
    -

    method getBreakMargin [line 1670]

    +

    method getBreakMargin [line 1693]

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

    method getBuffer [line 12764]

    +

    method getBuffer [line 13020]

    @@ -7302,7 +7389,7 @@ $pagenum = ''])
    -

    method getCellCode [line 3335]

    +

    method getCellCode [line 3358]

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

    method getCellHeightRatio [line 9322]

    +

    method getCellHeightRatio [line 9432]

    @@ -7423,7 +7510,7 @@ $ignore_min_height = false])
    -

    method GetCharWidth [line 2766]

    +

    method GetCharWidth [line 2789]

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

    method getFontBuffer [line 12924]

    +

    method getFontBuffer [line 13180]

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

    method getFontFamily [line 10297]

    +

    method getFontFamily [line 10553]

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

    method getFontSize [line 10277]

    +

    method getFontSize [line 10533]

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

    method getFontSizePt [line 10287]

    +

    method getFontSizePt [line 10543]

    @@ -7603,7 +7690,7 @@ $font)
    -

    method getFontsList [line 2805]

    +

    method getFontsList [line 2828]

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

    method getFontStyle [line 10307]

    +

    method getFontStyle [line 10563]

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

    method getFooterFont [line 6604]

    +

    method getFooterFont [line 6711]

    @@ -7690,7 +7777,7 @@ $font)
    -

    method getFooterMargin [line 2224]

    +

    method getFooterMargin [line 2247]

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

    method getGDgamma [line 4635]

    +

    method getGDgamma [line 4728]

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

    method getGraphicVars [line 12632]

    +

    method getGraphicVars [line 12888]

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

    method getGroupPageNo [line 9097]

    +

    method getGroupPageNo [line 9207]

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

    method getGroupPageNoFormatted [line 9107]

    +

    method getGroupPageNoFormatted [line 9217]

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

    method getHeaderData [line 2179]

    +

    method getHeaderData [line 2202]

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

    method getHeaderFont [line 6584]

    +

    method getHeaderFont [line 6691]

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

    method getHeaderMargin [line 2204]

    +

    method getHeaderMargin [line 2227]

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

    method getHtmlDomArray [line 10343]

    +

    method getHtmlDomArray [line 10599]

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

    method getHTMLUnitToUnits [line 12354]

    +

    method getHTMLUnitToUnits [line 12610]

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

    method getImageBuffer [line 12866]

    +

    method getImageBuffer [line 13122]

    @@ -8075,7 +8162,7 @@ $image)
    -

    method getImageRBX [line 2250]

    +

    method getImageRBX [line 2273]

    @@ -8100,7 +8187,7 @@ $image)
    -

    method getImageRBY [line 2259]

    +

    method getImageRBY [line 2282]

    @@ -8125,7 +8212,7 @@ $image)
    -

    method getImageScale [line 1609]

    +

    method getImageScale [line 1632]

    @@ -8159,7 +8246,7 @@ $image)
    -

    method getLastH [line 1587]

    +

    method getLastH [line 1610]

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

    method GetLineWidth [line 7248]

    +

    method GetLineWidth [line 7355]

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

    method getMargins [line 10240]

    +

    method getMargins [line 10496]

    @@ -8255,7 +8342,7 @@ $image)
    -

    method GetNumChars [line 2793]

    +

    method GetNumChars [line 2816]

    @@ -8297,7 +8384,7 @@ $s)
    -

    method getNumLines [line 3805]

    +

    method getNumLines [line 3828]

    @@ -8345,7 +8432,7 @@ $w = 0])
    -

    method getNumPages [line 2057]

    +

    method getNumPages [line 2080]

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

    method getObjFilename [line 12696]

    +

    method getObjFilename [line 12952]

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

    method getOriginalMargins [line 10263]

    +

    method getOriginalMargins [line 10519]

    @@ -8455,7 +8542,7 @@ $prefix)
    -

    method getPage [line 2045]

    +

    method getPage [line 2068]

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

    method getPageBuffer [line 12807]

    +

    method getPageBuffer [line 13063]

    @@ -8531,7 +8618,7 @@ $page)
    -

    method getPageDimensions [line 1622]

    +

    method getPageDimensions [line 1645]

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

    method getPageGroupAlias [line 9119]

    +

    method getPageGroupAlias [line 9229]

    @@ -8601,7 +8688,7 @@ $pagenum = ''])
    -

    method getPageHeight [line 1654]

    +

    method getPageHeight [line 1677]

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

    method getPageNumGroupAlias [line 9134]

    +

    method getPageNumGroupAlias [line 9244]

    @@ -8674,7 +8761,7 @@ $pagenum = ''])
    -

    method getPageWidth [line 1638]

    +

    method getPageWidth [line 1661]

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

    method getPDFData [line 6623]

    +

    method getPDFData [line 6730]

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

    method getRemainingWidth [line 4124]

    +

    method getRemainingWidth [line 4183]

    @@ -8775,7 +8862,7 @@ $pagenum = ''])
    -

    method getRTL [line 1550]

    +

    method getRTL [line 1573]

    @@ -8803,7 +8890,7 @@ $pagenum = ''])
    -

    method getScaleFactor [line 1684]

    +

    method getScaleFactor [line 1707]

    @@ -8837,7 +8924,7 @@ $pagenum = ''])
    -

    method GetStringWidth [line 2724]

    +

    method GetStringWidth [line 2747]

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

    method GetX [line 4676]

    +

    method GetX [line 4769]

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

    method GetY [line 4703]

    +

    method GetY [line 4796]

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

    method Gradient [line 9522]

    +

    method Gradient [line 9632]

    @@ -9022,7 +9109,7 @@ $coords)
    -

    method Header [line 2268]

    +

    method Header [line 2291]

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

    method Image [line 4211]

    +

    method Image [line 4304]

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

    method ImageEps [line 9694]

    +

    method ImageEps [line 9804]

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

    method ImagePngAlpha [line 4591]

    +

    method ImagePngAlpha [line 4684]

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

    method IncludeJS [line 8739]

    +

    method IncludeJS [line 8849]

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

    method intToRoman [line 12425]

    +

    method intToRoman [line 12681]

    @@ -9446,7 +9533,7 @@ $number)
    -

    method lastPage [line 2034]

    +

    method lastPage [line 2057]

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

    method Line [line 7398]

    +

    method Line [line 7505]

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

    method LinearGradient [line 9379]

    +

    method LinearGradient [line 9489]

    @@ -9632,7 +9719,7 @@ $coords = array(0,0,1,0)])
    -

    method Link [line 3088]

    +

    method Link [line 3111]

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

    method ListBox [line 8867]

    +

    method ListBox [line 8977]

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

    method Ln [line 4648]

    +

    method Ln [line 4741]

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

    method MirrorH [line 7022]

    +

    method MirrorH [line 7129]

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

    method MirrorL [line 7058]

    +

    method MirrorL [line 7165]

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

    method MirrorP [line 7045]

    +

    method MirrorP [line 7152]

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

    method MirrorV [line 7033]

    +

    method MirrorV [line 7140]

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

    method movePage [line 12942]

    +

    method movePage [line 13198]

    @@ -10046,7 +10133,7 @@ $topage)
    -

    method MultiCell [line 3570]

    +

    method MultiCell [line 3593]

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

    method objclone [line 13273]

    +

    method objclone [line 13529]

    @@ -10214,7 +10301,7 @@ $object)
    -

    method Open [line 1954]

    +

    method Open [line 1977]

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

    method openHTMLTagHandler [line 11561]

    +

    method openHTMLTagHandler [line 11817]

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

    method Output [line 4795]

    +

    method Output [line 4888]

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

    method PageNo [line 2444]

    +

    method PageNo [line 2467]

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

    method PageNoFormatted [line 9170]

    +

    method PageNoFormatted [line 9280]

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

    method PieSector [line 9616]

    +

    method PieSector [line 9726]

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

    method pixelsToUnits [line 6727]

    +

    method pixelsToUnits [line 6834]

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

    method Polycurve [line 7588]

    +

    method Polycurve [line 7695]

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

    method Polygon [line 7781]

    +

    method Polygon [line 7888]

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

    method putHtmlListBullet [line 12490]

    +

    method putHtmlListBullet [line 12746]

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

    method RadialGradient [line 9397]

    +

    method RadialGradient [line 9507]

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

    method RadioButton [line 8849]

    +

    method RadioButton [line 8959]

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

    method readDiskCache [line 12736]

    +

    method readDiskCache [line 12992]

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

    method Rect [line 7433]

    +

    method Rect [line 7540]

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

    method RegularPolygon [line 7880]

    +

    method RegularPolygon [line 7987]

    @@ -11096,7 +11183,7 @@ $r:)
    -

    method removeSHY [line 3300]

    +

    method removeSHY [line 3323]

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

    method rfread [line 4564]

    +

    method rfread [line 4657]

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

    method rollbackTransaction [line 13251]

    +

    method rollbackTransaction [line 13507]

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

    method Rotate [line 7117]

    +

    method Rotate [line 7224]

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

    method RoundedRect [line 7984]

    +

    method RoundedRect [line 8091]

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

    method Scale [line 6987]

    +

    method Scale [line 7094]

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

    method ScaleX [line 6947]

    +

    method ScaleX [line 7054]

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

    method ScaleXY [line 6973]

    +

    method ScaleXY [line 7080]

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

    method ScaleY [line 6960]

    +

    method ScaleY [line 7067]

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

    method setAlpha [line 9279]

    +

    method setAlpha [line 9389]

    @@ -11630,7 +11717,7 @@ $bm = 'Normal'])
    -

    method SetAuthor [line 1903]

    +

    method SetAuthor [line 1926]

    @@ -11672,7 +11759,7 @@ $author)
    -

    method SetAutoPageBreak [line 1770]

    +

    method SetAutoPageBreak [line 1793]

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

    method setBarcode [line 9957]

    +

    method setBarcode [line 10067]

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

    method SetBooklet [line 12268]

    +

    method SetBooklet [line 12524]

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

    method setBuffer [line 12746]

    +

    method setBuffer [line 13002]

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

    method setCellHeightRatio [line 9313]

    +

    method setCellHeightRatio [line 9423]

    @@ -11882,7 +11969,7 @@ $h)
    -

    method SetCellPadding [line 1758]

    +

    method SetCellPadding [line 1781]

    @@ -11924,7 +12011,7 @@ $pad)
    -

    method SetCompression [line 1863]

    +

    method SetCompression [line 1886]

    @@ -11963,7 +12050,7 @@ $compress)
    -

    method SetCreator [line 1927]

    +

    method SetCreator [line 1950]

    @@ -12005,7 +12092,7 @@ $creator)
    -

    method SetDefaultMonospacedFont [line 3038]

    +

    method SetDefaultMonospacedFont [line 3061]

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

    method setDefaultTableColumns [line 9303]

    +

    method setDefaultTableColumns [line 9413]

    @@ -12080,7 +12167,7 @@ $cols = 4])
    -

    method SetDisplayMode [line 1785]

    +

    method SetDisplayMode [line 1808]

    @@ -12131,7 +12218,7 @@ $mode = 'UseNone'])
    -

    method SetDrawColor [line 2499]

    +

    method SetDrawColor [line 2522]

    @@ -12191,7 +12278,7 @@ $col4 = -1])
    -

    method SetDrawColorArray [line 2476]

    +

    method SetDrawColorArray [line 2499]

    @@ -12233,7 +12320,7 @@ $color)
    -

    method SetDrawSpotColor [line 2537]

    +

    method SetDrawSpotColor [line 2560]

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

    method setExtGState [line 9248]

    +

    method setExtGState [line 9358]

    @@ -12317,7 +12404,7 @@ $gs)
    -

    method SetFillColor [line 2579]

    +

    method SetFillColor [line 2602]

    @@ -12377,7 +12464,7 @@ $col4 = -1])
    -

    method SetFillColorArray [line 2556]

    +

    method SetFillColorArray [line 2579]

    @@ -12419,7 +12506,7 @@ $color)
    -

    method SetFillSpotColor [line 2621]

    +

    method SetFillSpotColor [line 2644]

    @@ -12467,7 +12554,7 @@ $tint = 100])
    -

    method SetFont [line 2993]

    +

    method SetFont [line 3016]

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

    method setFontBuffer [line 12882]

    +

    method setFontBuffer [line 13138]

    @@ -12572,7 +12659,7 @@ $data)
    -

    method SetFontSize [line 3013]

    +

    method SetFontSize [line 3036]

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

    method setFontSubBuffer [line 12904]

    +

    method setFontSubBuffer [line 13160]

    @@ -12665,7 +12752,7 @@ $data)
    -

    method setFooter [line 2376]

    +

    method setFooter [line 2399]

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

    method setFooterFont [line 6594]

    +

    method setFooterFont [line 6701]

    @@ -12732,7 +12819,7 @@ $font)
    -

    method setFooterMargin [line 2214]

    +

    method setFooterMargin [line 2237]

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

    method setGraphicVars [line 12663]

    +

    method setGraphicVars [line 12919]

    @@ -12807,7 +12894,7 @@ $gvars)
    -

    method setHeader [line 2345]

    +

    method setHeader [line 2368]

    @@ -12835,7 +12922,7 @@ $gvars)
    -

    method setHeaderData [line 2165]

    +

    method setHeaderData [line 2188]

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

    method setHeaderFont [line 6574]

    +

    method setHeaderFont [line 6681]

    @@ -12928,7 +13015,7 @@ $font)
    -

    method setHeaderMargin [line 2194]

    +

    method setHeaderMargin [line 2217]

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

    method setHtmlLinksStyle [line 12339]

    +

    method setHtmlLinksStyle [line 12595]

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

    method setHtmlVSpace [line 12308]

    +

    method setHtmlVSpace [line 12564]

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

    method setImageBuffer [line 12823]

    +

    method setImageBuffer [line 13079]

    @@ -13093,7 +13180,7 @@ $data)
    -

    method setImageScale [line 1598]

    +

    method setImageScale [line 1621]

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

    method setImageSubBuffer [line 12846]

    +

    method setImageSubBuffer [line 13102]

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

    method setJPEGQuality [line 9290]

    +

    method setJPEGQuality [line 9400]

    @@ -13222,7 +13309,7 @@ $quality)
    -

    method SetKeywords [line 1915]

    +

    method SetKeywords [line 1938]

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

    method setLanguageArray [line 6614]

    +

    method setLanguageArray [line 6721]

    @@ -13303,7 +13390,7 @@ $language)
    -

    method setLastH [line 1577]

    +

    method setLastH [line 1600]

    @@ -13345,7 +13432,7 @@ $h)
    -

    method SetLeftMargin [line 1714]

    +

    method SetLeftMargin [line 1737]

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

    method SetLineStyle [line 7273]

    +

    method SetLineStyle [line 7380]

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

    method SetLineWidth [line 7234]

    +

    method SetLineWidth [line 7341]

    @@ -13475,7 +13562,7 @@ $width)
    -

    method SetLink [line 3065]

    +

    method SetLink [line 3088]

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

    method setListIndentWidth [line 12318]

    +

    method setListIndentWidth [line 12574]

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

    method setLIsymbol [line 12228]

    +

    method setLIsymbol [line 12484]

    @@ -13607,7 +13694,7 @@ $symbol = '!'])
    -

    method SetMargins [line 1697]

    +

    method SetMargins [line 1720]

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

    method setOpenCell [line 12328]

    +

    method setOpenCell [line 12584]

    @@ -13700,7 +13787,7 @@ $isopen)
    -

    method setPage [line 1990]

    +

    method setPage [line 2013]

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

    method setPageBuffer [line 12780]

    +

    method setPageBuffer [line 13036]

    @@ -13799,7 +13886,7 @@ $append = false])
    -

    method setPageFormat [line 1425]

    +

    method setPageFormat [line 1448]

    @@ -13844,7 +13931,7 @@ $orientation = 'P'])
    -

    method setPageMark [line 2153]

    +

    method setPageMark [line 2176]

    @@ -13872,7 +13959,7 @@ $orientation = 'P'])
    -

    method setPageOrientation [line 1498]

    +

    method setPageOrientation [line 1521]

    @@ -13923,7 +14010,7 @@ $bottommargin = ''])
    -

    method setPageUnit [line 1383]

    +

    method setPageUnit [line 1406]

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

    method setPDFVersion [line 9332]

    +

    method setPDFVersion [line 9442]

    @@ -13998,7 +14085,7 @@ $version = '1.7'])
    -

    method setPrintFooter [line 2241]

    +

    method setPrintFooter [line 2264]

    @@ -14040,7 +14127,7 @@ $value)
    -

    method setPrintHeader [line 2232]

    +

    method setPrintHeader [line 2255]

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

    method SetProtection [line 6890]

    +

    method SetProtection [line 6997]

    @@ -14130,7 +14217,7 @@ $owner_pass = null])
    -

    method SetRightMargin [line 1744]

    +

    method SetRightMargin [line 1767]

    @@ -14172,7 +14259,7 @@ $margin)
    -

    method setRTL [line 1539]

    +

    method setRTL [line 1562]

    @@ -14211,7 +14298,7 @@ $enable)
    -

    method SetSubject [line 1891]

    +

    method SetSubject [line 1914]

    @@ -14253,7 +14340,7 @@ $subject)
    -

    method setTableHeader [line 2418]

    +

    method setTableHeader [line 2441]

    @@ -14281,7 +14368,7 @@ $subject)
    -

    method setTempRTL [line 1560]

    +

    method setTempRTL [line 1583]

    @@ -14320,7 +14407,7 @@ $mode)
    -

    method SetTextColor [line 2663]

    +

    method SetTextColor [line 2686]

    @@ -14380,7 +14467,7 @@ $col4 = -1])
    -

    method SetTextColorArray [line 2640]

    +

    method SetTextColorArray [line 2663]

    @@ -14422,7 +14509,7 @@ $color)
    -

    method SetTextSpotColor [line 2702]

    +

    method SetTextSpotColor [line 2725]

    @@ -14470,7 +14557,7 @@ $tint = 100])
    -

    method SetTitle [line 1879]

    +

    method SetTitle [line 1902]

    @@ -14512,7 +14599,7 @@ $title)
    -

    method SetTopMargin [line 1729]

    +

    method SetTopMargin [line 1752]

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

    method setUserRights [line 9009]

    +

    method setUserRights [line 9119]

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

    method setViewerPreferences [line 9362]

    +

    method setViewerPreferences [line 9472]

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

    method setVisibility [line 9200]

    +

    method setVisibility [line 9310]

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

    method SetX [line 4716]

    +

    method SetX [line 4809]

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

    method SetXY [line 4779]

    +

    method SetXY [line 4872]

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

    method SetY [line 4748]

    +

    method SetY [line 4841]

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

    method Skew [line 7177]

    +

    method Skew [line 7284]

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

    method SkewX [line 7150]

    +

    method SkewX [line 7257]

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

    method SkewY [line 7163]

    +

    method SkewY [line 7270]

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

    method StarPolygon [line 7935]

    +

    method StarPolygon [line 8042]

    @@ -15116,7 +15203,7 @@ $draw_circle:)
    -

    method startPage [line 2113]

    +

    method startPage [line 2136]

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

    method startPageGroup [line 9029]

    +

    method startPageGroup [line 9139]

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

    method startTransaction [line 13224]

    +

    method startTransaction [line 13480]

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

    method StartTransform [line 6918]

    +

    method StartTransform [line 7025]

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

    method StopTransform [line 6931]

    +

    method StopTransform [line 7038]

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

    method swapMargins [line 12284]

    +

    method swapMargins [line 12540]

    @@ -15329,7 +15416,7 @@ $reverse = true])
    -

    method Text [line 3189]

    +

    method Text [line 3212]

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

    method TextField [line 8836]

    +

    method TextField [line 8946]

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

    method Transform [line 7210]

    +

    method Transform [line 7317]

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

    method Translate [line 7093]

    +

    method Translate [line 7200]

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

    method TranslateX [line 7070]

    +

    method TranslateX [line 7177]

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

    method TranslateY [line 7081]

    +

    method TranslateY [line 7188]

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

    method unhtmlentities [line 6738]

    +

    method unhtmlentities [line 6845]

    @@ -15663,9 +15750,63 @@ $text_to_convert)
    [ Top ]
    +
    + +

    method UniArrSubString [line 4222]

    +
    +
    +
    + Return UniArrSubString( +string +$uniarr, [int +$start = ''], [int +$end = '']) +
    +

    + + Extract a slice of the $uniarr array and return it as string.



    +

    Tags:

    +
    + + + + + + + + + + +
    return:  part of a string
    since:  4.5.037 (2009-04-07)
    access:  public
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + + + + + + +
    string  $uniarr  The input array of characters.
    int  $start  the starting element of $strarr.
    int  $end  first element that will not be returned.
    +

    +
    [ Top ]
    +

    -

    method unichr [line 4162]

    +

    method unichr [line 4255]

    @@ -15708,9 +15849,51 @@ $c)
    [ Top ]
    +
    + +

    method UTF8ArrayToUniArray [line 4243]

    +
    +
    +
    + Return UTF8ArrayToUniArray( +string +$ta) +
    +

    + + Convert an array of UTF8 values to array of unicode characters



    +

    Tags:

    +
    + + + + + + + + + + +
    return:  array of unicode characters
    since:  4.5.037 (2009-04-07)
    access:  public
    +
    +

    + + +

    Parameters:

    +
    + + + + + + +
    string  $ta  The input array of UTF8 values.
    +

    +
    [ Top ]
    +

    -

    method UTF8ArrSubString [line 4140]

    +

    method UTF8ArrSubString [line 4199]

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

    method UTF8StringToArray [line 6390]

    +

    method UTF8StringToArray [line 6483]

    @@ -15761,13 +15944,14 @@ $end = ''])
    -

    method utf8Bidi [line 8082]

    +

    method utf8Bidi [line 8190]

    string utf8Bidi( array -$ta, [bool +$ta, [string +$str = ''], [bool $forcertl = false])

    @@ -15797,6 +15981,11 @@ $forcertl = false])
    array   $ta   array of characters composing the string.
    string  $str  string to process
    bool  
    @@ -15875,7 +16064,7 @@ $str)
    -

    method utf8StrRev [line 8069]

    +

    method utf8StrRev [line 8176]

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

    method UTF8ToLatin1 [line 6483]

    +

    method UTF8ToLatin1 [line 6590]

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

    method UTF8ToUTF16BE [line 6467]

    +

    method UTF8ToUTF16BE [line 6574]

    @@ -16022,7 +16211,7 @@ $setbom = true])
    -

    method Write [line 3844]

    +

    method Write [line 3867]

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

    method write1DBarcode [line 9986]

    +

    method write1DBarcode [line 10096]

    @@ -16136,7 +16325,7 @@ $align = ''])

    - Print Barcode.



    + Print 1D Barcode.



    Tags:

    @@ -16185,7 +16374,7 @@ $align = '']) - + @@ -16200,7 +16389,91 @@ $align = '']) - + + +
    int   $h  height position in user unitsheight in user units
    float  
    string   $align  Indicates the alignment of the pointer next to image insertion relative to image height. The value can be:
    • T: top-right for LTR or top-left for RTL
    • M: middle-right for LTR or middle-left for RTL
    • B: bottom-right for LTR or bottom-left for RTL
    • N: next line
    Indicates the alignment of the pointer next to barcode insertion relative to barcode height. The value can be:
    • T: top-right for LTR or top-left for RTL
    • M: middle-right for LTR or middle-left for RTL
    • B: bottom-right for LTR or bottom-left for RTL
    • N: next line
    +

    +
    [ Top ]
    +
    +
    + +

    method write2DBarcode [line 10349]

    +
    +
    +
    + void write2DBarcode( +string +$code, string +$type, [int +$x = ''], [int +$y = ''], [int +$w = ''], [int +$h = ''], [array +$style = ''], [string +$align = '']) +
    +

    + + Print 2D Barcode.



    +

    Tags:

    +
    + + + + + + + + + + +
    author:  Nicola Asuni
    since:  4.5.037 (2009-04-07)
    access:  public
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    string  $code  code to print
    string  $type  type of barcode.
    int  $x  x position in user units
    int  $y  y position in user units
    int  $w  width in user units
    int  $h  height in user units
    array  $style  array of options:
    • boolean $style['border'] if true prints a border around the barcode
    • int $style['padding'] padding to leave around the barcode in user units
    • array $style['fgcolor'] color array for bars and text
    • mixed $style['bgcolor'] color array for background or false for transparent
    string  $align  Indicates the alignment of the pointer next to barcode insertion relative to barcode height. The value can be:
    • T: top-right for LTR or top-left for RTL
    • M: middle-right for LTR or middle-left for RTL
    • B: bottom-right for LTR or bottom-left for RTL
    • N: next line

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

    -

    method writeBarcode [line 10189]

    +

    method writeBarcode [line 10299]

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

    method writeDiskCache [line 12708]

    +

    method writeDiskCache [line 12964]

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

    method writeHTML [line 10748]

    +

    method writeHTML [line 11004]

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

    method writeHTMLCell [line 10331]

    +

    method writeHTMLCell [line 10587]

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

    method _addfield [line 8801]

    +

    method _addfield [line 8911]

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

    method _beginpage [line 6173]

    +

    method _beginpage [line 6266]

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

    method _datastring [line 6283]

    +

    method _datastring [line 6376]

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

    method _destroy [line 4889]

    +

    method _destroy [line 4982]

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

    method _dochecks [line 4907]

    +

    method _dochecks [line 5000]

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

    method _dolinethrough [line 6248]

    +

    method _dolinethrough [line 6341]

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

    method _dounderline [line 6234]

    +

    method _dounderline [line 6327]

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

    method _enddoc [line 6117]

    +

    method _enddoc [line 6210]

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

    method _endpage [line 6212]

    +

    method _endpage [line 6305]

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

    method _escape [line 6272]

    +

    method _escape [line 6365]

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

    method _escapetext [line 6310]

    +

    method _escapetext [line 6403]

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

    method _freadint [line 6261]

    +

    method _freadint [line 6354]

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

    method _generateencryptionkey [line 6858]

    +

    method _generateencryptionkey [line 6965]

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

    method _getfontpath [line 4923]

    +

    method _getfontpath [line 5016]

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

    method _JScolor [line 8777]

    +

    method _JScolor [line 8887]

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

    method _md5_16 [line 6819]

    +

    method _md5_16 [line 6926]

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

    method _newobj [line 6221]

    +

    method _newobj [line 6314]

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

    method _objectkey [line 6751]

    +

    method _objectkey [line 6858]

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

    method _out [line 6341]

    +

    method _out [line 6434]

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

    method _outarc [line 9596]

    +

    method _outarc [line 9706]

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

    method _outCurve [line 7378]

    +

    method _outCurve [line 7485]

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

    method _outLine [line 7342]

    +

    method _outLine [line 7449]

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

    method _outPoint [line 7328]

    +

    method _outPoint [line 7435]

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

    method _outRect [line 7359]

    +

    method _outRect [line 7466]

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

    method _Ovalue [line 6832]

    +

    method _Ovalue [line 6939]

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

    method _parsejpeg [line 4434]

    +

    method _parsejpeg [line 4527]

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

    method _parsepng [line 4460]

    +

    method _parsepng [line 4553]

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

    method _putannots [line 5079]

    +

    method _putannots [line 5172]

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

    method _putbookmarks [line 8675]

    +

    method _putbookmarks [line 8785]

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

    method _putcatalog [line 5981]

    +

    method _putcatalog [line 6074]

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

    method _putcidfont0 [line 5737]

    +

    method _putcidfont0 [line 5830]

    @@ -17817,7 +18090,7 @@ $font)
    -

    method _putEmbeddedFiles [line 3158]

    +

    method _putEmbeddedFiles [line 3181]

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

    method _putencryption [line 6760]

    +

    method _putencryption [line 6867]

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

    method _putextgstates [line 9258]

    +

    method _putextgstates [line 9368]

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

    method _putfonts [line 5427]

    +

    method _putfonts [line 5520]

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

    method _putfontwidths [line 5554]

    +

    method _putfontwidths [line 5647]

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

    method _putheader [line 6109]

    +

    method _putheader [line 6202]

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

    method _putimages [line 5797]

    +

    method _putimages [line 5890]

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

    method _putinfo [line 5954]

    +

    method _putinfo [line 6047]

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

    method _putjavascript [line 8749]

    +

    method _putjavascript [line 8859]

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

    method _putocg [line 9179]

    +

    method _putocg [line 9289]

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

    method _putpages [line 4934]

    +

    method _putpages [line 5027]

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

    method _putresourcedict [line 5880]

    +

    method _putresourcedict [line 5973]

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

    method _putresources [line 5921]

    +

    method _putresources [line 6014]

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

    method _putshaders [line 9546]

    +

    method _putshaders [line 9656]

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

    method _putspotcolors [line 5852]

    +

    method _putspotcolors [line 5945]

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

    method _putstream [line 6327]

    +

    method _putstream [line 6420]

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

    method _puttrailer [line 6095]

    +

    method _puttrailer [line 6188]

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

    method _puttruetypeunicode [line 5652]

    +

    method _puttruetypeunicode [line 5745]

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

    method _putuserrights [line 8953]

    +

    method _putuserrights [line 9063]

    diff --git a/tcpdf.php b/tcpdf.php index 433bcbe..93959b6 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -2,9 +2,9 @@ //============================================================+ // File name : tcpdf.php // Begin : 2002-08-03 -// Last Update : 2009-04-03 +// Last Update : 2009-04-07 // Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org -// Version : 4.5.036 +// Version : 4.5.037 // 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.036 + * @version 4.5.037 */ /** @@ -146,14 +146,14 @@ if (!class_exists('TCPDF', false)) { /** * define default PDF document producer */ - define('PDF_PRODUCER', 'TCPDF 4.5.036 (http://www.tcpdf.org)'); + define('PDF_PRODUCER', 'TCPDF 4.5.037 (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.036 + * @version 4.5.037 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -1239,7 +1239,30 @@ if (!class_exists('TCPDF', false)) { * @access protected * @since 4.5.030 (2009-03-20) */ - protected $theadMargin = ''; + protected $theadMargin = ''; + + /** + * Cache array for UTF8StringToArray() method. + * @access protected + * @since 4.5.037 (2009-04-07) + */ + protected $cache_UTF8StringToArray = array(); + + /** + * Maximum size of cache array used for UTF8StringToArray() method. + * @access protected + * @since 4.5.037 (2009-04-07) + */ + protected $cache_maxsize_UTF8StringToArray = 8; + + /** + * Current size of cache array used for UTF8StringToArray() method. + * @access protected + * @since 4.5.037 (2009-04-07) + */ + protected $cache_size_UTF8StringToArray = 0; + + //------------------------------------------------------------ // METHODS //------------------------------------------------------------ @@ -1355,7 +1378,7 @@ if (!class_exists('TCPDF', false)) { // set default JPEG quality $this->jpeg_quality = 75; // initialize some settings - $this->utf8Bidi(array('')); + $this->utf8Bidi(array(''), ''); // set default font $this->SetFont($this->FontFamily, $this->FontStyle, $this->FontSizePt); } @@ -2722,7 +2745,7 @@ if (!class_exists('TCPDF', false)) { * @since 1.2 */ public function GetStringWidth($s, $fontname='', $fontstyle='', $fontsize=0) { - return $this->GetArrStringWidth($this->utf8Bidi($this->UTF8StringToArray($s), $this->tmprtl), $fontname, $fontstyle, $fontsize); + return $this->GetArrStringWidth($this->utf8Bidi($this->UTF8StringToArray($s), $s, $this->tmprtl), $fontname, $fontstyle, $fontsize); } /** @@ -3190,7 +3213,7 @@ if (!class_exists('TCPDF', false)) { //Output a string if ($this->rtl) { // bidirectional algorithm (some chars may be changed affecting the line length) - $s = $this->utf8Bidi($this->UTF8StringToArray($txt), $this->tmprtl); + $s = $this->utf8Bidi($this->UTF8StringToArray($txt), $txt, $this->tmprtl); $l = $this->GetArrStringWidth($s); $xr = $this->w - $x - $this->GetArrStringWidth($s); } else { @@ -3850,10 +3873,18 @@ if (!class_exists('TCPDF', false)) { } else { $arabic = false; } + // check if string contains RTL text + if ($arabic OR $this->tmprtl OR preg_match(K_RE_PATTERN_RTL, $txt)) { + $rtlmode = true; + } else { + $rtlmode = false; + } // get a char width $chrwidth = $this->GetCharWidth('.'); - // get array of chars - $chars = $this->UTF8StringToArray($s); + // get array of unicode values + $chars = $this->UTF8StringToArray($s); + // get array of chars + $uchars = $this->UTF8ArrayToUniArray($chars); // get the number of characters $nb = count($chars); // handle single space character @@ -3907,10 +3938,16 @@ if (!class_exists('TCPDF', false)) { } } else { $talign = $align; - } + } + $tmpstr = $this->UniArrSubString($uchars, $j, $i); if ($firstline) { - $startx = $this->x; - $linew = $this->GetArrStringWidth($this->utf8Bidi(array_slice($chars, $j, $i), $this->tmprtl)); + $startx = $this->x; + $tmparr = array_slice($chars, $j, $i); + if ($rtlmode) { + $tmparr = $this->utf8Bidi($tmparr, $tmpstr, $this->tmprtl); + } + $linew = $this->GetArrStringWidth($tmparr); + unset($tmparr); if ($this->rtl) { $this->endlinex = $startx - $linew; } else { @@ -3922,10 +3959,11 @@ if (!class_exists('TCPDF', false)) { $this->cMargin = 0; } } - $this->Cell($w, $h, $this->UTF8ArrSubString($chars, $j, $i), 0, 1, $talign, $fill, $link, $stretch); + $this->Cell($w, $h, $tmpstr, 0, 1, $talign, $fill, $link, $stretch); + unset($tmpstr); if ($firstline) { $this->cMargin = $tmpcmargin; - return ($this->UTF8ArrSubString($chars, $i)); + return ($this->UniArrSubString($uchars, $i)); } ++$nl; $j = $i + 1; @@ -3955,7 +3993,7 @@ if (!class_exists('TCPDF', false)) { if ((($this->CurrentFont['type'] == 'TrueTypeUnicode') OR ($this->CurrentFont['type'] == 'cidfont0')) AND ($arabic)) { // with bidirectional algorithm some chars may be changed affecting the line length // *** very slow *** - $l = $this->GetArrStringWidth($this->utf8Bidi(array_slice($chars, $j, $i-$j+1), $this->tmprtl)); + $l = $this->GetArrStringWidth($this->utf8Bidi(array_slice($chars, $j, $i-$j+1), '', $this->tmprtl)); } else { $l += $this->GetCharWidth($c); } @@ -3969,13 +4007,19 @@ if (!class_exists('TCPDF', false)) { $this->Cell($w, $h, '', 0, 1); $linebreak = true; if ($firstline) { - return ($this->UTF8ArrSubString($chars, $j)); + return ($this->UniArrSubString($uchars, $j)); } } else { - // truncate the word because do not fit on column + // truncate the word because do not fit on column + $tmpstr = $this->UniArrSubString($uchars, $j, $i); if ($firstline) { - $startx = $this->x; - $linew = $this->GetArrStringWidth($this->utf8Bidi(array_slice($chars, $j, $i), $this->tmprtl)); + $startx = $this->x; + $tmparr = array_slice($chars, $j, $i); + if ($rtlmode) { + $tmparr = $this->utf8Bidi($tmparr, $tmpstr, $this->tmprtl); + } + $linew = $this->GetArrStringWidth($tmparr); + unset($tmparr); if ($this->rtl) { $this->endlinex = $startx - $linew; } else { @@ -3987,10 +4031,11 @@ if (!class_exists('TCPDF', false)) { $this->cMargin = 0; } } - $this->Cell($w, $h, $this->UTF8ArrSubString($chars, $j, $i), 0, 1, $align, $fill, $link, $stretch); + $this->Cell($w, $h, $tmpstr, 0, 1, $align, $fill, $link, $stretch); + unset($tmpstr); if ($firstline) { $this->cMargin = $tmpcmargin; - return ($this->UTF8ArrSubString($chars, $i)); + return ($this->UniArrSubString($uchars, $i)); } $j = $i; --$i; @@ -4016,10 +4061,16 @@ if (!class_exists('TCPDF', false)) { $shy_width = 0; $shy_char_left = ''; $shy_char_right = ''; - } + } + $tmpstr = $this->UniArrSubString($uchars, $j, ($sep + $endspace)); if ($firstline) { - $startx = $this->x; - $linew = $this->GetArrStringWidth($this->utf8Bidi(array_slice($chars, $j, ($sep + $endspace)), $this->tmprtl)); + $startx = $this->x; + $tmparr = array_slice($chars, $j, ($sep + $endspace)); + if ($rtlmode) { + $tmparr = $this->utf8Bidi($tmparr, $tmpstr, $this->tmprtl); + } + $linew = $this->GetArrStringWidth($tmparr); + unset($tmparr); if ($this->rtl) { $this->endlinex = $startx - $linew - $shy_width; } else { @@ -4032,11 +4083,12 @@ if (!class_exists('TCPDF', false)) { } } // print the line - $this->Cell($w, $h, $shy_char_left.$this->UTF8ArrSubString($chars, $j, ($sep + $endspace)).$shy_char_right, 0, 1, $align, $fill, $link, $stretch); + $this->Cell($w, $h, $shy_char_left.$tmpstr.$shy_char_right, 0, 1, $align, $fill, $link, $stretch); + unset($tmpstr); if ($firstline) { // return the remaining text $this->cMargin = $tmpcmargin; - return ($this->UTF8ArrSubString($chars, ($sep + $endspace))); + return ($this->UniArrSubString($uchars, ($sep + $endspace))); } $i = $sep; $sep = -1; @@ -4088,10 +4140,16 @@ if (!class_exists('TCPDF', false)) { $w = $l; break; } - } + } + $tmpstr = $this->UniArrSubString($uchars, $j, $nb); if ($firstline) { - $startx = $this->x; - $linew = $this->GetArrStringWidth($this->utf8Bidi(array_slice($chars, $j, $nb), $this->tmprtl)); + $startx = $this->x; + $tmparr = array_slice($chars, $j, $nb); + if ($rtlmode) { + $tmparr = $this->utf8Bidi($tmparr, $tmpstr, $this->tmprtl); + } + $linew = $this->GetArrStringWidth($tmparr); + unset($tmparr); if ($this->rtl) { $this->endlinex = $startx - $linew; } else { @@ -4103,10 +4161,11 @@ if (!class_exists('TCPDF', false)) { $this->cMargin = 0; } } - $this->Cell($w, $h, $this->UTF8ArrSubString($chars, $j, $nb), 0, $ln, $align, $fill, $link, $stretch); + $this->Cell($w, $h, $tmpstr, 0, $ln, $align, $fill, $link, $stretch); + unset($tmpstr); if ($firstline) { $this->cMargin = $tmpcmargin; - return ($this->UTF8ArrSubString($chars, $nb)); + return ($this->UniArrSubString($uchars, $nb)); } ++$nl; } @@ -4129,7 +4188,7 @@ if (!class_exists('TCPDF', false)) { } } - /** + /** * Extract a slice of the $strarr array and return it as string. * @param string $strarr The input array of characters. * @param int $start the starting element of $strarr. @@ -4150,6 +4209,40 @@ if (!class_exists('TCPDF', false)) { } return $string; } + + /** + * Extract a slice of the $uniarr array and return it as string. + * @param string $uniarr The input array of characters. + * @param int $start the starting element of $strarr. + * @param int $end first element that will not be returned. + * @return Return part of a string + * @access public + * @since 4.5.037 (2009-04-07) + */ + public function UniArrSubString($uniarr, $start='', $end='') { + if (strlen($start) == 0) { + $start = 0; + } + if (strlen($end) == 0) { + $end = count($uniarr); + } + $string = ''; + for ($i=$start; $i < $end; ++$i) { + $string .= $uniarr[$i]; + } + return $string; + } + + /** + * Convert an array of UTF8 values to array of unicode characters + * @param string $ta The input array of UTF8 values. + * @return Return array of unicode characters + * @access public + * @since 4.5.037 (2009-04-07) + */ + public function UTF8ArrayToUniArray($ta) { + return array_map(array($this, 'unichr'), $ta); + } /** * Returns the unicode caracter specified by UTF-8 code @@ -6388,13 +6481,25 @@ if (!class_exists('TCPDF', false)) { * @since 1.53.0.TC005 (2005-01-05) */ protected function UTF8StringToArray($str) { + if (isset($this->cache_UTF8StringToArray[$str])) { + // return cached value + return($this->cache_UTF8StringToArray[$str]); + } + // check cache size + if ($this->cache_size_UTF8StringToArray >= $this->cache_maxsize_UTF8StringToArray) { + // remove first element + array_shift($this->cache_UTF8StringToArray); + } + ++$this->cache_size_UTF8StringToArray; if (!$this->isunicode) { // split string into array of equivalent codes $strarr = array(); $strlen = strlen($str); for($i=0; $i < $strlen; ++$i) { $strarr[] = ord($str{$i}); - } + } + // insert new value on cache + $this->cache_UTF8StringToArray[$str] = $strarr; return $strarr; } $unicode = array(); // array containing unicode values @@ -6450,7 +6555,9 @@ if (!class_exists('TCPDF', false)) { $bytes = array(); $numbytes = 1; } - } + } + // insert new value on cache + $this->cache_UTF8StringToArray[$str] = $unicode; return $unicode; } @@ -8067,26 +8174,29 @@ if (!class_exists('TCPDF', false)) { * @since 2.1.000 (2008-01-08) */ protected function utf8StrRev($str, $setbom=false, $forcertl=false) { - return $this->arrUTF8ToUTF16BE($this->utf8Bidi($this->UTF8StringToArray($str), $forcertl), $setbom); + return $this->arrUTF8ToUTF16BE($this->utf8Bidi($this->UTF8StringToArray($str), $str, $forcertl), $setbom); } /** * Reverse the RLT substrings using the Bidirectional Algorithm (http://unicode.org/reports/tr9/). - * @param array $ta array of characters composing the string. + * @param array $ta array of characters composing the string. + * @param string $str string to process * @param bool $forcertl if 'R' forces RTL, if 'L' forces LTR * @return string * @author Nicola Asuni * @access protected * @since 2.4.000 (2008-03-06) */ - protected function utf8Bidi($ta, $forcertl=false) { + protected function utf8Bidi($ta, $str='', $forcertl=false) { global $unicode, $unicode_mirror, $unicode_arlet, $laa_array, $diacritics; // paragraph embedding level $pel = 0; // max level - $maxlevel = 0; - // create string from array - $str = $this->UTF8ArrSubString($ta); + $maxlevel = 0; + if (empty($str)) { + // create string from array + $str = $this->UTF8ArrSubString($ta); + } // check if string contains arabic text if (preg_match(K_RE_PATTERN_ARABIC, $str)) { $arabic = true; @@ -9969,16 +10079,16 @@ if (!class_exists('TCPDF', false)) { } /** - * Print Barcode. + * Print 1D Barcode. * @param string $code code to print * @param string $type type of barcode. * @param int $x x position in user units * @param int $y y position in user units * @param int $w width in user units - * @param int $h height position in user units + * @param int $h height in user units * @param float $xres width of the smallest bar in user units * @param array $style array of options:
    • string $style['position'] barcode position inside the specified width: L = left (default for LTR); C = center; R = right (default for RTL); S = stretch
    • boolean $style['border'] if true prints a border around the barcode
    • int $style['padding'] padding to leave around the barcode in user units
    • array $style['fgcolor'] color array for bars and text
    • mixed $style['bgcolor'] color array for background or false for transparent
    • boolean $style["text"] boolean if true prints text below the barcode
    • string $style['font'] font name for text
    • int $style['fontsize'] font size for text
    • int $style['stretchtext']: 0 = disabled; 1 = horizontal scaling only if necessary; 2 = forced horizontal scaling; 3 = character spacing only if necessary; 4 = forced character spacing
    - * @param string $align Indicates the alignment of the pointer next to image insertion relative to image height. The value can be:
    • T: top-right for LTR or top-left for RTL
    • M: middle-right for LTR or middle-left for RTL
    • B: bottom-right for LTR or bottom-left for RTL
    • N: next line
    + * @param string $align Indicates the alignment of the pointer next to barcode insertion relative to barcode height. The value can be:
    • T: top-right for LTR or top-left for RTL
    • M: middle-right for LTR or middle-left for RTL
    • B: bottom-right for LTR or bottom-left for RTL
    • N: next line
    * @author Nicola Asuni * @since 3.1.000 (2008-06-09) * @access public @@ -9991,10 +10101,10 @@ if (!class_exists('TCPDF', false)) { // save current graphic settings $gvars = $this->getGraphicVars(); // create new barcode object - $barcodeobj = new TCPDFbarcode($code, $type); + $barcodeobj = new TCPDFBarcode($code, $type); $arrcode = $barcodeobj->getBarcodeArray(); if ($arrcode === false) { - $this->Error('Error in barcode string'); + $this->Error('Error in 1D barcode string'); } // set default values if (!isset($style['position'])) { @@ -10117,9 +10227,9 @@ if (!class_exists('TCPDF', false)) { foreach ($arrcode['bcode'] as $k => $v) { $bw = ($v['w'] * $xres); if ($v['t']) { - // braw a vertical bar + // draw a vertical bar $ypos = $y + $style['padding'] + ($v['p'] * $barh / $arrcode['maxh']); - $this->Rect($xpos, $ypos, $bw, ($v['h'] * $barh / $arrcode['maxh']), 'DF', array('L'=>0, 'T'=>0, 'R'=>0, 'B'=>0), $style['fgcolor']); + $this->Rect($xpos, $ypos, $bw, ($v['h'] * $barh / $arrcode['maxh']), 'DF', array(), $style['fgcolor']); } $xpos += $bw; } @@ -10220,6 +10330,152 @@ if (!class_exists('TCPDF', false)) { $newstyle['stretchtext'] = 4; } $this->write1DBarcode($code, $type, $x, $y, $w, $h, $xres, $newstyle, ''); + } + + /** + * Print 2D Barcode. + * @param string $code code to print + * @param string $type type of barcode. + * @param int $x x position in user units + * @param int $y y position in user units + * @param int $w width in user units + * @param int $h height in user units + * @param array $style array of options:
    • boolean $style['border'] if true prints a border around the barcode
    • int $style['padding'] padding to leave around the barcode in user units
    • array $style['fgcolor'] color array for bars and text
    • mixed $style['bgcolor'] color array for background or false for transparent
    + * @param string $align Indicates the alignment of the pointer next to barcode insertion relative to barcode height. The value can be:
    • T: top-right for LTR or top-left for RTL
    • M: middle-right for LTR or middle-left for RTL
    • B: bottom-right for LTR or bottom-left for RTL
    • N: next line
    + * @author Nicola Asuni + * @since 4.5.037 (2009-04-07) + * @access public + */ + public function write2DBarcode($code, $type, $x='', $y='', $w='', $h='', $style='', $align='') { + if (empty($code)) { + return; + } + require_once(dirname(__FILE__).'/2dbarcodes.php'); + // save current graphic settings + $gvars = $this->getGraphicVars(); + // create new barcode object + $barcodeobj = new TCPDF2DBarcode($code, $type); + $arrcode = $barcodeobj->getBarcodeArray(); + if ($arrcode === false) { + $this->Error('Error in 2D barcode string'); + } + // set default values + if (!isset($style['padding'])) { + $style['padding'] = 0; + } + if (!isset($style['fgcolor'])) { + $style['fgcolor'] = array(0,0,0); // default black + } + if (!isset($style['bgcolor'])) { + $style['bgcolor'] = false; // default transparent + } + if (!isset($style['border'])) { + $style['border'] = false; + } + // set foreground color + $this->SetDrawColorArray($style['fgcolor']); + if (empty($x)) { + $x = $this->GetX(); + } + if ($this->rtl) { + $x = $this->w - $x; + } + if (empty($y)) { + $y = $this->GetY(); + } + if (empty($w) OR ($w <= 0)) { + if ($this->rtl) { + $w = $x - $this->lMargin; + } else { + $w = $this->w - $this->rMargin - $x; + } + } + if (empty($h) OR ($h <= 0)) { + // 2d barcodes are square by default + $h = $w; + } + if ($this->checkPageBreak($h)) { + $y = $this->y; + } + // calculate barcode size (excluding padding) + $bw = $w - (2 * $style['padding']); + $bh = $h - (2 * $style['padding']); + // calculate starting coordinates + if ($this->rtl) { + $xpos = $x - $w; + } else { + $xpos = $x; + } + $xpos += $style['padding']; + $ypos = $y + $style['padding']; + // barcode is always printed in LTR direction + $tempRTL = $this->rtl; + $this->rtl = false; + // print background color + if ($style['bgcolor']) { + $this->Rect($x, $y, $w, $h, 'DF', '', $style['bgcolor']); + } elseif ($style['border']) { + $this->Rect($x, $y, $w, $h, 'D'); + } + // print barcode cells + if ($arrcode !== false) { + $rows = $arrcode['num_rows']; + $cols = $arrcode['num_cols']; + // calculate dimension of single barcode cell + $cw = $bw / $cols; + $ch = $bh / $rows; + // for each row + for ($r = 0; $r < $rows; ++$r) { + $xr = $xpos; + // for each column + for ($c = 0; $c < $cols; ++$c) { + if ($arrcode['bcode'][$r][$c] == 1) { + // draw a single barcode cell + $this->Rect($xr, $ypos, $cw, $ch, 'DF', array(), $style['fgcolor']); + } + $xr += $cw; + } + $ypos += $ch; + } + } + // restore original direction + $this->rtl = $tempRTL; + // restore previous settings + $this->setGraphicVars($gvars); + // set bottomcoordinates + $this->img_rb_y = $y + $h; + if ($this->rtl) { + // set left side coordinate + $this->img_rb_x = ($this->w - $x - $w); + } else { + // set right side coordinate + $this->img_rb_x = $x + $w; + } + // set pointer to align the successive text/objects + switch($align) { + case 'T':{ + $this->y = $y; + $this->x = $this->img_rb_x; + break; + } + case 'M':{ + $this->y = $y + round($h/2); + $this->x = $this->img_rb_x; + break; + } + case 'B':{ + $this->y = $this->img_rb_y; + $this->x = $this->img_rb_x; + break; + } + case 'N':{ + $this->SetY($this->img_rb_y); + break; + } + default:{ + break; + } + } } /**
    diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index a99db6a..b4bd8d1 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 Fri, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:56 +0200 by phpDocumentor 1.4.1
    @@ -18361,7 +18634,7 @@ $font)
    -

    method _putviewerpreferences [line 6025]

    +

    method _putviewerpreferences [line 6118]

    diff --git a/doc/index.html b/doc/index.html index a99db6a..b4bd8d1 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 Fri, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:56 +0200 by phpDocumentor 1.4.1
    diff --git a/doc/errors.html b/doc/errors.html index 29c8c6b..a8d36bd 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

    - Documentation generated on Fri, 03 Apr 2009 12:04:35 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:29:02 +0200 by phpDocumentor 1.4.1
    @@ -18392,7 +18665,7 @@ $font)
    -

    method _putxobjectdict [line 5869]

    +

    method _putxobjectdict [line 5962]

    diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index 87eed33..963483b 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -296,6 +296,12 @@
    $cache_file_lenght
    in file tcpdf.php, variable TCPDF::$cache_file_lenght
        Array used to store the lenghts of cache files
    +
    $cache_maxsize_UTF8StringToArray
    +
    in file tcpdf.php, variable TCPDF::$cache_maxsize_UTF8StringToArray
        Maximum size of cache array used for UTF8StringToArray() method.
    +
    $cache_size_UTF8StringToArray
    +
    in file tcpdf.php, variable TCPDF::$cache_size_UTF8StringToArray
        Current size of cache array used for UTF8StringToArray() method.
    +
    $cache_UTF8StringToArray
    +
    in file tcpdf.php, variable TCPDF::$cache_UTF8StringToArray
        Cache array for UTF8StringToArray() method.
    $cell_height_ratio
    in file tcpdf.php, variable TCPDF::$cell_height_ratio
        Default cell height ratio.
    $cMargin
    @@ -1238,10 +1244,14 @@
    in file tcpdf.php, variable TCPDF::$Uvalue
        U entry in pdf document
    unhtmlentities
    in file tcpdf.php, method TCPDF::unhtmlentities()
        Reverse function for htmlentities.
    +
    UniArrSubString
    +
    in file tcpdf.php, method TCPDF::UniArrSubString()
        Extract a slice of the $uniarr array and return it as string.
    unichr
    in file tcpdf.php, method TCPDF::unichr()
        Returns the unicode caracter specified by UTF-8 code
    unicode_data.php
    procedural page unicode_data.php
    +
    UTF8ArrayToUniArray
    +
    in file tcpdf.php, method TCPDF::UTF8ArrayToUniArray()
        Convert an array of UTF8 values to array of unicode characters
    UTF8ArrSubString
    in file tcpdf.php, method TCPDF::UTF8ArrSubString()
        Extract a slice of the $strarr array and return it as string.
    utf8Bidi
    @@ -1281,7 +1291,9 @@
    Write
    in file tcpdf.php, method TCPDF::Write()
        This method prints text from the current position.
    write1DBarcode
    -
    in file tcpdf.php, method TCPDF::write1DBarcode()
        Print Barcode.
    +
    in file tcpdf.php, method TCPDF::write1DBarcode()
        Print 1D Barcode.
    +
    write2DBarcode
    +
    in file tcpdf.php, method TCPDF::write2DBarcode()
        Print 2D Barcode.
    writeBarcode
    in file tcpdf.php, method TCPDF::writeBarcode()
        This function is DEPRECATED, please use the new write1DBarcode() function.
    writeDiskCache
    @@ -1325,7 +1337,7 @@ top

    - Documentation generated on Fri, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:56 +0200 by phpDocumentor 1.4.1
    diff --git a/doc/elementindex.html b/doc/elementindex.html index fffe849..4ea0c98 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -147,6 +147,12 @@
    $cache_file_lenght
    in file tcpdf.php, variable TCPDF::$cache_file_lenght
        Array used to store the lenghts of cache files
    +
    $cache_maxsize_UTF8StringToArray
    +
    in file tcpdf.php, variable TCPDF::$cache_maxsize_UTF8StringToArray
        Maximum size of cache array used for UTF8StringToArray() method.
    +
    $cache_size_UTF8StringToArray
    +
    in file tcpdf.php, variable TCPDF::$cache_size_UTF8StringToArray
        Current size of cache array used for UTF8StringToArray() method.
    +
    $cache_UTF8StringToArray
    +
    in file tcpdf.php, variable TCPDF::$cache_UTF8StringToArray
        Cache array for UTF8StringToArray() method.
    $cell_height_ratio
    in file tcpdf.php, variable TCPDF::$cell_height_ratio
        Default cell height ratio.
    $cMargin
    @@ -1089,10 +1095,14 @@
    in file tcpdf.php, variable TCPDF::$Uvalue
        U entry in pdf document
    unhtmlentities
    in file tcpdf.php, method TCPDF::unhtmlentities()
        Reverse function for htmlentities.
    +
    UniArrSubString
    +
    in file tcpdf.php, method TCPDF::UniArrSubString()
        Extract a slice of the $uniarr array and return it as string.
    unichr
    in file tcpdf.php, method TCPDF::unichr()
        Returns the unicode caracter specified by UTF-8 code
    unicode_data.php
    procedural page unicode_data.php
    +
    UTF8ArrayToUniArray
    +
    in file tcpdf.php, method TCPDF::UTF8ArrayToUniArray()
        Convert an array of UTF8 values to array of unicode characters
    UTF8ArrSubString
    in file tcpdf.php, method TCPDF::UTF8ArrSubString()
        Extract a slice of the $strarr array and return it as string.
    utf8Bidi
    @@ -1132,7 +1142,9 @@
    Write
    in file tcpdf.php, method TCPDF::Write()
        This method prints text from the current position.
    write1DBarcode
    -
    in file tcpdf.php, method TCPDF::write1DBarcode()
        Print Barcode.
    +
    in file tcpdf.php, method TCPDF::write1DBarcode()
        Print 1D Barcode.
    +
    write2DBarcode
    +
    in file tcpdf.php, method TCPDF::write2DBarcode()
        Print 2D Barcode.
    writeBarcode
    in file tcpdf.php, method TCPDF::writeBarcode()
        This function is DEPRECATED, please use the new write1DBarcode() function.
    writeDiskCache
    @@ -1302,7 +1314,7 @@ top

    - Documentation generated on Fri, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:56 +0200 by phpDocumentor 1.4.1
    @@ -18417,7 +18690,7 @@ $font)
    -

    method _RC4 [line 6779]

    +

    method _RC4 [line 6886]

    diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index 58f13f6..365270c 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, 03 Apr 2009 12:04:35 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:29:01 +0200 by phpDocumentor 1.4.1
    @@ -18468,7 +18741,7 @@ $text)
    -

    method _textstring [line 6296]

    +

    method _textstring [line 6389]

    diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index d77ee8c..652f751 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 91c27ee..f1c7214 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, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:56 +0200 by phpDocumentor 1.4.1
    @@ -18507,7 +18780,7 @@ $s)
    -

    method _toJPEG [line 4418]

    +

    method _toJPEG [line 4511]

    diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index dbe7ede..30da577 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, 03 Apr 2009 12:04:35 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:29:01 +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 be85e5c..001c504 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, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:56 +0200 by phpDocumentor 1.4.1
    @@ -18549,7 +18822,7 @@ $file)
    -

    method _Uvalue [line 6845]

    +

    method _Uvalue [line 6952]

    diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index f4fe5ca..2c82086 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -640,7 +640,7 @@ $type)

    - Documentation generated on Fri, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:56 +0200 by phpDocumentor 1.4.1
    @@ -18586,7 +18859,7 @@ $file)

    - Documentation generated on Fri, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:57 +0200 by phpDocumentor 1.4.1
    author:  Nicola Asuni
    version:  4.5.036version:  4.5.037
    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.036 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 4.5.037 (http://www.tcpdf.org)'
    @@ -115,7 +115,7 @@ unicode data


    - Documentation generated on Fri, 03 Apr 2009 12:04:30 +0200 by phpDocumentor 1.4.1 + Documentation generated on Thu, 09 Apr 2009 19:28:57 +0200 by phpDocumentor 1.4.1