From 57f7c21aeedfec5524e38c157693ebae8e57881e Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Wed, 25 Aug 2010 11:57:44 +0200 Subject: [PATCH] 5.8.017 --- CHANGELOG.TXT | 4 + README.TXT | 5 +- doc/classtrees_com-tecnick-tcpdf.html | 2 +- doc/com-tecnick-tcpdf/PDF417.html | 2 +- doc/com-tecnick-tcpdf/QRcode.html | 2 +- doc/com-tecnick-tcpdf/TCPDF.html | 1547 ++++++++++------- doc/com-tecnick-tcpdf/TCPDF2DBarcode.html | 2 +- doc/com-tecnick-tcpdf/TCPDFBarcode.html | 2 +- doc/com-tecnick-tcpdf/_2dbarcodes.php.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/_pdf417.php.html | 2 +- doc/com-tecnick-tcpdf/_qrcode.php.html | 2 +- doc/com-tecnick-tcpdf/_tcpdf.php.html | 16 +- doc/com-tecnick-tcpdf/_unicode_data.php.html | 2 +- doc/elementindex.html | 18 +- doc/elementindex_com-tecnick-tcpdf.html | 18 +- doc/errors.html | 2 +- doc/index.html | 2 +- doc/li_com-tecnick-tcpdf.html | 2 +- examples/index.php | 1 + tcpdf.php | 444 ++++- 23 files changed, 1390 insertions(+), 693 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 20047be..3761c1e 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,7 @@ +5.8.017 (2010-08-25) + - This version includes support for XObject Templates (see the new example n. 62). + - Methods starttemplate(), endTemplate() and printTemplate() were added (see the new example n. 62). + 5.8.016 (2010-08-24) - Alignment problem on write2DBarcode was fixed. diff --git a/README.TXT b/README.TXT index eee4067..f7e02e8 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http: sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.8.016 -Release date: 2010-08-24 +Version: 5.8.017 +Release date: 2010-08-25 Author: Nicola Asuni Copyright (c) 2002-2010: @@ -50,6 +50,7 @@ Main Features: * automatic page numbering and page groups; * move and delete pages; * page compression (requires php-zlib extension); + * XOBject Templates; Installation (full instructions on http: www.tcpdf.org): diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index da16af2..e71ebc6 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -60,7 +60,7 @@

- Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:31 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/PDF417.html b/doc/com-tecnick-tcpdf/PDF417.html index a89ace2..3729023 100644 --- a/doc/com-tecnick-tcpdf/PDF417.html +++ b/doc/com-tecnick-tcpdf/PDF417.html @@ -1003,7 +1003,7 @@ $code)

- Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:32 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/QRcode.html b/doc/com-tecnick-tcpdf/QRcode.html index 704091e..0be22b0 100644 --- a/doc/com-tecnick-tcpdf/QRcode.html +++ b/doc/com-tecnick-tcpdf/QRcode.html @@ -5551,7 +5551,7 @@ $frame)

- Documentation generated on Tue, 24 Aug 2010 09:27:50 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:32 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index 535e8fb..23a79d9 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -83,7 +83,7 @@ Source Location: /tcpdf.php

Version:

@@ -189,6 +189,7 @@ Source Location: /tcpdf.php

  • $internal_encoding
  • $inthead
  • $intmrk
  • +
  • $inxobj
  • $isunicode
  • $javascript
  • $jpeg_quality
  • @@ -305,6 +306,7 @@ Source Location: /tcpdf.php

  • $wPt
  • $x
  • $xobjects
  • +
  • $xobjid
  • $y
  • $ZoomMode
  • @@ -359,6 +361,7 @@ Source Location: /tcpdf.php

  • empty_string
  • endPage
  • endSVGElementHandler
  • +
  • endTemplate
  • endTOCPage
  • Error
  • extractCSSproperties
  • @@ -482,6 +485,7 @@ Source Location: /tcpdf.php

  • Polycurve
  • Polygon
  • PolyLine
  • +
  • printTemplate
  • putHtmlListBullet
  • RadialGradient
  • RadioButton
  • @@ -599,6 +603,7 @@ Source Location: /tcpdf.php

  • startPage
  • startPageGroup
  • startSVGElementHandler
  • +
  • startTemplate
  • startTransaction
  • StartTransform
  • StopTransform
  • @@ -706,6 +711,7 @@ Source Location: /tcpdf.php

  • _putstream
  • _puttruetypeunicode
  • _putviewerpreferences
  • +
  • _putxobjects
  • _RC4
  • _setGDImageTransparency
  • _textstring
  • @@ -731,7 +737,7 @@ Source Location: /tcpdf.php

    Class Details

    -[line 165]
    +[line 167]
    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.




    Tags:

    @@ -740,7 +746,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - info@tecnick.com - version:  5.8.016 + version:  5.8.017 link:  http://www.tcpdf.org @@ -763,7 +769,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $AliasNbPages =  '{nb}'

    -

    [line 505]

    +

    [line 507]



    Tags:

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

    $AliasNumPage =  '{pnb}'

    -

    [line 511]

    +

    [line 513]



    Tags:

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

    $annotation_fonts = array()

    -

    [line 1375]

    +

    [line 1377]

    List of fonts used on form fields (fontname => fontkey).



    Tags:

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

    $author =  ''

    -

    [line 487]

    +

    [line 489]



    Tags:

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

    $AutoPageBreak =

    -

    [line 445]

    +

    [line 447]



    Tags:

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

    $barcode =  false

    -

    [line 600]

    +

    [line 602]



    Tags:

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

    $bgcolor =

    -

    [line 699]

    +

    [line 701]



    Tags:

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

    $bMargin =

    -

    [line 287]

    +

    [line 289]



    Tags:

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

    $booklet =  false

    -

    [line 1065]

    +

    [line 1067]

    Booklet mode for double-sided pages



    Tags:

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

    $bordermrk = array()

    -

    [line 936]

    +

    [line 938]

    Array used to store positions inside the pages buffer.

    keys are the page numbers




    Tags:

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

    $buffer =

    -

    [line 191]

    +

    [line 193]



    Tags:

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

    $bufferlen =  0

    -

    [line 1165]

    +

    [line 1167]

    Length of the buffer in bytes.



    Tags:

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

    $byterange_string =  '/ByteRange[0 ********** ********** **********]'

    -

    [line 1312]

    +

    [line 1314]

    ByteRange placemark used during signature process.



    Tags:

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

    $cache_file_length = array()

    -

    [line 1221]

    +

    [line 1223]

    Array used to store the lengths of cache files



    Tags:

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

    $cache_maxsize_UTF8StringToArray =  8

    -

    [line 1249]

    +

    [line 1251]

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



    Tags:

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

    $cache_size_UTF8StringToArray =  0

    -

    [line 1256]

    +

    [line 1258]

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



    Tags:

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

    $cache_UTF8StringToArray = array()

    -

    [line 1242]

    +

    [line 1244]

    Cache array for UTF8StringToArray() method.



    Tags:

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

    $cell_height_ratio =  K_CELL_HEIGHT_RATIO

    -

    [line 899]

    +

    [line 901]

    Default cell height ratio.



    Tags:

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

    $cMargin =

    -

    [line 293]

    +

    [line 295]



    Tags:

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

    $cntmrk = array()

    -

    [line 952]

    +

    [line 954]

    Array used to store content positions inside the pages buffer.

    keys are the page numbers




    Tags:

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

    $ColorFlag =

    -

    [line 439]

    +

    [line 441]



    Tags:

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

    $columns = array()

    -

    [line 1424]

    +

    [line 1426]

    Array of column measures (width, space, starting Y position)



    Tags:

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

    $column_start_page =  0

    -

    [line 1445]

    +

    [line 1447]

    Starting page for columns



    Tags:

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

    $colxshift = array('x' => 0, 's' => 0, 'p' => 0)

    -

    [line 1459]

    +

    [line 1461]

    Array of: X difference between table cell x start and starting page margin, cellspacing, cellpadding



    Tags:

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

    $compress =

    -

    [line 209]

    +

    [line 211]



    Tags:

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

    $CoreFonts =

    -

    [line 323]

    +

    [line 325]



    Tags:

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

    $creator =  ''

    -

    [line 499]

    +

    [line 501]



    Tags:

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

    $CurOrientation =

    -

    [line 215]

    +

    [line 217]



    Tags:

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

    $CurrentFont =

    -

    [line 403]

    +

    [line 405]



    Tags:

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

    $current_column =  0

    -

    [line 1438]

    +

    [line 1440]

    Current column number



    Tags:

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

    $currpagegroup =

    -

    [line 857]

    +

    [line 859]

    Contains the alias of the current page group



    Tags:

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

    $customlistindent =  -1

    -

    [line 1087]

    +

    [line 1089]



    Tags:

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

    $default_form_prop = array('lineWidth'=>1, 'borderStyle'=>'solid', 'fillColor'=>array(255, 255, 255),'strokeColor'=>array(128,128,128))

    -

    [line 1340]

    +

    [line 1342]

    Deafult Javascript field properties. Possible values are described on official Javascript for Acrobat API reference. Annotation options can be directly specified using the 'aopt' entry.



    Tags:

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

    $default_graphic_vars = array()

    -

    [line 1514]

    +

    [line 1516]



    Tags:

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

    $default_monospaced_font =  'courier'

    -

    [line 1207]

    +

    [line 1209]

    Default monospaced font



    Tags:

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

    $default_table_columns =  4

    -

    [line 642]

    +

    [line 644]



    Tags:

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

    $diffs = array()

    -

    [line 341]

    +

    [line 343]



    Tags:

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

    $diskcache =  false

    -

    [line 1172]

    +

    [line 1174]

    If true enables disk caching.



    Tags:

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

    $dpi =  72

    -

    [line 836]

    +

    [line 838]

    Dot Per Inch Document Resolution (do not change)



    Tags:

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

    $DrawColor =

    -

    [line 421]

    +

    [line 423]



    Tags:

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

    $embeddedfiles = array()

    -

    [line 1101]

    +

    [line 1103]



    Tags:

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

    $emptypagemrk = array()

    -

    [line 944]

    +

    [line 946]

    Array used to store page positions to track empty pages.

    keys are the page numbers




    Tags:

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

    $encoding =  'UTF-8'

    -

    [line 718]

    +

    [line 720]



    Tags:

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

    $encryptdata = array()

    -

    [line 755]

    +

    [line 757]

    Array containing encryption settings



    Tags:

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

    $encrypted =

    -

    [line 748]

    +

    [line 750]

    Indicates whether document is protected



    Tags:

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

    $enc_padding =  "\x28\xBF\x4E\x5E\x4E\x75\x8A\x41\x64\x00\x4E\x56\xFF\xFA\x01\x08\x2E\x2E\x00\xB6\xD0\x68\x3E\x80\x2F\x0C\xA9\xFE\x64\x53\x69\x7A"

    -

    [line 775]

    +

    [line 777]

    Encryption padding



    Tags:

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

    $endlinex =  0

    -

    [line 981]

    +

    [line 983]

    End position of the latest inserted line



    Tags:

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

    $epsmarker =  'x#!#EPS#!#x'

    -

    [line 1044]

    +

    [line 1046]

    String used to mark the beginning and end of EPS image blocks



    Tags:

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

    $extgstates =

    -

    [line 885]

    +

    [line 887]

    Array of transparency objects and parameters.



    Tags:

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

    $feps =  0.005

    -

    [line 1072]

    +

    [line 1074]

    Epsilon value used for float calculations



    Tags:

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

    $fgcolor =

    -

    [line 663]

    +

    [line 665]



    Tags:

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

    $fhPt =

    -

    [line 239]

    +

    [line 241]



    Tags:

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

    $file_id =

    -

    [line 782]

    +

    [line 784]

    File ID (used on trailer)



    Tags:

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

    $FillColor =

    -

    [line 427]

    +

    [line 429]



    Tags:

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

    $FontAscent =

    -

    [line 378]

    +

    [line 380]



    Tags:

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

    $FontDescent =

    -

    [line 385]

    +

    [line 387]



    Tags:

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

    $FontFamily =

    -

    [line 365]

    +

    [line 367]



    Tags:

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

    $FontFiles = array()

    -

    [line 335]

    +

    [line 337]



    Tags:

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

    $fontkeys = array()

    -

    [line 1186]

    +

    [line 1188]

    Store the font keys.



    Tags:

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

    $fontlist = array()

    -

    [line 657]

    +

    [line 659]



    Tags:

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

    $fonts = array()

    -

    [line 329]

    +

    [line 331]



    Tags:

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

    $FontSize =

    -

    [line 415]

    +

    [line 417]



    Tags:

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

    $FontSizePt =

    -

    [line 409]

    +

    [line 411]



    Tags:

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

    $FontStyle =

    -

    [line 371]

    +

    [line 373]



    Tags:

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

    $font_obj_ids = array()

    -

    [line 1193]

    +

    [line 1195]

    Store the font object IDs.



    Tags:

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

    $font_subsetting =  true

    -

    [line 1507]

    +

    [line 1509]



    Tags:

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

    $footerlen = array()

    -

    [line 967]

    +

    [line 969]

    Array used to store footer length of each page.



    Tags:

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

    $footerpos = array()

    -

    [line 959]

    +

    [line 961]

    Array used to store footer positions of each page.



    Tags:

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

    $footer_font =

    -

    [line 588]

    +

    [line 590]



    Tags:

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

    $footer_margin =

    -

    [line 562]

    +

    [line 564]



    Tags:

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

    $form_action =  ''

    -

    [line 1354]

    +

    [line 1356]

    Current form action (used during XHTML rendering)



    Tags:

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

    $form_enctype =  'application/x-www-form-urlencoded'

    -

    [line 1361]

    +

    [line 1363]

    Current form encryption type (used during XHTML rendering)



    Tags:

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

    $form_mode =  'post'

    -

    [line 1368]

    +

    [line 1370]

    Current method to submit forms.



    Tags:

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

    $form_obj_id = array()

    -

    [line 1333]

    +

    [line 1335]

    List of form annotations IDs



    Tags:

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

    $fwPt =

    -

    [line 233]

    +

    [line 235]



    Tags:

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

    $gradients = array()

    -

    [line 920]

    +

    [line 922]

    Array for storing gradient information.



    Tags:

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

    $h =

    -

    [line 263]

    +

    [line 265]



    Tags:

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

    $header_font =

    -

    [line 582]

    +

    [line 584]



    Tags:

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

    $header_logo =  ''

    -

    [line 618]

    +

    [line 620]



    Tags:

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

    $header_logo_width =  30

    -

    [line 624]

    +

    [line 626]



    Tags:

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

    $header_margin =

    -

    [line 556]

    +

    [line 558]



    Tags:

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

    $header_string =  ''

    -

    [line 636]

    +

    [line 638]



    Tags:

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

    $header_title =  ''

    -

    [line 630]

    +

    [line 632]



    Tags:

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

    $hPt =

    -

    [line 251]

    +

    [line 253]



    Tags:

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

    $HREF = array()

    -

    [line 651]

    +

    [line 653]



    Tags:

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

    $htmlLinkColorArray = array(0, 0, 255)

    -

    [line 1123]

    +

    [line 1125]

    Default color for html links



    Tags:

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

    $htmlLinkFontStyle =  'U'

    -

    [line 1130]

    +

    [line 1132]

    Default font style to add to html links



    Tags:

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

    $htmlvspace =  0

    -

    [line 1023]

    +

    [line 1025]

    Count the latest inserted vertical spaces on HTML



    Tags:

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

    $imagekeys = array()

    -

    [line 1158]

    +

    [line 1160]

    Store the image keys.



    Tags:

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

    $images = array()

    -

    [line 347]

    +

    [line 349]



    Tags:

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

    $imgscale =  1

    -

    [line 535]

    +

    [line 537]



    Tags:

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

    $img_rb_x =

    -

    [line 519]

    +

    [line 521]



    Tags:

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

    $img_rb_y =

    -

    [line 527]

    +

    [line 529]



    Tags:

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

    $InFooter =  false

    -

    [line 457]

    +

    [line 459]



    Tags:

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

    $internal_encoding =

    -

    [line 725]

    +

    [line 727]



    Tags:

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

    $inthead =  false

    -

    [line 1417]

    +

    [line 1419]

    True when we are printing the thead section on a new page



    Tags:

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

    $intmrk = array()

    -

    [line 928]

    +

    [line 930]

    Array used to store positions inside the pages buffer.

    keys are the page numbers




    Tags:

    @@ -3408,6 +3414,36 @@ This is a PHP class for generating PDF documents without requiring external exte Type:   mixed + + +


    +
    [ Top ]

    + +

    +

    $inxobj =  false

    +

    [line 1530]

    +

    +

    Tags:

    +
    + + + + + + + + + + +
    var:  true when we are inside a XObject
    since:  5.8.017 (2010-08-24)
    access:  protected
    +
    + +
    +
    + + + +
    Type:  boolean


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

    $isunicode =  false

    -

    [line 543]

    +

    [line 545]



    Tags:

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

    $javascript =  ''

    -

    [line 808]

    +

    [line 810]

    javascript code



    Tags:

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

    $jpeg_quality =

    -

    [line 892]

    +

    [line 894]

    Set the default JPEG compression quality (1-100)



    Tags:

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

    $js_objects = array()

    -

    [line 1347]

    +

    [line 1349]

    Javascript objects array



    Tags:

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

    $k =

    -

    [line 227]

    +

    [line 229]



    Tags:

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

    $keywords =  ''

    -

    [line 493]

    +

    [line 495]



    Tags:

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

    $l =

    -

    [line 594]

    +

    [line 596]



    Tags:

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

    $lasth =

    -

    [line 311]

    +

    [line 313]



    Tags:

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

    $last_enc_key =

    -

    [line 762]

    +

    [line 764]

    last RC4 key encrypted (cached for optimisation)



    Tags:

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

    $last_enc_key_c =

    -

    [line 769]

    +

    [line 771]

    last RC4 computed key



    Tags:

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

    $LayoutMode =

    -

    [line 469]

    +

    [line 471]



    Tags:

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

    $linestyleCap =  '0 J'

    -

    [line 995]

    +

    [line 997]

    PDF string for last line width



    Tags:

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

    $linestyleDash =  '[] 0 d'

    -

    [line 1009]

    +

    [line 1011]

    PDF string for last line width



    Tags:

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

    $linestyleJoin =  '0 j'

    -

    [line 1002]

    +

    [line 1004]

    PDF string for last line width



    Tags:

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

    $linestyleWidth =  ''

    -

    [line 988]

    +

    [line 990]

    PDF string for last line width



    Tags:

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

    $linethrough =

    -

    [line 822]

    +

    [line 824]

    line trough state



    Tags:

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

    $LineWidth =

    -

    [line 317]

    +

    [line 319]



    Tags:

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

    $links = array()

    -

    [line 359]

    +

    [line 361]



    Tags:

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

    $lispacer =  ''

    -

    [line 711]

    +

    [line 713]



    Tags:

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

    $listcount = array()

    -

    [line 675]

    +

    [line 677]



    Tags:

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

    $listindent =  0

    -

    [line 687]

    +

    [line 689]



    Tags:

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

    $listindentlevel =  0

    -

    [line 693]

    +

    [line 695]



    Tags:

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

    $listnum =  0

    -

    [line 681]

    +

    [line 683]



    Tags:

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

    $listordered = array()

    -

    [line 669]

    +

    [line 671]



    Tags:

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

    $lisymbol =  ''

    -

    [line 1037]

    +

    [line 1039]

    Symbol used for HTML unordered list items



    Tags:

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

    $lMargin =

    -

    [line 269]

    +

    [line 271]



    Tags:

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

    $maxselcol = array('page' => 0, 'column' => 0)

    -

    [line 1452]

    +

    [line 1454]

    Maximum page and column selected



    Tags:

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

    $n =

    -

    [line 179]

    +

    [line 181]



    Tags:

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

    $newline =  true

    -

    [line 974]

    +

    [line 976]

    True if a newline is created.



    Tags:

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

    $newpagegroup = array()

    -

    [line 843]

    +

    [line 845]

    Array of page numbers were a new page group was started



    Tags:

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

    $numfonts =  0

    -

    [line 1179]

    +

    [line 1181]

    Counts the number of fonts.



    Tags:

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

    $numimages =  0

    -

    [line 1151]

    +

    [line 1153]

    Counts the number of pages.



    Tags:

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

    $numpages =  0

    -

    [line 1137]

    +

    [line 1139]

    Counts the number of pages.



    Tags:

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

    $num_columns =  1

    -

    [line 1431]

    +

    [line 1433]

    Number of colums



    Tags:

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

    $n_js =

    -

    [line 815]

    +

    [line 817]

    javascript counter



    Tags:

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

    $n_ocg_print =

    -

    [line 871]

    +

    [line 873]

    Print visibility.



    Tags:

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

    $n_ocg_view =

    -

    [line 878]

    +

    [line 880]

    View visibility.



    Tags:

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

    $objcopy =

    -

    [line 1214]

    +

    [line 1216]

    Used to store a cloned copy of the current class object



    Tags:

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

    $offsets =

    -

    [line 185]

    +

    [line 187]



    Tags:

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

    $opencell =  true

    -

    [line 1094]

    +

    [line 1096]



    Tags:

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

    $openMarkedContent =  false

    -

    [line 1016]

    +

    [line 1018]

    True if marked-content sequence is open



    Tags:

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

    $original_lMargin =

    -

    [line 569]

    +

    [line 571]



    Tags:

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

    $original_rMargin =

    -

    [line 576]

    +

    [line 578]



    Tags:

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

    $OutlineRoot =

    -

    [line 798]

    +

    [line 800]

    Outline root for bookmark



    Tags:

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

    $outlines = array()

    -

    [line 791]

    +

    [line 793]

    Outlines for bookmark



    Tags:

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

    $overline =

    -

    [line 397]

    +

    [line 399]



    Tags:

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

    $page =

    -

    [line 173]

    +

    [line 175]



    Tags:

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

    $PageAnnots = array()

    -

    [line 353]

    +

    [line 355]



    Tags:

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

    $PageBreakTrigger =

    -

    [line 451]

    +

    [line 453]



    Tags:

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

    $pagedim = array()

    -

    [line 221]

    +

    [line 223]



    Tags:

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

    $pagegroups =

    -

    [line 850]

    +

    [line 852]

    Contains the number of pages of the groups



    Tags:

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

    $pagelen = array()

    -

    [line 1144]

    +

    [line 1146]

    Array containing page lengths in bytes.



    Tags:

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

    $PageMode =

    -

    [line 913]

    +

    [line 915]

    A name object specifying how the document should be displayed when opened.



    Tags:

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

    $pageopen = array()

    -

    [line 1200]

    +

    [line 1202]

    Store the fage status (true when opened, false when closed).



    Tags:

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

    $pages = array()

    -

    [line 197]

    +

    [line 199]



    Tags:

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

    $page_obj_id = array()

    -

    [line 1326]

    +

    [line 1328]

    ID of page objects



    Tags:

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

    $pdfunit =  'mm'

    -

    [line 1487]

    +

    [line 1489]



    Tags:

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

    $PDFVersion =  '1.7'

    -

    [line 550]

    +

    [line 552]



    Tags:

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

    $premode =  false

    -

    [line 1108]

    +

    [line 1110]



    Tags:

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

    $print_footer =  true

    -

    [line 612]

    +

    [line 614]



    Tags:

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

    $print_header =  true

    -

    [line 606]

    +

    [line 608]



    Tags:

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

    $radiobutton_groups = array()

    -

    [line 1382]

    +

    [line 1384]

    List of radio buttons parent objects.



    Tags:

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

    $radio_groups = array()

    -

    [line 1389]

    +

    [line 1391]

    List of radio group objects IDs



    Tags:

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

    $rasterize_vector_images =  false

    -

    [line 1500]

    +

    [line 1502]



    Tags:

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

    $re_space = array('p' => '[^\S\xa0]', 'm' => '')

    -

    [line 1298]

    +

    [line 1300]

    Array of parts $re_spaces



    Tags:

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

    $re_spaces =  '/[^\S\xa0]/'

    -

    [line 1291]

    +

    [line 1293]

    Regular expression used to find blank characters used for word-wrapping.



    Tags:

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

    $rMargin =

    -

    [line 281]

    +

    [line 283]



    Tags:

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

    $rtl =  false

    -

    [line 732]

    +

    [line 734]



    Tags:

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

    $sign =  false

    -

    [line 1263]

    +

    [line 1265]

    If true enables document signing



    Tags:

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

    $signature_appearance = array('page' => 1, 'rect' => '0 0 0 0')

    -

    [line 1284]

    +

    [line 1286]

    data for signature appearance



    Tags:

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

    $signature_data = array()

    -

    [line 1270]

    +

    [line 1272]

    Signature data



    Tags:

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

    $signature_max_length =  11742

    -

    [line 1277]

    +

    [line 1279]

    Signature max length



    Tags:

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

    $sig_annot_ref =  '***SIGANNREF*** 0 R'

    -

    [line 1319]

    +

    [line 1321]

    Placemark used during signature process.



    Tags:

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

    $sig_obj_id =  0

    -

    [line 1305]

    +

    [line 1307]

    Signature object ID



    Tags:

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

    $spot_colors = array()

    -

    [line 1030]

    +

    [line 1032]

    Array of Spot colors



    Tags:

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

    $start_transaction_page =  0

    -

    [line 1403]

    +

    [line 1405]

    Store page number when startTransaction() is called.



    Tags:

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

    $start_transaction_y =  0

    -

    [line 1410]

    +

    [line 1412]

    Store Y position when startTransaction() is called.



    Tags:

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

    $state =

    -

    [line 203]

    +

    [line 205]



    Tags:

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

    $strokecolor =

    -

    [line 1480]

    +

    [line 1482]



    Tags:

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

    $subject =  ''

    -

    [line 481]

    +

    [line 483]



    Tags:

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

    $svgclipid =  0

    -

    [line 1584]

    +

    [line 1600]



    Tags:

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

    $svgclipmode =  false

    -

    [line 1570]

    +

    [line 1586]



    Tags:

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

    $svgclippaths = array()

    -

    [line 1577]

    +

    [line 1593]



    Tags:

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

    $svgdefs = array()

    -

    [line 1563]

    +

    [line 1579]



    Tags:

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

    $svgdefsmode =  false

    -

    [line 1556]

    +

    [line 1572]



    Tags:

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

    $svgdir =  ''

    -

    [line 1528]

    +

    [line 1544]



    Tags:

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

    $svggradientid =  0

    -

    [line 1549]

    +

    [line 1565]



    Tags:

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

    $svggradients = array()

    -

    [line 1542]

    +

    [line 1558]



    Tags:

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

    $svginheritprop = array('clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cursor', 'direction', 'fill', 'fill-opacity', 'fill-rule', 'font', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'glyph-orientation-horizontal', 'glyph-orientation-vertical', 'image-rendering', 'kerning', 'letter-spacing', 'marker', 'marker-end', 'marker-mid', 'marker-start', 'pointer-events', 'shape-rendering', 'stroke', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'text-anchor', 'text-rendering', 'visibility', 'word-spacing', 'writing-mode')

    -

    [line 1605]

    +

    [line 1621]



    Tags:

    @@ -5935,7 +5971,7 @@ This is a PHP class for generating PDF documents without requiring external exte          'writing-mode' => 'lr-tb',
             'text-color' => 'black',
             'transfmatrix' => array(1, 0, 0, 1, 0, 0))) -

    [line 1612]

    +

    [line 1628]



    Tags:

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

    $svgtext =  ''

    -

    [line 1591]

    +

    [line 1607]



    Tags:

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

    $svgtextmode = array()

    -

    [line 1598]

    +

    [line 1614]



    Tags:

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

    $svgunit =  'px'

    -

    [line 1535]

    +

    [line 1551]



    Tags:

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

    $tagvspaces = array()

    -

    [line 1079]

    +

    [line 1081]

    Array used for custom vertical spaces for HTML tags



    Tags:

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

    $tempfontsize =  10

    -

    [line 705]

    +

    [line 707]



    Tags:

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

    $TextColor =

    -

    [line 433]

    +

    [line 435]



    Tags:

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

    $textindent =  0

    -

    [line 1396]

    +

    [line 1398]

    Text indentation value (used for text-indent CSS attribute)



    Tags:

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

    $textrendermode =  0

    -

    [line 1466]

    +

    [line 1468]

    Text rendering mode: 0 = Fill text; 1 = Stroke text; 2 = Fill, then stroke text; 3 = Neither fill nor stroke text (invisible); 4 = Fill text and add to path for clipping; 5 = Stroke text and add to path for clipping; 6 = Fill, then stroke text and add to path for clipping; 7 = Add text to path for clipping.



    Tags:

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

    $textstrokewidth =  0

    -

    [line 1473]

    +

    [line 1475]

    Text stroke width in doc units



    Tags:

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

    $thead =  ''

    -

    [line 1228]

    +

    [line 1230]

    Table header content to be repeated on each new page



    Tags:

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

    $theadMargins = array()

    -

    [line 1235]

    +

    [line 1237]

    Margins used for table header.



    Tags:

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

    $title =  ''

    -

    [line 475]

    +

    [line 477]



    Tags:

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

    $tMargin =

    -

    [line 275]

    +

    [line 277]



    Tags:

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

    $tmprtl =  false

    -

    [line 739]

    +

    [line 741]



    Tags:

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

    $tocpage =  false

    -

    [line 1493]

    +

    [line 1495]



    Tags:

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

    $transfmatrix = array()

    -

    [line 1051]

    +

    [line 1053]

    Array of transformation matrix



    Tags:

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

    $transfmatrix_key =  0

    -

    [line 1058]

    +

    [line 1060]

    Current key for transformation matrix



    Tags:

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

    $transfmrk = array()

    -

    [line 1116]

    +

    [line 1118]

    Array used to store positions of graphics transformation blocks inside the page buffer.

    keys are the page numbers




    Tags:

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

    $underline =

    -

    [line 391]

    +

    [line 393]



    Tags:

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

    $ur = array()

    -

    [line 829]

    +

    [line 831]

    Array with additional document-wide usage rights for the document.



    Tags:

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

    $viewer_preferences =

    -

    [line 906]

    +

    [line 908]

    PDF viewer preferences.



    Tags:

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

    $visibility =  'all'

    -

    [line 864]

    +

    [line 866]

    Restrict the rendering of some elements to screen or printout.



    Tags:

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

    $w =

    -

    [line 257]

    +

    [line 259]



    Tags:

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

    $wPt =

    -

    [line 245]

    +

    [line 247]



    Tags:

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

    $x =

    -

    [line 299]

    +

    [line 301]



    Tags:

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

    $xobjects = array()

    -

    [line 1521]

    +

    [line 1523]



    Tags:

    @@ -6672,6 +6708,36 @@ This is a PHP class for generating PDF documents without requiring external exte Type:   Array + + +


    +
    [ Top ]

    + +

    +

    $xobjid =  ''

    +

    [line 1537]

    +

    +

    Tags:

    +
    + + + + + + + + + + +
    var:  XObject ID
    since:  5.8.017 (2010-08-24)
    access:  protected
    +
    + +
    +
    + + + +
    Type:  current


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

    $y =

    -

    [line 305]

    +

    [line 307]



    Tags:

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

    $ZoomMode =

    -

    [line 463]

    +

    [line 465]



    Tags:

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

    constructor __construct [line 1696]

    +

    constructor __construct [line 1710]

    @@ -6754,16 +6820,13 @@ $diskcache = false])

    - This is the class constructor.

    It allows to set up the page format, the orientation and the measure unit used in all the methods (except for the font sizes).




    + This is the class constructor.

    It allows to set up the page format, the orientation and the measure unit used in all the methods (except for the font sizes).




    Tags:

    - - - @@ -6778,7 +6841,7 @@ $diskcache = false]) - + @@ -6811,7 +6874,7 @@ $diskcache = false])
    -

    destructor __destruct [line 1829]

    +

    destructor __destruct [line 1843]

    see:  TCPDF::getPageSizeFromFormat(), TCPDF::setPageFormat()
    since:  1.0
    access:  public
    string   $orientation  page orientation. Possible values are (case insensitive):
    • P or Portrait (default)
    • L or Landscape
    page orientation. Possible values are (case insensitive):
    • P or Portrait (default)
    • L or Landscape
    • '' (empty string) for automatic orientation
    string  
    @@ -6839,7 +6902,7 @@ $diskcache = false])
    -

    method AcceptPageBreak [line 4854]

    +

    method AcceptPageBreak [line 4936]

    @@ -6870,7 +6933,7 @@ $diskcache = false])
    -

    method addExtGState [line 14739]

    +

    method addExtGState [line 14891]

    @@ -6918,7 +6981,7 @@ $params)
    -

    method AddFont [line 4322]

    +

    method AddFont [line 4388]

    @@ -6981,7 +7044,7 @@ $subset = 'default'])
    -

    method addHtmlLink [line 10763]

    +

    method addHtmlLink [line 10911]

    @@ -7056,7 +7119,7 @@ $firstblock = false])
    -

    method addHTMLTOC [line 21519]

    +

    method addHTMLTOC [line 21706]

    @@ -7119,7 +7182,7 @@ $correct_align = true])
    -

    method addHTMLVertSpace [line 20013]

    +

    method addHTMLVertSpace [line 20165]

    @@ -7173,7 +7236,7 @@ $firstorlast = false])
    -

    method addJavascriptObject [line 13332]

    +

    method addJavascriptObject [line 13484]

    @@ -7224,7 +7287,7 @@ $onload = false])
    -

    method AddLink [line 4655]

    +

    method AddLink [line 4725]

    @@ -7255,7 +7318,7 @@ $onload = false])
    -

    method AddPage [line 3468]

    +

    method AddPage [line 3530]

    @@ -7315,7 +7378,7 @@ $tocpage = false])
    -

    method AddSpotColor [line 3931]

    +

    method AddSpotColor [line 3997]

    @@ -7381,7 +7444,7 @@ $k)
    -

    method addTOC [line 21347]

    +

    method addTOC [line 21534]

    @@ -7444,7 +7507,7 @@ $toc_name = 'TOC'])
    -

    method addTOCPage [line 3443]

    +

    method addTOCPage [line 3505]

    @@ -7498,7 +7561,7 @@ $keepmargins = false])
    -

    method AliasNbPages [line 14553]

    +

    method AliasNbPages [line 14705]

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

    method AliasNumPage [line 14580]

    +

    method AliasNumPage [line 14732]

    @@ -7582,7 +7645,7 @@ $alias = '{pnb}'])
    -

    method Annotation [line 4711]

    +

    method Annotation [line 4789]

    @@ -7657,7 +7720,7 @@ $spaces = 0])
    -

    method Arrow [line 12536]

    +

    method Arrow [line 12688]

    @@ -7735,7 +7798,7 @@ $arm_angle = 15])
    -

    method arrUTF8ToUTF16BE [line 10658]

    +

    method arrUTF8ToUTF16BE [line 10806]

    @@ -7810,7 +7873,7 @@ $setbom = true])
    -

    method Bookmark [line 13204]

    +

    method Bookmark [line 13356]

    @@ -7870,7 +7933,7 @@ $page = ''])
    -

    method Button [line 14208]

    +

    method Button [line 14360]

    @@ -7966,7 +8029,7 @@ $js = false])
    -

    method Cell [line 4961]

    +

    method Cell [line 5043]

    @@ -8074,7 +8137,7 @@ $valign = 'M'])
    -

    method CheckBox [line 14140]

    +

    method CheckBox [line 14292]

    @@ -8164,7 +8227,7 @@ $js = false])
    -

    method checkPageBreak [line 4881]

    +

    method checkPageBreak [line 4963]

    @@ -8218,7 +8281,7 @@ $addpage = true])
    -

    method Circle [line 12224]

    +

    method Circle [line 12376]

    @@ -8317,7 +8380,7 @@ $angend:)
    -

    method Clip [line 15200]

    +

    method Clip [line 15352]

    @@ -8377,7 +8440,7 @@ $h)
    -

    method Close [line 3320]

    +

    method Close [line 3382]

    @@ -8408,7 +8471,7 @@ $h)
    -

    method closeHTMLTagHandler [line 19513]

    +

    method closeHTMLTagHandler [line 19665]

    @@ -8468,7 +8531,7 @@ $dom)
    -

    method colorRegistrationBar [line 14875]

    +

    method colorRegistrationBar [line 15027]

    @@ -8546,7 +8609,7 @@ $colors = 'A,R,G,B,C,M,Y,K'])
    -

    method ComboBox [line 14083]

    +

    method ComboBox [line 14235]

    @@ -8636,7 +8699,7 @@ $js = false])
    -

    method commitTransaction [line 21631]

    +

    method commitTransaction [line 21818]

    @@ -8664,7 +8727,7 @@ $js = false])
    -

    method convertHexStringToString [line 11387]

    +

    method convertHexStringToString [line 11535]

    @@ -8706,7 +8769,7 @@ $bs)
    -

    method convertHTMLColorToDec [line 10796]

    +

    method convertHTMLColorToDec [line 10944]

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

    method convertStringToHexString [line 11409]

    +

    method convertStringToHexString [line 11557]

    @@ -8790,7 +8853,7 @@ $s)
    -

    method convertSVGtMatrix [line 22699]

    +

    method convertSVGtMatrix [line 23085]

    @@ -8832,7 +8895,7 @@ $tm)
    -

    method CoonsPatchMesh [line 15115]

    +

    method CoonsPatchMesh [line 15267]

    @@ -8940,7 +9003,7 @@ $antialias = false])
    -

    method copyPage [line 21277]

    +

    method copyPage [line 21464]

    @@ -8982,7 +9045,7 @@ $page = 0])
    -

    method cropMark [line 14973]

    +

    method cropMark [line 15125]

    @@ -9054,7 +9117,7 @@ $color = array(0,0,0)])
    -

    method Curve [line 12029]

    +

    method Curve [line 12181]

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

    method deletePage [line 21134]

    +

    method deletePage [line 21321]

    @@ -9198,7 +9261,7 @@ $page)
    -

    method drawHTMLTagBorder [line 20050]

    +

    method drawHTMLTagBorder [line 20202]

    @@ -9243,7 +9306,7 @@ $xmax)
    -

    method Ellipse [line 12093]

    +

    method Ellipse [line 12245]

    @@ -9363,7 +9426,7 @@ $afinish:)
    -

    method empty_string [line 21685]

    +

    method empty_string [line 21872]

    @@ -9405,7 +9468,7 @@ $str)
    -

    method endPage [line 3488]

    +

    method endPage [line 3554]

    @@ -9447,7 +9510,7 @@ $tocpage = false])
    -

    method endSVGElementHandler [line 23741]

    +

    method endSVGElementHandler [line 24127]

    @@ -9493,9 +9556,46 @@ $name)
    [ Top ]
    +
    + +

    method endTemplate [line 22540]

    +
    +
    +
    + int endTemplate( +) +
    +

    + + End the current XObject Template started with startTemplate() and restore the previous graphic state.

    An XObject Template is a PDF block that is a self-contained description of any sequence of graphics objects (including path objects, text objects, and sampled images). An XObject Template may be painted multiple times, either on several pages or at several locations on the same page and produces the same results each time, subject only to the graphics state at the time it is invoked.




    +

    Tags:

    +
    + + + + + + + + + + + + + + + + +
    return:  the XObject Template ID in case of success or false in case of error.
    author:  Nicola Asuni
    see:  TCPDF::startTemplate(), TCPDF::printTemplate()
    since:  5.8.017 (2010-08-24)
    access:  public
    +
    +

    + + +
    [ Top ]
    +

    -

    method endTOCPage [line 3453]

    +

    method endTOCPage [line 3515]

    @@ -9526,7 +9626,7 @@ $name)
    -

    method Error [line 3292]

    +

    method Error [line 3354]

    @@ -9565,7 +9665,7 @@ $msg)
    -

    method extractCSSproperties [line 16492]

    +

    method extractCSSproperties [line 16644]

    @@ -9610,7 +9710,7 @@ $cssdata)
    -

    method fitBlock [line 6522]

    +

    method fitBlock [line 6608]

    @@ -9697,7 +9797,7 @@ $y)
    -

    method Footer [line 3738]

    +

    method Footer [line 3804]

    @@ -9722,7 +9822,7 @@ $y)
    -

    method formatPageNumber [line 14657]

    +

    method formatPageNumber [line 14809]

    @@ -9761,7 +9861,7 @@ $num)
    -

    method formatTOCPageNumber [line 14669]

    +

    method formatTOCPageNumber [line 14821]

    @@ -9803,7 +9903,7 @@ $num)
    -

    method GetAbsX [line 7254]

    +

    method GetAbsX [line 7344]

    @@ -9834,7 +9934,7 @@ $num)
    -

    method getAliasNbPages [line 14565]

    +

    method getAliasNbPages [line 14717]

    @@ -9865,7 +9965,7 @@ $num)
    -

    method getAliasNumPage [line 14593]

    +

    method getAliasNumPage [line 14745]

    @@ -9896,7 +9996,7 @@ $num)
    -

    method getAnnotOptFromJSProp [line 13457]

    +

    method getAnnotOptFromJSProp [line 13609]

    @@ -9941,7 +10041,7 @@ $prop)
    -

    method GetArrStringWidth [line 4224]

    +

    method GetArrStringWidth [line 4290]

    @@ -10010,7 +10110,7 @@ $getarray = false])
    -

    method getBarcode [line 15838]

    +

    method getBarcode [line 15991]

    @@ -10038,7 +10138,7 @@ $getarray = false])
    -

    method getBorderMode [line 5832]

    +

    method getBorderMode [line 5918]

    @@ -10086,7 +10186,7 @@ $position = 'start'])
    -

    method getBorderStartPosition [line 20034]

    +

    method getBorderStartPosition [line 20186]

    @@ -10117,7 +10217,7 @@ $position = 'start'])
    -

    method getBreakMargin [line 3017]

    +

    method getBreakMargin [line 3079]

    @@ -10165,7 +10265,7 @@ $pagenum = ''])
    -

    method getBuffer [line 20810]

    +

    method getBuffer [line 20997]

    @@ -10196,7 +10296,7 @@ $pagenum = ''])
    -

    method getCellBorder [line 5359]

    +

    method getCellBorder [line 5445]

    @@ -10271,7 +10371,7 @@ $mode)
    -

    method getCellCode [line 4992]

    +

    method getCellCode [line 5074]

    - +
    @@ -10374,7 +10474,7 @@ $valign = 'M'])
    string   $valign  text vertical alignment inside the cell. Possible values are:
    • T : top
    • C : center
    • B : bottom
    text vertical alignment inside the cell. Possible values are:
    • T : top
    • M : middle
    • B : bottom

    @@ -10382,7 +10482,7 @@ $valign = 'M'])
    -

    method getCellHeightRatio [line 14835]

    +

    method getCellHeightRatio [line 14987]

    @@ -10410,7 +10510,7 @@ $valign = 'M'])
    -

    method GetCharWidth [line 4260]

    +

    method GetCharWidth [line 4326]

    @@ -10455,7 +10555,7 @@ $char)
    -

    method getColumn [line 21836]

    +

    method getColumn [line 22023]

    @@ -10486,7 +10586,7 @@ $char)
    -

    method getCSSBorderDashStyle [line 16791]

    +

    method getCSSBorderDashStyle [line 16943]

    @@ -10528,7 +10628,7 @@ $style)
    -

    method getCSSBorderStyle [line 16827]

    +

    method getCSSBorderStyle [line 16979]

    @@ -10570,7 +10670,7 @@ $cssborder)
    -

    method getCSSBorderWidth [line 16771]

    +

    method getCSSBorderWidth [line 16923]

    @@ -10612,7 +10712,7 @@ $width)
    -

    method getEncPermissionsString [line 11426]

    +

    method getEncPermissionsString [line 11574]

    @@ -10654,7 +10754,7 @@ $protection)
    -

    method getFontAscent [line 4625]

    +

    method getFontAscent [line 4695]

    @@ -10711,7 +10811,7 @@ $size = 0])
    -

    method getFontBuffer [line 20974]

    +

    method getFontBuffer [line 21161]

    @@ -10753,7 +10853,7 @@ $font)
    -

    method getFontDescent [line 4602]

    +

    method getFontDescent [line 4672]

    @@ -10810,7 +10910,7 @@ $size = 0])
    -

    method getFontFamily [line 16470]

    +

    method getFontFamily [line 16622]

    @@ -10841,7 +10941,7 @@ $size = 0])
    -

    method getFontFamilyName [line 22256]

    +

    method getFontFamilyName [line 22443]

    @@ -10886,7 +10986,7 @@ $fontfamily)
    -

    method getFontSize [line 16450]

    +

    method getFontSize [line 16602]

    @@ -10917,7 +11017,7 @@ $fontfamily)
    -

    method getFontSizePt [line 16460]

    +

    method getFontSizePt [line 16612]

    @@ -10948,7 +11048,7 @@ $fontfamily)
    -

    method getFontsList [line 4299]

    +

    method getFontsList [line 4365]

    @@ -10976,7 +11076,7 @@ $fontfamily)
    -

    method getFontStyle [line 16480]

    +

    method getFontStyle [line 16632]

    @@ -11007,7 +11107,7 @@ $fontfamily)
    -

    method getFontSubsetting [line 22192]

    +

    method getFontSubsetting [line 22379]

    @@ -11041,7 +11141,7 @@ $fontfamily)
    -

    method getFooterFont [line 10721]

    +

    method getFooterFont [line 10869]

    @@ -11069,7 +11169,7 @@ $fontfamily)
    -

    method getFooterMargin [line 3652]

    +

    method getFooterMargin [line 3718]

    @@ -11097,7 +11197,7 @@ $fontfamily)
    -

    method getFormDefaultProp [line 13832]

    +

    method getFormDefaultProp [line 13984]

    @@ -11131,7 +11231,7 @@ $fontfamily)
    -

    method getGDgamma [line 7194]

    +

    method getGDgamma [line 7284]

    @@ -11170,7 +11270,7 @@ $v)
    -

    method getGraphicVars [line 20642]

    +

    method getGraphicVars [line 20794]

    @@ -11184,7 +11284,7 @@ $v)
    - + @@ -11201,7 +11301,7 @@ $v)
    -

    method getGroupPageNo [line 14606]

    +

    method getGroupPageNo [line 14758]

    return:  graphic variablesreturn:  of graphic variables
    since:  4.2.010 (2008-11-14)
    @@ -11232,7 +11332,7 @@ $v)
    -

    method getGroupPageNoFormatted [line 14616]

    +

    method getGroupPageNoFormatted [line 14768]

    @@ -11263,7 +11363,7 @@ $v)
    -

    method getHeaderData [line 3607]

    +

    method getHeaderData [line 3673]

    @@ -11291,7 +11391,7 @@ $v)
    -

    method getHeaderFont [line 10701]

    +

    method getHeaderFont [line 10849]

    @@ -11319,7 +11419,7 @@ $v)
    -

    method getHeaderMargin [line 3632]

    +

    method getHeaderMargin [line 3698]

    @@ -11347,7 +11447,7 @@ $v)
    -

    method getHtmlDomArray [line 16875]

    +

    method getHtmlDomArray [line 17027]

    @@ -11386,7 +11486,7 @@ $html)
    -

    method getHTMLUnitToUnits [line 20353]

    +

    method getHTMLUnitToUnits [line 20505]

    @@ -11452,7 +11552,7 @@ $point)
    -

    method getHyphenPatternsFromTEX [line 21992]

    +

    method getHyphenPatternsFromTEX [line 22179]

    @@ -11497,7 +11597,7 @@ $file)
    -

    method getImageBuffer [line 20912]

    +

    method getImageBuffer [line 21099]

    @@ -11539,7 +11639,7 @@ $image)
    -

    method getImageFileType [line 6492]

    +

    method getImageFileType [line 6578]

    @@ -11587,7 +11687,7 @@ $iminfo = array()])
    -

    method getImageRBX [line 3678]

    +

    method getImageRBX [line 3744]

    @@ -11612,7 +11712,7 @@ $iminfo = array()])
    -

    method getImageRBY [line 3687]

    +

    method getImageRBY [line 3753]

    @@ -11637,7 +11737,7 @@ $iminfo = array()])
    -

    method getImageScale [line 2956]

    +

    method getImageScale [line 3018]

    @@ -11671,7 +11771,7 @@ $iminfo = array()])
    -

    method getLastH [line 2934]

    +

    method getLastH [line 2996]

    @@ -11702,7 +11802,7 @@ $iminfo = array()])
    -

    method GetLineWidth [line 11769]

    +

    method GetLineWidth [line 11921]

    @@ -11736,7 +11836,7 @@ $iminfo = array()])
    -

    method getMargins [line 16413]

    +

    method getMargins [line 16565]

    @@ -11767,7 +11867,7 @@ $iminfo = array()])
    -

    method GetNumChars [line 4287]

    +

    method GetNumChars [line 4353]

    @@ -11809,7 +11909,7 @@ $s)
    -

    method getNumLines [line 5910]

    +

    method getNumLines [line 5996]

    @@ -11884,7 +11984,7 @@ $lineWidth = ''])
    -

    method getNumPages [line 3431]

    +

    method getNumPages [line 3493]

    @@ -11918,7 +12018,7 @@ $lineWidth = ''])
    -

    method getObjFilename [line 20724]

    +

    method getObjFilename [line 20911]

    @@ -11963,7 +12063,7 @@ $prefix)
    -

    method getOriginalMargins [line 16436]

    +

    method getOriginalMargins [line 16588]

    @@ -11994,7 +12094,7 @@ $prefix)
    -

    method getPage [line 3419]

    +

    method getPage [line 3481]

    @@ -12028,7 +12128,7 @@ $prefix)
    -

    method getPageBuffer [line 20853]

    +

    method getPageBuffer [line 21040]

    @@ -12070,7 +12170,7 @@ $page)
    -

    method getPageDimensions [line 2969]

    +

    method getPageDimensions [line 3031]

    @@ -12115,7 +12215,7 @@ $pagenum = ''])
    -

    method getPageGroupAlias [line 14628]

    +

    method getPageGroupAlias [line 14780]

    @@ -12146,7 +12246,7 @@ $pagenum = ''])
    -

    method getPageHeight [line 3001]

    +

    method getPageHeight [line 3063]

    @@ -12194,7 +12294,7 @@ $pagenum = ''])
    -

    method getPageNumGroupAlias [line 14643]

    +

    method getPageNumGroupAlias [line 14795]

    @@ -12225,7 +12325,7 @@ $pagenum = ''])
    -

    method getPageSizeFromFormat [line 2195]

    +

    method getPageSizeFromFormat [line 2209]

    @@ -12267,7 +12367,7 @@ $format)
    -

    method getPageWidth [line 2985]

    +

    method getPageWidth [line 3047]

    @@ -12315,7 +12415,7 @@ $pagenum = ''])
    -

    method getPathPaintOperator [line 22104]

    +

    method getPathPaintOperator [line 22291]

    @@ -12369,7 +12469,7 @@ $mode)
    -

    method getPDFData [line 10744]

    +

    method getPDFData [line 10892]

    @@ -12394,7 +12494,7 @@ $mode)
    -

    method getRemainingWidth [line 6393]

    +

    method getRemainingWidth [line 6479]

    @@ -12422,7 +12522,7 @@ $mode)
    -

    method getRTL [line 2869]

    +

    method getRTL [line 2931]

    @@ -12450,7 +12550,7 @@ $mode)
    -

    method getScaleFactor [line 3031]

    +

    method getScaleFactor [line 3093]

    @@ -12484,7 +12584,7 @@ $mode)
    -

    method getSpaceString [line 17584]

    +

    method getSpaceString [line 17736]

    @@ -12515,7 +12615,7 @@ $mode)
    -

    method getStringHeight [line 6011]

    +

    method getStringHeight [line 6097]

    @@ -12618,7 +12718,7 @@ $lineWidth = ''])
    -

    method GetStringWidth [line 4208]

    +

    method GetStringWidth [line 4274]

    @@ -12687,7 +12787,7 @@ $getarray = false])
    -

    method getSVGTransformMatrix [line 22577]

    +

    method getSVGTransformMatrix [line 22963]

    @@ -12732,7 +12832,7 @@ $attribute)
    -

    method getTagStyleFromCSS [line 16743]

    +

    method getTagStyleFromCSS [line 16895]

    @@ -12786,7 +12886,7 @@ $css)
    -

    method getTransformationMatrixProduct [line 22681]

    +

    method getTransformationMatrixProduct [line 23067]

    @@ -12837,7 +12937,7 @@ $tb)
    -

    method getUserPermissionCode [line 11266]

    +

    method getUserPermissionCode [line 11414]

    @@ -12885,7 +12985,7 @@ $mode = 0])
    -

    method getVectorsAngle [line 23313]

    +

    method getVectorsAngle [line 23699]

    @@ -12945,7 +13045,7 @@ $y2)
    -

    method GetX [line 7238]

    +

    method GetX [line 7328]

    @@ -12976,7 +13076,7 @@ $y2)
    -

    method GetY [line 7265]

    +

    method GetY [line 7355]

    @@ -13007,7 +13107,7 @@ $y2)
    -

    method get_mqr [line 6910]

    +

    method get_mqr [line 7000]

    @@ -13038,7 +13138,7 @@ $y2)
    -

    method Gradient [line 15224]

    +

    method Gradient [line 15376]

    @@ -13104,7 +13204,7 @@ $antialias = false])
    -

    method Header [line 3696]

    +

    method Header [line 3762]

    @@ -13129,7 +13229,7 @@ $antialias = false])
    -

    method hyphenateText [line 22031]

    +

    method hyphenateText [line 22218]

    @@ -13210,7 +13310,7 @@ $charmax = 8])
    -

    method hyphenateWord [line 21922]

    +

    method hyphenateWord [line 22109]

    @@ -13291,7 +13391,7 @@ $charmax = 8])
    -

    method Image [line 6599]

    +

    method Image [line 6685]

    @@ -13429,7 +13529,7 @@ $fitonpage = false])
    -

    method ImageEps [line 15571]

    +

    method ImageEps [line 15724]

    @@ -13531,7 +13631,7 @@ $fitonpage = false])
    -

    method ImagePngAlpha [line 7150]

    +

    method ImagePngAlpha [line 7240]

    @@ -13648,7 +13748,7 @@ $palign)
    -

    method ImageSVG [line 22306]

    +

    method ImageSVG [line 22692]

    @@ -13744,7 +13844,7 @@ $fitonpage = false])
    -

    method IncludeJS [line 13319]

    +

    method IncludeJS [line 13471]

    @@ -13786,7 +13886,7 @@ $script)
    -

    method intToRoman [line 20432]

    +

    method intToRoman [line 20584]

    @@ -13828,7 +13928,7 @@ $number)
    -

    method isRTLTextDir [line 2913]

    +

    method isRTLTextDir [line 2975]

    @@ -13856,7 +13956,7 @@ $number)
    -

    method isUnicodeFont [line 22244]

    +

    method isUnicodeFont [line 22431]

    @@ -13890,7 +13990,7 @@ $number)
    -

    method isValidCSSSelectorForTag [line 16584]

    +

    method isValidCSSSelectorForTag [line 16736]

    @@ -13944,7 +14044,7 @@ $selector)
    -

    method lastPage [line 3408]

    +

    method lastPage [line 3470]

    @@ -13986,7 +14086,7 @@ $resetmargins = false])
    -

    method Line [line 11946]

    +

    method Line [line 12098]

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

    method LinearGradient [line 15074]

    +

    method LinearGradient [line 15226]

    @@ -14130,7 +14230,7 @@ $coords = array(0,0,1,0)])
    -

    method Link [line 4694]

    +

    method Link [line 4772]

    @@ -14202,7 +14302,7 @@ $spaces = 0])
    -

    method ListBox [line 14027]

    +

    method ListBox [line 14179]

    @@ -14292,7 +14392,7 @@ $js = false])
    -

    method Ln [line 7207]

    +

    method Ln [line 7297]

    @@ -14340,7 +14440,7 @@ $cell = false])
    -

    method MirrorH [line 11551]

    +

    method MirrorH [line 11700]

    @@ -14382,7 +14482,7 @@ $x = ''])
    -

    method MirrorL [line 11587]

    +

    method MirrorL [line 11736]

    @@ -14436,7 +14536,7 @@ $y = ''])
    -

    method MirrorP [line 11574]

    +

    method MirrorP [line 11723]

    @@ -14484,7 +14584,7 @@ $y = ''])
    -

    method MirrorV [line 11562]

    +

    method MirrorV [line 11711]

    @@ -14526,7 +14626,7 @@ $y = ''])
    -

    method movePage [line 20991]

    +

    method movePage [line 21178]

    @@ -14574,7 +14674,7 @@ $topage)
    -

    method MultiCell [line 5562]

    +

    method MultiCell [line 5648]

    @@ -14712,7 +14812,7 @@ $fitcell = false])
    -

    method objclone [line 21674]

    +

    method objclone [line 21861]

    @@ -14754,7 +14854,7 @@ $object)
    -

    method Open [line 3307]

    +

    method Open [line 3369]

    @@ -14785,7 +14885,7 @@ $object)
    -

    method openHTMLTagHandler [line 18912]

    +

    method openHTMLTagHandler [line 19064]

    @@ -14839,7 +14939,7 @@ $dom)
    -

    method Output [line 7357]

    +

    method Output [line 7447]

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

    method PageNo [line 3915]

    +

    method PageNo [line 3981]

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

    method PageNoFormatted [line 14679]

    +

    method PageNoFormatted [line 14831]

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

    method PieSector [line 15510]

    +

    method PieSector [line 15663]

    @@ -15048,7 +15148,7 @@ $o:)
    -

    method PieSectorXY [line 15531]

    +

    method PieSectorXY [line 15684]

    @@ -15156,7 +15256,7 @@ $o:)
    -

    method pixelsToUnits [line 10863]

    +

    method pixelsToUnits [line 11011]

    @@ -15198,7 +15298,7 @@ $px)
    -

    method Polycurve [line 12056]

    +

    method Polycurve [line 12208]

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

    method Polygon [line 12262]

    +

    method Polygon [line 12414]

    @@ -15333,7 +15433,7 @@ $closed = true])
    -

    method PolyLine [line 12243]

    +

    method PolyLine [line 12395]

    @@ -15394,9 +15494,96 @@ $closed)
    [ Top ]
    +
    + +

    method printTemplate [line 22569]

    +
    +
    +
    + void printTemplate( +string +$id, [int +$x = ''], [int +$y = ''], [int +$w = 0], [int +$h = 0], [string +$align = ''], [string +$palign = ''], [boolean +$fitonpage = false]) +
    +

    + + Print an XObject Template.

    You can print an XObject Template inside the currently opened Template. An XObject Template is a PDF block that is a self-contained description of any sequence of graphics objects (including path objects, text objects, and sampled images). An XObject Template may be painted multiple times, either on several pages or at several locations on the same page and produces the same results each time, subject only to the graphics state at the time it is invoked.




    +

    Tags:

    +
    + + + + + + + + + + + + + +
    author:  Nicola Asuni
    see:  TCPDF::startTemplate(), TCPDF::endTemplate()
    since:  5.8.017 (2010-08-24)
    access:  public
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    string  $id  The ID of XObject Template to print.
    int  $x  X position in user units (empty string = current x position)
    int  $y  Y position in user units (empty string = current y position)
    int  $w  Width in user units (zero = remaining page width)
    int  $h  Height in user units (zero = remaining page height)
    string  $align  Indicates the alignment of the pointer next to template insertion relative to template 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
    string  $palign  Allows to center or align the template on the current line. Possible values are:
    • L : left align
    • C : center
    • R : right align
    • '' : empty string : left for LTR or right for RTL
    boolean  $fitonpage  if true the template is resized to not exceed page dimensions.
    +

    +
    [ Top ]
    +

    -

    method putHtmlListBullet [line 20497]

    +

    method putHtmlListBullet [line 20649]

    @@ -15447,7 +15634,7 @@ $size = 10])
    -

    method RadialGradient [line 15092]

    +

    method RadialGradient [line 15244]

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

    method RadioButton [line 13937]

    +

    method RadioButton [line 14089]

    @@ -15615,7 +15802,7 @@ $js = false])
    -

    method readDiskCache [line 20764]

    +

    method readDiskCache [line 20951]

    @@ -15663,7 +15850,7 @@ $file)
    -

    method Rect [line 11974]

    +

    method Rect [line 12126]

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

    method registrationMark [line 15043]

    +

    method registrationMark [line 15195]

    @@ -15813,7 +16000,7 @@ $colb = array(255,255,255)])
    -

    method RegularPolygon [line 12360]

    +

    method RegularPolygon [line 12512]

    @@ -15924,7 +16111,7 @@ $r:)
    -

    method removeSHY [line 4934]

    +

    method removeSHY [line 5016]

    @@ -15966,7 +16153,7 @@ $txt = ''])
    -

    method replaceBuffer [line 20792]

    +

    method replaceBuffer [line 20979]

    @@ -16005,7 +16192,7 @@ $data)
    -

    method revstrpos [line 21698]

    +

    method revstrpos [line 21885]

    @@ -16059,7 +16246,7 @@ $offset = 0])
    -

    method rfread [line 7118]

    +

    method rfread [line 7208]

    @@ -16110,7 +16297,7 @@ $length)
    -

    method rollbackTransaction [line 21645]

    +

    method rollbackTransaction [line 21832]

    @@ -16152,7 +16339,7 @@ $self = false])
    -

    method Rotate [line 11643]

    +

    method Rotate [line 11793]

    @@ -16206,7 +16393,7 @@ $y = ''])
    -

    method RoundedRect [line 12450]

    +

    method RoundedRect [line 12602]

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

    method RoundedRectXY [line 12469]

    +

    method RoundedRectXY [line 12621]

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

    method Scale [line 11519]

    +

    method Scale [line 11667]

    @@ -16446,7 +16633,7 @@ $y = ''])
    -

    method ScaleX [line 11479]

    +

    method ScaleX [line 11627]

    @@ -16500,7 +16687,7 @@ $y = ''])
    -

    method ScaleXY [line 11505]

    +

    method ScaleXY [line 11653]

    @@ -16554,7 +16741,7 @@ $y = ''])
    -

    method ScaleY [line 11492]

    +

    method ScaleY [line 11640]

    @@ -16608,7 +16795,7 @@ $y = ''])
    -

    method segSVGContentHandler [line 23798]

    +

    method segSVGContentHandler [line 24184]

    @@ -16656,7 +16843,7 @@ $data)
    -

    method selectColumn [line 21761]

    +

    method selectColumn [line 21948]

    @@ -16695,7 +16882,7 @@ $col = ''])
    -

    method serializeTCPDFtagParameters [line 21847]

    +

    method serializeTCPDFtagParameters [line 22034]

    @@ -16737,7 +16924,7 @@ $pararray)
    -

    method setAlpha [line 14792]

    +

    method setAlpha [line 14944]

    @@ -16782,7 +16969,7 @@ $bm = 'Normal'])
    -

    method SetAuthor [line 3256]

    +

    method SetAuthor [line 3318]

    @@ -16824,7 +17011,7 @@ $author)
    -

    method SetAutoPageBreak [line 3123]

    +

    method SetAutoPageBreak [line 3185]

    @@ -16872,7 +17059,7 @@ $margin = 0])
    -

    method setBarcode [line 15828]

    +

    method setBarcode [line 15981]

    @@ -16908,7 +17095,7 @@ $bc = ''])
    -

    method SetBooklet [line 20267]

    +

    method SetBooklet [line 20419]

    @@ -16959,7 +17146,7 @@ $outer = -1])
    -

    method setBuffer [line 20774]

    +

    method setBuffer [line 20961]

    @@ -16998,7 +17185,7 @@ $data)
    -

    method setCellHeightRatio [line 14826]

    +

    method setCellHeightRatio [line 14978]

    @@ -17037,7 +17224,7 @@ $h)
    -

    method SetCellPadding [line 3111]

    +

    method SetCellPadding [line 3173]

    @@ -17079,7 +17266,7 @@ $pad)
    -

    method setColumnsArray [line 21748]

    +

    method setColumnsArray [line 21935]

    @@ -17118,7 +17305,7 @@ $columns)
    -

    method SetCompression [line 3216]

    +

    method SetCompression [line 3278]

    @@ -17157,7 +17344,7 @@ $compress)
    -

    method setContentMark [line 3574]

    +

    method setContentMark [line 3640]

    @@ -17196,7 +17383,7 @@ $page = 0])
    -

    method SetCreator [line 3280]

    +

    method SetCreator [line 3342]

    @@ -17238,7 +17425,7 @@ $creator)
    -

    method SetDefaultMonospacedFont [line 4644]

    +

    method SetDefaultMonospacedFont [line 4714]

    @@ -17277,7 +17464,7 @@ $font)
    -

    method setDefaultTableColumns [line 14816]

    +

    method setDefaultTableColumns [line 14968]

    @@ -17316,7 +17503,7 @@ $cols = 4])
    -

    method SetDisplayMode [line 3138]

    +

    method SetDisplayMode [line 3200]

    @@ -17367,7 +17554,7 @@ $mode = 'UseNone'])
    -

    method SetDrawColor [line 3975]

    +

    method SetDrawColor [line 4041]

    @@ -17436,7 +17623,7 @@ $ret = false])
    -

    method SetDrawColorArray [line 3949]

    +

    method SetDrawColorArray [line 4015]

    @@ -17487,7 +17674,7 @@ $ret = false])
    -

    method SetDrawSpotColor [line 4020]

    +

    method SetDrawSpotColor [line 4086]

    @@ -17535,7 +17722,7 @@ $tint = 100])
    -

    method setEqualColumns [line 21715]

    +

    method setEqualColumns [line 21902]

    @@ -17586,7 +17773,7 @@ $y = ''])
    -

    method setExtGState [line 14758]

    +

    method setExtGState [line 14910]

    @@ -17625,7 +17812,7 @@ $gs)
    -

    method SetFillColor [line 4062]

    +

    method SetFillColor [line 4128]

    @@ -17685,7 +17872,7 @@ $col4 = -1])
    -

    method SetFillColorArray [line 4039]

    +

    method SetFillColorArray [line 4105]

    @@ -17727,7 +17914,7 @@ $color)
    -

    method SetFillSpotColor [line 4104]

    +

    method SetFillSpotColor [line 4170]

    @@ -17775,7 +17962,7 @@ $tint = 100])
    -

    method SetFont [line 4552]

    +

    method SetFont [line 4622]

    @@ -17844,7 +18031,7 @@ $subset = 'default'])
    -

    method setFontBuffer [line 20928]

    +

    method setFontBuffer [line 21115]

    @@ -17889,7 +18076,7 @@ $data)
    -

    method SetFontSize [line 4573]

    +

    method SetFontSize [line 4643]

    @@ -17937,7 +18124,7 @@ $out = true])
    -

    method setFontSubBuffer [line 20954]

    +

    method setFontSubBuffer [line 21141]

    @@ -17988,7 +18175,7 @@ $data)
    -

    method setFontSubsetting [line 22181]

    +

    method setFontSubsetting [line 22368]

    @@ -18030,7 +18217,7 @@ $enable = true])
    -

    method setFooter [line 3822]

    +

    method setFooter [line 3888]

    @@ -18058,7 +18245,7 @@ $enable = true])
    -

    method setFooterFont [line 10711]

    +

    method setFooterFont [line 10859]

    @@ -18097,7 +18284,7 @@ $font)
    -

    method setFooterMargin [line 3642]

    +

    method setFooterMargin [line 3708]

    @@ -18133,7 +18320,7 @@ $fm = 10])
    -

    method setFormDefaultProp [line 13821]

    +

    method setFormDefaultProp [line 13973]

    @@ -18175,13 +18362,14 @@ $prop = array()])
    -

    method setGraphicVars [line 20682]

    +

    method setGraphicVars [line 20851]

    void setGraphicVars( -$gvars -$gvars) +array +$gvars, [boolean +$extended = false])

    @@ -18204,9 +18392,14 @@ $gvars)
    - + - + + + + + +
    $gvars  array   $gvars  array graphic variablesarray of graphic variablesto restore
    boolean  $extended  if true restore extended graphic variables

    @@ -18214,7 +18407,7 @@ $gvars)

    -

    method setHeader [line 3785]

    +

    method setHeader [line 3851]

    @@ -18242,7 +18435,7 @@ $gvars)
    -

    method setHeaderData [line 3593]

    +

    method setHeaderData [line 3659]

    @@ -18296,7 +18489,7 @@ $hs = ''])
    -

    method setHeaderFont [line 10691]

    +

    method setHeaderFont [line 10839]

    @@ -18335,7 +18528,7 @@ $font)
    -

    method setHeaderMargin [line 3622]

    +

    method setHeaderMargin [line 3688]

    @@ -18371,7 +18564,7 @@ $hm = 10])
    -

    method setHtmlLinksStyle [line 20338]

    +

    method setHtmlLinksStyle [line 20490]

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

    method setHtmlVSpace [line 20307]

    +

    method setHtmlVSpace [line 20459]

    @@ -18455,7 +18648,7 @@ $tagvs)
    -

    method setImageBuffer [line 20869]

    +

    method setImageBuffer [line 21056]

    @@ -18500,7 +18693,7 @@ $data)
    -

    method setImageScale [line 2945]

    +

    method setImageScale [line 3007]

    @@ -18542,7 +18735,7 @@ $scale)
    -

    method setImageSubBuffer [line 20892]

    +

    method setImageSubBuffer [line 21079]

    @@ -18593,7 +18786,7 @@ $data)
    -

    method setJPEGQuality [line 14803]

    +

    method setJPEGQuality [line 14955]

    @@ -18632,7 +18825,7 @@ $quality)
    -

    method SetKeywords [line 3268]

    +

    method SetKeywords [line 3330]

    @@ -18674,7 +18867,7 @@ $keywords)
    -

    method setLanguageArray [line 10731]

    +

    method setLanguageArray [line 10879]

    @@ -18713,7 +18906,7 @@ $language)
    -

    method setLastH [line 2924]

    +

    method setLastH [line 2986]

    @@ -18755,7 +18948,7 @@ $h)
    -

    method SetLeftMargin [line 3067]

    +

    method SetLeftMargin [line 3129]

    @@ -18797,7 +18990,7 @@ $margin)
    -

    method SetLineStyle [line 11796]

    +

    method SetLineStyle [line 11948]

    @@ -18852,7 +19045,7 @@ $ret = false])
    -

    method SetLineWidth [line 11753]

    +

    method SetLineWidth [line 11905]

    @@ -18894,7 +19087,7 @@ $width)
    -

    method SetLink [line 4671]

    +

    method SetLink [line 4745]

    @@ -18948,7 +19141,7 @@ $page = -1])
    -

    method setListIndentWidth [line 20317]

    +

    method setListIndentWidth [line 20469]

    @@ -18987,7 +19180,7 @@ $width)
    -

    method setLIsymbol [line 20228]

    +

    method setLIsymbol [line 20380]

    @@ -19026,7 +19219,7 @@ $symbol = '!'])
    -

    method SetMargins [line 3045]

    +

    method SetMargins [line 3107]

    @@ -19086,7 +19279,7 @@ $keepmargins = false])
    -

    method setOpenCell [line 20327]

    +

    method setOpenCell [line 20479]

    @@ -19125,7 +19318,7 @@ $isopen)
    -

    method setPage [line 3361]

    +

    method setPage [line 3423]

    @@ -19173,7 +19366,7 @@ $resetmargins = false])
    -

    method setPageBoxes [line 2674]

    +

    method setPageBoxes [line 2736]

    @@ -19248,7 +19441,7 @@ $points = false])
    -

    method setPageBuffer [line 20826]

    +

    method setPageBuffer [line 21013]

    - + - + - +
    @@ -19299,13 +19492,13 @@ $append = false])
    -

    method setPageFormat [line 2556]

    +

    method setPageFormat [line 2618]

    void setPageFormat( mixed -$format, [ +$format, [string $orientation = 'P'])

    @@ -19334,12 +19527,12 @@ $orientation = 'P'])
    mixed   $format  The format used for pages. It can be either: one of the string values specified at getPageSizeFromFormat() documentation or an array containing page measures and advanced options:
    • ['format'] = page format name (one of the above);
    • ['Rotate'] : The number of degrees by which the page shall be rotated clockwise when displayed or printed. The value shall be a multiple of 90.
    • ['PZ'] : The page's preferred zoom (magnification) factor.
    • ['MediaBox'] : the boundaries of the physical medium on which the page shall be displayed or printed:
    • ['MediaBox']['llx'] : lower-left x coordinate in points
    • ['MediaBox']['lly'] : lower-left y coordinate in points
    • ['MediaBox']['urx'] : upper-right x coordinate in points
    • ['MediaBox']['ury'] : upper-right y coordinate in points
    • ['CropBox'] : the visible region of default user space:
    • ['CropBox']['llx'] : lower-left x coordinate in points
    • ['CropBox']['lly'] : lower-left y coordinate in points
    • ['CropBox']['urx'] : upper-right x coordinate in points
    • ['CropBox']['ury'] : upper-right y coordinate in points
    • ['BleedBox'] : the region to which the contents of the page shall be clipped when output in a production environment:
    • ['BleedBox']['llx'] : lower-left x coordinate in points
    • ['BleedBox']['lly'] : lower-left y coordinate in points
    • ['BleedBox']['urx'] : upper-right x coordinate in points
    • ['BleedBox']['ury'] : upper-right y coordinate in points
    • ['TrimBox'] : the intended dimensions of the finished page after trimming:
    • ['TrimBox']['llx'] : lower-left x coordinate in points
    • ['TrimBox']['lly'] : lower-left y coordinate in points
    • ['TrimBox']['urx'] : upper-right x coordinate in points
    • ['TrimBox']['ury'] : upper-right y coordinate in points
    • ['ArtBox'] : the extent of the page's meaningful content:
    • ['ArtBox']['llx'] : lower-left x coordinate in points
    • ['ArtBox']['lly'] : lower-left y coordinate in points
    • ['ArtBox']['urx'] : upper-right x coordinate in points
    • ['ArtBox']['ury'] : upper-right y coordinate in points
    • ['BoxColorInfo'] :specify the colours and other visual characteristics that should be used in displaying guidelines on the screen for each of the possible page boundaries other than the MediaBox:
    • ['BoxColorInfo'][BOXTYPE]['C'] : an array of three numbers in the range 0-255, representing the components in the DeviceRGB colour space.
    • ['BoxColorInfo'][BOXTYPE]['W'] : the guideline width in default user units
    • ['BoxColorInfo'][BOXTYPE]['S'] : the guideline style: S = Solid; D = Dashed
    • ['BoxColorInfo'][BOXTYPE]['D'] : dash array defining a pattern of dashes and gaps to be used in drawing dashed guidelines
    • ['trans'] : the style and duration of the visual transition to use when moving from another page to the given page during a presentation
    • ['trans']['Dur'] : The page's display duration (also called its advance timing): the maximum length of time, in seconds, that the page shall be displayed during presentations before the viewer application shall automatically advance to the next page.
    • ['trans']['S'] : transition style : Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade
    • ['trans']['D'] : The duration of the transition effect, in seconds.
    • ['trans']['Dm'] : (Split and Blinds transition styles only) The dimension in which the specified transition effect shall occur: H = Horizontal, V = Vertical. Default value: H.
    • ['trans']['M'] : (Split, Box and Fly transition styles only) The direction of motion for the specified transition effect: I = Inward from the edges of the page, O = Outward from the center of the pageDefault value: I.
    • ['trans']['Di'] : (Wipe, Glitter, Fly, Cover, Uncover and Push transition styles only) The direction in which the specified transition effect shall moves, expressed in degrees counterclockwise starting from a left-to-right direction. If the value is a number, it shall be one of: 0 = Left to right, 90 = Bottom to top (Wipe only), 180 = Right to left (Wipe only), 270 = Top to bottom, 315 = Top-left to bottom-right (Glitter only). If the value is a name, it shall be None, which is relevant only for the Fly transition when the value of SS is not 1.0. Default value: 0.
    • ['trans']['SS'] : (Fly transition style only) The starting or ending scale at which the changes shall be drawn. If M specifies an inward transition, the scale of the changes drawn shall progress from SS to 1.0 over the course of the transition. If M specifies an outward transition, the scale of the changes drawn shall progress from 1.0 to SS over the course of the transition. Default: 1.0.
    • ['trans']['B'] : (Fly transition style only) If true, the area that shall be flown in is rectangular and opaque. Default: false.
    The format used for pages. It can be either: one of the string values specified at getPageSizeFromFormat() documentation or an array of two numners (width, height) or an array containing the following measures and options:
    • ['format'] = page format name (one of the above);
    • ['Rotate'] : The number of degrees by which the page shall be rotated clockwise when displayed or printed. The value shall be a multiple of 90.
    • ['PZ'] : The page's preferred zoom (magnification) factor.
    • ['MediaBox'] : the boundaries of the physical medium on which the page shall be displayed or printed:
    • ['MediaBox']['llx'] : lower-left x coordinate in points
    • ['MediaBox']['lly'] : lower-left y coordinate in points
    • ['MediaBox']['urx'] : upper-right x coordinate in points
    • ['MediaBox']['ury'] : upper-right y coordinate in points
    • ['CropBox'] : the visible region of default user space:
    • ['CropBox']['llx'] : lower-left x coordinate in points
    • ['CropBox']['lly'] : lower-left y coordinate in points
    • ['CropBox']['urx'] : upper-right x coordinate in points
    • ['CropBox']['ury'] : upper-right y coordinate in points
    • ['BleedBox'] : the region to which the contents of the page shall be clipped when output in a production environment:
    • ['BleedBox']['llx'] : lower-left x coordinate in points
    • ['BleedBox']['lly'] : lower-left y coordinate in points
    • ['BleedBox']['urx'] : upper-right x coordinate in points
    • ['BleedBox']['ury'] : upper-right y coordinate in points
    • ['TrimBox'] : the intended dimensions of the finished page after trimming:
    • ['TrimBox']['llx'] : lower-left x coordinate in points
    • ['TrimBox']['lly'] : lower-left y coordinate in points
    • ['TrimBox']['urx'] : upper-right x coordinate in points
    • ['TrimBox']['ury'] : upper-right y coordinate in points
    • ['ArtBox'] : the extent of the page's meaningful content:
    • ['ArtBox']['llx'] : lower-left x coordinate in points
    • ['ArtBox']['lly'] : lower-left y coordinate in points
    • ['ArtBox']['urx'] : upper-right x coordinate in points
    • ['ArtBox']['ury'] : upper-right y coordinate in points
    • ['BoxColorInfo'] :specify the colours and other visual characteristics that should be used in displaying guidelines on the screen for each of the possible page boundaries other than the MediaBox:
    • ['BoxColorInfo'][BOXTYPE]['C'] : an array of three numbers in the range 0-255, representing the components in the DeviceRGB colour space.
    • ['BoxColorInfo'][BOXTYPE]['W'] : the guideline width in default user units
    • ['BoxColorInfo'][BOXTYPE]['S'] : the guideline style: S = Solid; D = Dashed
    • ['BoxColorInfo'][BOXTYPE]['D'] : dash array defining a pattern of dashes and gaps to be used in drawing dashed guidelines
    • ['trans'] : the style and duration of the visual transition to use when moving from another page to the given page during a presentation
    • ['trans']['Dur'] : The page's display duration (also called its advance timing): the maximum length of time, in seconds, that the page shall be displayed during presentations before the viewer application shall automatically advance to the next page.
    • ['trans']['S'] : transition style : Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade
    • ['trans']['D'] : The duration of the transition effect, in seconds.
    • ['trans']['Dm'] : (Split and Blinds transition styles only) The dimension in which the specified transition effect shall occur: H = Horizontal, V = Vertical. Default value: H.
    • ['trans']['M'] : (Split, Box and Fly transition styles only) The direction of motion for the specified transition effect: I = Inward from the edges of the page, O = Outward from the center of the pageDefault value: I.
    • ['trans']['Di'] : (Wipe, Glitter, Fly, Cover, Uncover and Push transition styles only) The direction in which the specified transition effect shall moves, expressed in degrees counterclockwise starting from a left-to-right direction. If the value is a number, it shall be one of: 0 = Left to right, 90 = Bottom to top (Wipe only), 180 = Right to left (Wipe only), 270 = Top to bottom, 315 = Top-left to bottom-right (Glitter only). If the value is a name, it shall be None, which is relevant only for the Fly transition when the value of SS is not 1.0. Default value: 0.
    • ['trans']['SS'] : (Fly transition style only) The starting or ending scale at which the changes shall be drawn. If M specifies an inward transition, the scale of the changes drawn shall progress from SS to 1.0 over the course of the transition. If M specifies an outward transition, the scale of the changes drawn shall progress from 1.0 to SS over the course of the transition. Default: 1.0.
    • ['trans']['B'] : (Fly transition style only) If true, the area that shall be flown in is rectangular and opaque. Default: false.
      string   $orientation  page orientation. Possible values are (case insensitive):
    • P or Portrait (default)
    • L or Landscape
    • '' (empty string) for automatic orientation

    @@ -19347,7 +19540,7 @@ $orientation = 'P'])
    -

    method setPageMark [line 3561]

    +

    method setPageMark [line 3627]

    @@ -19375,7 +19568,7 @@ $orientation = 'P'])
    -

    method setPageOrientation [line 2723]

    +

    method setPageOrientation [line 2785]

    - + @@ -19426,7 +19619,7 @@ $bottommargin = ''])
    -

    method setPageUnit [line 1844]

    +

    method setPageUnit [line 1858]

    @@ -19408,7 +19601,7 @@ $bottommargin = ''])
    string   $orientation  page orientation. Possible values are (case insensitive):
    • P or PORTRAIT (default)
    • L or LANDSCAPE
    page orientation. Possible values are (case insensitive):
    • P or Portrait (default)
    • L or Landscape
    • '' (empty string) for automatic orientation
    boolean  
    @@ -19465,7 +19658,7 @@ $unit)
    -

    method setPDFVersion [line 14845]

    +

    method setPDFVersion [line 14997]

    @@ -19504,7 +19697,7 @@ $version = '1.7'])
    -

    method setPrintFooter [line 3669]

    +

    method setPrintFooter [line 3735]

    @@ -19546,7 +19739,7 @@ $value)
    -

    method setPrintHeader [line 3660]

    +

    method setPrintHeader [line 3726]

    @@ -19582,7 +19775,7 @@ $val = true])
    -

    method SetProtection [line 11310]

    +

    method SetProtection [line 11458]

    @@ -19648,7 +19841,7 @@ $pubkeys = null])
    -

    method setRasterizeVectorImages [line 22078]

    +

    method setRasterizeVectorImages [line 22265]

    @@ -19687,7 +19880,7 @@ $mode)
    -

    method SetRightMargin [line 3097]

    +

    method SetRightMargin [line 3159]

    @@ -19729,7 +19922,7 @@ $margin)
    -

    method setRTL [line 2853]

    +

    method setRTL [line 2915]

    @@ -19774,7 +19967,7 @@ $resetx = true])
    -

    method setSignature [line 14482]

    +

    method setSignature [line 14634]

    @@ -19846,7 +20039,7 @@ $info = array()])
    -

    method setSignatureAppearance [line 14518]

    +

    method setSignatureAppearance [line 14670]

    @@ -19912,7 +20105,7 @@ $page = -1])
    -

    method setSpacesRE [line 2828]

    +

    method setSpacesRE [line 2890]

    @@ -19957,7 +20150,7 @@ $re = '/[^\S\xa0]/'])
    -

    method SetSubject [line 3244]

    +

    method SetSubject [line 3306]

    @@ -19999,7 +20192,7 @@ $subject)
    -

    method setSVGStyles [line 22738]

    +

    method setSVGStyles [line 23124]

    @@ -20083,7 +20276,7 @@ $clip_params = array()])
    -

    method setTableHeader [line 3869]

    +

    method setTableHeader [line 3935]

    @@ -20111,7 +20304,7 @@ $clip_params = array()])
    -

    method setTempRTL [line 2879]

    +

    method setTempRTL [line 2941]

    @@ -20150,7 +20343,7 @@ $mode)
    -

    method SetTextColor [line 4146]

    +

    method SetTextColor [line 4212]

    @@ -20210,7 +20403,7 @@ $col4 = -1])
    -

    method SetTextColorArray [line 4123]

    +

    method SetTextColorArray [line 4189]

    @@ -20252,7 +20445,7 @@ $color)
    -

    method setTextRenderingMode [line 21859]

    +

    method setTextRenderingMode [line 22046]

    @@ -20303,7 +20496,7 @@ $clip = false])
    -

    method SetTextSpotColor [line 4185]

    +

    method SetTextSpotColor [line 4251]

    @@ -20351,7 +20544,7 @@ $tint = 100])
    -

    method SetTitle [line 3232]

    +

    method SetTitle [line 3294]

    @@ -20393,7 +20586,7 @@ $title)
    -

    method SetTopMargin [line 3082]

    +

    method SetTopMargin [line 3144]

    @@ -20435,7 +20628,7 @@ $margin)
    -

    method setUserRights [line 14446]

    +

    method setUserRights [line 14598]

    @@ -20513,7 +20706,7 @@ $formex = ''])
    -

    method setViewerPreferences [line 14858]

    +

    method setViewerPreferences [line 15010]

    @@ -20555,7 +20748,7 @@ $preferences)
    -

    method setVisibility [line 14703]

    +

    method setVisibility [line 14855]

    @@ -20594,7 +20787,7 @@ $v)
    -

    method SetX [line 7278]

    +

    method SetX [line 7368]

    @@ -20642,7 +20835,7 @@ $rtloff = false])
    -

    method SetXY [line 7342]

    +

    method SetXY [line 7432]

    @@ -20696,7 +20889,7 @@ $rtloff = false])
    -

    method SetY [line 7310]

    +

    method SetY [line 7400]

    @@ -20750,7 +20943,7 @@ $rtloff = false])
    -

    method set_mqr [line 6895]

    +

    method set_mqr [line 6985]

    @@ -20789,7 +20982,7 @@ $mqr)
    -

    method Skew [line 11699]

    +

    method Skew [line 11850]

    @@ -20849,7 +21042,7 @@ $y = ''])
    -

    method SkewX [line 11672]

    +

    method SkewX [line 11823]

    @@ -20903,7 +21096,7 @@ $y = ''])
    -

    method SkewY [line 11685]

    +

    method SkewY [line 11836]

    @@ -20957,7 +21150,7 @@ $y = ''])
    -

    method StarPolygon [line 12408]

    +

    method StarPolygon [line 12560]

    @@ -21081,7 +21274,7 @@ $draw_circle:)
    -

    method startPage [line 3515]

    +

    method startPage [line 3581]

    @@ -21135,7 +21328,7 @@ $tocpage = false])
    -

    method startPageGroup [line 14538]

    +

    method startPageGroup [line 14690]

    @@ -21174,7 +21367,7 @@ $page = ''])
    -

    method startSVGElementHandler [line 23336]

    +

    method startSVGElementHandler [line 23722]

    @@ -21226,9 +21419,63 @@ $attribs)
    [ Top ]
    +
    + +

    method startTemplate [line 22485]

    +
    +
    +
    + int startTemplate( +[int +$w = 0], [int +$h = 0]) +
    +

    + + Start a new XObject Template.

    An XObject Template is a PDF block that is a self-contained description of any sequence of graphics objects (including path objects, text objects, and sampled images). An XObject Template may be painted multiple times, either on several pages or at several locations on the same page and produces the same results each time, subject only to the graphics state at the time it is invoked. Note: X,Y coordinates will be reset to 0,0.




    +

    Tags:

    +
    + + + + + + + + + + + + + + + + +
    return:  the XObject Template ID in case of success or false in case of error.
    author:  Nicola Asuni
    see:  TCPDF::endTemplate(), TCPDF::printTemplate()
    since:  5.8.017 (2010-08-24)
    access:  public
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + +
    int  $w  Template width in user units (empty string or zero = page width less margins)
    int  $h  Template height in user units (empty string or zero = page height less margins)
    +

    +
    [ Top ]
    +

    -

    method startTransaction [line 21614]

    +

    method startTransaction [line 21801]

    @@ -21256,7 +21503,7 @@ $attribs)
    -

    method StartTransform [line 11447]

    +

    method StartTransform [line 11595]

    @@ -21287,7 +21534,7 @@ $attribs)
    -

    method StopTransform [line 11462]

    +

    method StopTransform [line 11610]

    @@ -21318,7 +21565,7 @@ $attribs)
    -

    method stringLeftTrim [line 22205]

    +

    method stringLeftTrim [line 22392]

    @@ -21369,7 +21616,7 @@ $replace = ''])
    -

    method stringRightTrim [line 22218]

    +

    method stringRightTrim [line 22405]

    @@ -21420,7 +21667,7 @@ $replace = ''])
    -

    method stringTrim [line 22231]

    +

    method stringTrim [line 22418]

    @@ -21471,7 +21718,7 @@ $replace = ''])
    -

    method SVGPath [line 22993]

    +

    method SVGPath [line 23379]

    @@ -21522,7 +21769,7 @@ $style = ''])
    -

    method SVGTransform [line 22719]

    +

    method SVGTransform [line 23105]

    @@ -21561,7 +21808,7 @@ $tm)
    -

    method swapMargins [line 20283]

    +

    method swapMargins [line 20435]

    @@ -21600,7 +21847,7 @@ $reverse = true])
    -

    method swapPageBoxCoordinates [line 2700]

    +

    method swapPageBoxCoordinates [line 2762]

    @@ -21639,7 +21886,7 @@ $page)
    -

    method Text [line 4834]

    +

    method Text [line 4916]

    @@ -21771,7 +22018,7 @@ $rtloff = false])
    -

    method TextField [line 13850]

    +

    method TextField [line 14002]

    @@ -21855,7 +22102,7 @@ $js = false])
    -

    method Transform [line 11729]

    +

    method Transform [line 11881]

    @@ -21897,7 +22144,7 @@ $tm)
    -

    method Translate [line 11622]

    +

    method Translate [line 11771]

    @@ -21945,7 +22192,7 @@ $t_y)
    -

    method TranslateX [line 11599]

    +

    method TranslateX [line 11748]

    @@ -21987,7 +22234,7 @@ $t_x)
    -

    method TranslateY [line 11610]

    +

    method TranslateY [line 11759]

    @@ -22029,7 +22276,7 @@ $t_y)
    -

    method unhtmlentities [line 10874]

    +

    method unhtmlentities [line 11022]

    @@ -22068,7 +22315,7 @@ $text_to_convert)
    -

    method UniArrSubString [line 6432]

    +

    method UniArrSubString [line 6518]

    @@ -22122,7 +22369,7 @@ $end = ''])
    -

    method unichr [line 6465]

    +

    method unichr [line 6551]

    @@ -22167,7 +22414,7 @@ $c)
    -

    method UTF8ArrayToUniArray [line 6453]

    +

    method UTF8ArrayToUniArray [line 6539]

    @@ -22209,7 +22456,7 @@ $ta)
    -

    method UTF8ArrSubString [line 6409]

    +

    method UTF8ArrSubString [line 6495]

    @@ -22260,7 +22507,7 @@ $end = ''])
    -

    method UTF8ArrToLatin1 [line 10599]

    +

    method UTF8ArrToLatin1 [line 10747]

    @@ -22302,7 +22549,7 @@ $unicode)
    -

    method utf8Bidi [line 12630]

    +

    method utf8Bidi [line 12782]

    @@ -22359,7 +22606,7 @@ $forcertl = false])
    -

    method utf8StrArrRev [line 12616]

    +

    method utf8StrArrRev [line 12768]

    @@ -22419,7 +22666,7 @@ $forcertl = false])
    -

    method UTF8StringToArray [line 10434]

    +

    method UTF8StringToArray [line 10582]

    @@ -22485,7 +22732,7 @@ $str)
    -

    method utf8StrRev [line 12601]

    +

    method utf8StrRev [line 12753]

    @@ -22539,7 +22786,7 @@ $forcertl = false])
    -

    method UTF8ToLatin1 [line 10569]

    +

    method UTF8ToLatin1 [line 10717]

    @@ -22581,7 +22828,7 @@ $str)
    -

    method UTF8ToUTF16BE [line 10553]

    +

    method UTF8ToUTF16BE [line 10701]

    @@ -22632,7 +22879,7 @@ $setbom = true])
    -

    method Write [line 6052]

    +

    method Write [line 6138]

    @@ -22734,7 +22981,7 @@ $wadj = 0])
    -

    method write1DBarcode [line 15860]

    +

    method write1DBarcode [line 16012]

    @@ -22824,7 +23071,7 @@ $align = ''])
    -

    method write2DBarcode [line 16196]

    +

    method write2DBarcode [line 16348]

    @@ -22914,7 +23161,7 @@ $distort = false])
    -

    method writeBarcode [line 16141]

    +

    method writeBarcode [line 16293]

    @@ -23004,7 +23251,7 @@ $code)
    -

    method writeDiskCache [line 20736]

    +

    method writeDiskCache [line 20923]

    @@ -23061,7 +23308,7 @@ $file)
    -

    method writeHTML [line 17628]

    +

    method writeHTML [line 17780]

    @@ -23127,7 +23374,7 @@ $align = ''])
    -

    method writeHTMLCell [line 17612]

    +

    method writeHTMLCell [line 17764]

    @@ -23229,7 +23476,7 @@ $autopadding = true])
    -

    method _addfield [line 13422]

    +

    method _addfield [line 13574]

    @@ -23307,7 +23554,7 @@ $prop)
    -

    method _AES [line 11098]

    +

    method _AES [line 11246]

    @@ -23358,7 +23605,7 @@ $text)
    -

    method _beginpage [line 10103]

    +

    method _beginpage [line 10248]

    @@ -23403,7 +23650,7 @@ $format = ''])
    -

    method _datastring [line 10284]

    +

    method _datastring [line 10429]

    @@ -23448,7 +23695,7 @@ $n = 0])
    -

    method _datestring [line 10299]

    +

    method _datestring [line 10444]

    @@ -23490,7 +23737,7 @@ $n = 0])
    -

    method _destroy [line 7551]

    +

    method _destroy [line 7641]

    @@ -23535,7 +23782,7 @@ $preserve_objcopy = false])
    -

    method _dochecks [line 7579]

    +

    method _dochecks [line 7669]

    @@ -23560,7 +23807,7 @@ $preserve_objcopy = false])
    -

    method _dolinethrough [line 10210]

    +

    method _dolinethrough [line 10355]

    @@ -23608,7 +23855,7 @@ $txt)
    -

    method _dolinethroughw [line 10223]

    +

    method _dolinethroughw [line 10368]

    @@ -23665,7 +23912,7 @@ $txt)
    -

    method _dooverline [line 10236]

    +

    method _dooverline [line 10381]

    @@ -23716,7 +23963,7 @@ $txt)
    -

    method _dooverlinew [line 10249]

    +

    method _dooverlinew [line 10394]

    @@ -23767,7 +24014,7 @@ $w)
    -

    method _dounderline [line 10185]

    +

    method _dounderline [line 10330]

    @@ -23815,7 +24062,7 @@ $txt)
    -

    method _dounderlinew [line 10198]

    +

    method _dounderlinew [line 10343]

    @@ -23866,7 +24113,7 @@ $w)
    -

    method _encrypt_data [line 10907]

    +

    method _encrypt_data [line 11055]

    @@ -23914,7 +24161,7 @@ $s)
    -

    method _enddoc [line 10031]

    +

    method _enddoc [line 10176]

    @@ -23939,7 +24186,7 @@ $s)
    -

    method _endpage [line 10147]

    +

    method _endpage [line 10292]

    @@ -23964,7 +24211,7 @@ $s)
    -

    method _escape [line 10272]

    +

    method _escape [line 10417]

    @@ -24003,7 +24250,7 @@ $s)
    -

    method _escapetext [line 10327]

    +

    method _escapetext [line 10472]

    @@ -24045,7 +24292,7 @@ $s)
    -

    method _freadint [line 10261]

    +

    method _freadint [line 10406]

    @@ -24084,7 +24331,7 @@ $f)
    -

    method _generateencryptionkey [line 11185]

    +

    method _generateencryptionkey [line 11333]

    @@ -24138,7 +24385,7 @@ $protection)
    -

    method _getannotsrefs [line 7827]

    +

    method _getannotsrefs [line 7917]

    @@ -24180,7 +24427,7 @@ $n)
    -

    method _getBYTE [line 8561]

    +

    method _getBYTE [line 8651]

    @@ -24243,7 +24490,7 @@ $offset)
    -

    method _getfontpath [line 7595]

    +

    method _getfontpath [line 7685]

    @@ -24268,7 +24515,7 @@ $offset)
    -

    method _getobj [line 10169]

    +

    method _getobj [line 10314]

    @@ -24310,7 +24557,7 @@ $objid = ''])
    -

    method _getrawstream [line 10347]

    +

    method _getrawstream [line 10492]

    @@ -24358,7 +24605,7 @@ $n = 0])
    -

    method _getSHORT [line 8546]

    +

    method _getSHORT [line 8636]

    @@ -24421,7 +24668,7 @@ $offset)
    -

    method _getstream [line 10362]

    +

    method _getstream [line 10507]

    @@ -24466,7 +24713,7 @@ $n = 0])
    -

    method _getTrueTypeFontSubset [line 8576]

    +

    method _getTrueTypeFontSubset [line 8666]

    @@ -24517,7 +24764,7 @@ $subsetchars)
    -

    method _getTTFtableChecksum [line 8907]

    +

    method _getTTFtableChecksum [line 8997]

    @@ -24568,7 +24815,7 @@ $length)
    -

    method _getULONG [line 8516]

    +

    method _getULONG [line 8606]

    @@ -24631,7 +24878,7 @@ $offset)
    -

    method _getUSHORT [line 8531]

    +

    method _getUSHORT [line 8621]

    @@ -24694,7 +24941,7 @@ $offset)
    -

    method _getxobjectdict [line 9718]

    +

    method _getxobjectdict [line 9862]

    @@ -24725,7 +24972,7 @@ $offset)
    -

    method _JScolor [line 13398]

    +

    method _JScolor [line 13550]

    @@ -24767,7 +25014,7 @@ $color)
    -

    method _md5_16 [line 11116]

    +

    method _md5_16 [line 11264]

    @@ -24812,7 +25059,7 @@ $str)
    -

    method _newobj [line 10157]

    +

    method _newobj [line 10302]

    @@ -24840,7 +25087,7 @@ $str)
    -

    method _objectkey [line 10888]

    +

    method _objectkey [line 11036]

    @@ -24882,7 +25129,7 @@ $n)
    -

    method _out [line 10382]

    +

    method _out [line 10527]

    @@ -24918,7 +25165,7 @@ $s)
    -

    method _outCurve [line 11901]

    +

    method _outCurve [line 12053]

    @@ -24987,7 +25234,7 @@ $y3)
    -

    method _outCurveV [line 11915]

    +

    method _outCurveV [line 12067]

    @@ -25044,7 +25291,7 @@ $y3)
    -

    method _outCurveY [line 11931]

    +

    method _outCurveY [line 12083]

    @@ -25113,7 +25360,7 @@ $y2)
    -

    method _outellipticalarc [line 12127]

    +

    method _outellipticalarc [line 12279]

    @@ -25221,7 +25468,7 @@ $angf:)
    -

    method _outLine [line 11871]

    +

    method _outLine [line 12023]

    @@ -25266,7 +25513,7 @@ $y)
    -

    method _outPoint [line 11859]

    +

    method _outPoint [line 12011]

    @@ -25311,7 +25558,7 @@ $y)
    -

    method _outRect [line 11885]

    +

    method _outRect [line 12037]

    @@ -25374,7 +25621,7 @@ $op)
    -

    method _Ovalue [line 11129]

    +

    method _Ovalue [line 11277]

    @@ -25425,7 +25672,7 @@ $owner_pass)
    -

    method _parsejpeg [line 6987]

    +

    method _parsejpeg [line 7077]

    @@ -25464,7 +25711,7 @@ $file)
    -

    method _parsepng [line 7013]

    +

    method _parsepng [line 7103]

    @@ -25503,7 +25750,7 @@ $file)
    -

    method _putannotsobjs [line 7863]

    +

    method _putannotsobjs [line 7953]

    @@ -25534,7 +25781,7 @@ $file)
    -

    method _putannotsrefs [line 7815]

    +

    method _putannotsrefs [line 7905]

    @@ -25579,7 +25826,7 @@ $n)
    -

    method _putAPXObject [line 8475]

    +

    method _putAPXObject [line 8565]

    @@ -25633,7 +25880,7 @@ $stream = ''])
    -

    method _putbookmarks [line 13235]

    +

    method _putbookmarks [line 13387]

    @@ -25664,7 +25911,7 @@ $stream = ''])
    -

    method _putcatalog [line 9856]

    +

    method _putcatalog [line 10001]

    @@ -25692,7 +25939,7 @@ $stream = ''])
    -

    method _putcidfont0 [line 9571]

    +

    method _putcidfont0 [line 9661]

    @@ -25734,7 +25981,7 @@ $font)
    -

    method _putEmbeddedFiles [line 4792]

    +

    method _putEmbeddedFiles [line 4874]

    @@ -25765,7 +26012,7 @@ $font)
    -

    method _putencryption [line 10931]

    +

    method _putencryption [line 11079]

    @@ -25796,7 +26043,7 @@ $font)
    -

    method _putextgstates [line 14768]

    +

    method _putextgstates [line 14920]

    @@ -25835,7 +26082,7 @@ $gs)
    -

    method _putfonts [line 9028]

    +

    method _putfonts [line 9118]

    @@ -25863,7 +26110,7 @@ $gs)
    -

    method _putfontwidths [line 8929]

    +

    method _putfontwidths [line 9019]

    @@ -25914,7 +26161,7 @@ $cidoffset = 0])
    -

    method _putheader [line 10023]

    +

    method _putheader [line 10168]

    @@ -25939,7 +26186,7 @@ $cidoffset = 0])
    -

    method _putimages [line 9641]

    +

    method _putimages [line 9731]

    @@ -25964,7 +26211,7 @@ $cidoffset = 0])
    -

    method _putinfo [line 9809]

    +

    method _putinfo [line 9954]

    @@ -25992,7 +26239,7 @@ $cidoffset = 0])
    -

    method _putjavascript [line 13344]

    +

    method _putjavascript [line 13496]

    @@ -26023,7 +26270,7 @@ $cidoffset = 0])
    -

    method _putocg [line 14688]

    +

    method _putocg [line 14840]

    @@ -26051,7 +26298,7 @@ $cidoffset = 0])
    -

    method _putpages [line 7606]

    +

    method _putpages [line 7696]

    @@ -26076,7 +26323,7 @@ $cidoffset = 0])
    -

    method _putresourcedict [line 9730]

    +

    method _putresourcedict [line 9874]

    @@ -26101,7 +26348,7 @@ $cidoffset = 0])
    -

    method _putresources [line 9788]

    +

    method _putresources [line 9932]

    @@ -26126,7 +26373,7 @@ $cidoffset = 0])
    -

    method _putshaders [line 15322]

    +

    method _putshaders [line 15474]

    @@ -26157,7 +26404,7 @@ $cidoffset = 0])
    -

    method _putsignature [line 14361]

    +

    method _putsignature [line 14513]

    @@ -26188,7 +26435,7 @@ $cidoffset = 0])
    -

    method _putspotcolors [line 9698]

    +

    method _putspotcolors [line 9842]

    @@ -26216,7 +26463,7 @@ $cidoffset = 0])
    -

    method _putstream [line 10373]

    +

    method _putstream [line 10518]

    diff --git a/examples/index.php b/examples/index.php index 93a8d56..39144f8 100644 --- a/examples/index.php +++ b/examples/index.php @@ -80,6 +80,7 @@ echo '<'.'?'.'xml version="1.0" encoding="UTF-8"'.'?'.'>';
  • Table Of Content with HTML templates: [PDF]
  • Advanced page settings: [PDF]
  • XHTML + CSS: [PDF]
  • +
  • XObject Templates: [PDF]
  • diff --git a/tcpdf.php b/tcpdf.php index 4a3ec14..a0c749c 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ automatic page numbering and page groups; *
  • move and delete pages;
  • *
  • page compression (requires php-zlib extension);
  • + *
  • XOBject Templates;
  • * * Tools to encode your unicode fonts are on fonts/utils directory.

    * @package com.tecnick.tcpdf @@ -126,7 +128,7 @@ * @copyright 2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version 5.8.016 + * @version 5.8.017 */ /** @@ -150,14 +152,14 @@ if (!class_exists('TCPDF', false)) { /** * define default PDF document producer */ - define('PDF_PRODUCER', 'TCPDF 5.8.016 (http://www.tcpdf.org)'); + define('PDF_PRODUCER', 'TCPDF 5.8.017 (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 5.8.016 + * @version 5.8.017 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -1520,6 +1522,20 @@ if (!class_exists('TCPDF', false)) { */ protected $xobjects = array(); + /** + * @var boolean true when we are inside a XObject + * @access protected + * @since 5.8.017 (2010-08-24) + */ + protected $inxobj = false; + + /** + * @var current XObject ID + * @access protected + * @since 5.8.017 (2010-08-24) + */ + protected $xobjid = ''; + /** * @var directory used for the last SVG image * @access protected @@ -1681,10 +1697,8 @@ if (!class_exists('TCPDF', false)) { /** * This is the class constructor. - * It allows to set up the page format, the orientation and - * the measure unit used in all the methods (except for the font sizes). - * @since 1.0 - * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or Portrait (default)
    • L or Landscape
    + * It allows to set up the page format, the orientation and the measure unit used in all the methods (except for the font sizes). + * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or Portrait (default)
    • L or Landscape
    • '' (empty string) for automatic orientation
    * @param string $unit User measure unit. Possible values are:
    • pt: point
    • mm: millimeter (default)
    • cm: centimeter
    • in: inch

    A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This is a very common unit in typography; font sizes are expressed in that unit. * @param mixed $format The format used for pages. It can be either: one of the string values specified at getPageSizeFromFormat() or an array of parameters specified at setPageFormat(). * @param boolean $unicode TRUE means that the input text is unicode (default = true) @@ -2548,7 +2562,55 @@ if (!class_exists('TCPDF', false)) { /** * Change the format of the current page - * @param mixed $format The format used for pages. It can be either: one of the string values specified at getPageSizeFromFormat() documentation or an array containing page measures and advanced options:
    • ['format'] = page format name (one of the above);
    • ['Rotate'] : The number of degrees by which the page shall be rotated clockwise when displayed or printed. The value shall be a multiple of 90.
    • ['PZ'] : The page's preferred zoom (magnification) factor.
    • ['MediaBox'] : the boundaries of the physical medium on which the page shall be displayed or printed:
    • ['MediaBox']['llx'] : lower-left x coordinate in points
    • ['MediaBox']['lly'] : lower-left y coordinate in points
    • ['MediaBox']['urx'] : upper-right x coordinate in points
    • ['MediaBox']['ury'] : upper-right y coordinate in points
    • ['CropBox'] : the visible region of default user space:
    • ['CropBox']['llx'] : lower-left x coordinate in points
    • ['CropBox']['lly'] : lower-left y coordinate in points
    • ['CropBox']['urx'] : upper-right x coordinate in points
    • ['CropBox']['ury'] : upper-right y coordinate in points
    • ['BleedBox'] : the region to which the contents of the page shall be clipped when output in a production environment:
    • ['BleedBox']['llx'] : lower-left x coordinate in points
    • ['BleedBox']['lly'] : lower-left y coordinate in points
    • ['BleedBox']['urx'] : upper-right x coordinate in points
    • ['BleedBox']['ury'] : upper-right y coordinate in points
    • ['TrimBox'] : the intended dimensions of the finished page after trimming:
    • ['TrimBox']['llx'] : lower-left x coordinate in points
    • ['TrimBox']['lly'] : lower-left y coordinate in points
    • ['TrimBox']['urx'] : upper-right x coordinate in points
    • ['TrimBox']['ury'] : upper-right y coordinate in points
    • ['ArtBox'] : the extent of the page's meaningful content:
    • ['ArtBox']['llx'] : lower-left x coordinate in points
    • ['ArtBox']['lly'] : lower-left y coordinate in points
    • ['ArtBox']['urx'] : upper-right x coordinate in points
    • ['ArtBox']['ury'] : upper-right y coordinate in points
    • ['BoxColorInfo'] :specify the colours and other visual characteristics that should be used in displaying guidelines on the screen for each of the possible page boundaries other than the MediaBox:
    • ['BoxColorInfo'][BOXTYPE]['C'] : an array of three numbers in the range 0-255, representing the components in the DeviceRGB colour space.
    • ['BoxColorInfo'][BOXTYPE]['W'] : the guideline width in default user units
    • ['BoxColorInfo'][BOXTYPE]['S'] : the guideline style: S = Solid; D = Dashed
    • ['BoxColorInfo'][BOXTYPE]['D'] : dash array defining a pattern of dashes and gaps to be used in drawing dashed guidelines
    • ['trans'] : the style and duration of the visual transition to use when moving from another page to the given page during a presentation
    • ['trans']['Dur'] : The page's display duration (also called its advance timing): the maximum length of time, in seconds, that the page shall be displayed during presentations before the viewer application shall automatically advance to the next page.
    • ['trans']['S'] : transition style : Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade
    • ['trans']['D'] : The duration of the transition effect, in seconds.
    • ['trans']['Dm'] : (Split and Blinds transition styles only) The dimension in which the specified transition effect shall occur: H = Horizontal, V = Vertical. Default value: H.
    • ['trans']['M'] : (Split, Box and Fly transition styles only) The direction of motion for the specified transition effect: I = Inward from the edges of the page, O = Outward from the center of the pageDefault value: I.
    • ['trans']['Di'] : (Wipe, Glitter, Fly, Cover, Uncover and Push transition styles only) The direction in which the specified transition effect shall moves, expressed in degrees counterclockwise starting from a left-to-right direction. If the value is a number, it shall be one of: 0 = Left to right, 90 = Bottom to top (Wipe only), 180 = Right to left (Wipe only), 270 = Top to bottom, 315 = Top-left to bottom-right (Glitter only). If the value is a name, it shall be None, which is relevant only for the Fly transition when the value of SS is not 1.0. Default value: 0.
    • ['trans']['SS'] : (Fly transition style only) The starting or ending scale at which the changes shall be drawn. If M specifies an inward transition, the scale of the changes drawn shall progress from SS to 1.0 over the course of the transition. If M specifies an outward transition, the scale of the changes drawn shall progress from 1.0 to SS over the course of the transition. Default: 1.0.
    • ['trans']['B'] : (Fly transition style only) If true, the area that shall be flown in is rectangular and opaque. Default: false.
    + * @param mixed $format The format used for pages. It can be either: one of the string values specified at getPageSizeFromFormat() documentation or an array of two numners (width, height) or an array containing the following measures and options:
      + *
    • ['format'] = page format name (one of the above);
    • + *
    • ['Rotate'] : The number of degrees by which the page shall be rotated clockwise when displayed or printed. The value shall be a multiple of 90.
    • + *
    • ['PZ'] : The page's preferred zoom (magnification) factor.
    • + *
    • ['MediaBox'] : the boundaries of the physical medium on which the page shall be displayed or printed:
    • + *
    • ['MediaBox']['llx'] : lower-left x coordinate in points
    • + *
    • ['MediaBox']['lly'] : lower-left y coordinate in points
    • + *
    • ['MediaBox']['urx'] : upper-right x coordinate in points
    • + *
    • ['MediaBox']['ury'] : upper-right y coordinate in points
    • + *
    • ['CropBox'] : the visible region of default user space:
    • + *
    • ['CropBox']['llx'] : lower-left x coordinate in points
    • + *
    • ['CropBox']['lly'] : lower-left y coordinate in points
    • + *
    • ['CropBox']['urx'] : upper-right x coordinate in points
    • + *
    • ['CropBox']['ury'] : upper-right y coordinate in points
    • + *
    • ['BleedBox'] : the region to which the contents of the page shall be clipped when output in a production environment:
    • + *
    • ['BleedBox']['llx'] : lower-left x coordinate in points
    • + *
    • ['BleedBox']['lly'] : lower-left y coordinate in points
    • + *
    • ['BleedBox']['urx'] : upper-right x coordinate in points
    • + *
    • ['BleedBox']['ury'] : upper-right y coordinate in points
    • + *
    • ['TrimBox'] : the intended dimensions of the finished page after trimming:
    • + *
    • ['TrimBox']['llx'] : lower-left x coordinate in points
    • + *
    • ['TrimBox']['lly'] : lower-left y coordinate in points
    • + *
    • ['TrimBox']['urx'] : upper-right x coordinate in points
    • + *
    • ['TrimBox']['ury'] : upper-right y coordinate in points
    • + *
    • ['ArtBox'] : the extent of the page's meaningful content:
    • + *
    • ['ArtBox']['llx'] : lower-left x coordinate in points
    • + *
    • ['ArtBox']['lly'] : lower-left y coordinate in points
    • + *
    • ['ArtBox']['urx'] : upper-right x coordinate in points
    • + *
    • ['ArtBox']['ury'] : upper-right y coordinate in points
    • + *
    • ['BoxColorInfo'] :specify the colours and other visual characteristics that should be used in displaying guidelines on the screen for each of the possible page boundaries other than the MediaBox:
    • + *
    • ['BoxColorInfo'][BOXTYPE]['C'] : an array of three numbers in the range 0-255, representing the components in the DeviceRGB colour space.
    • + *
    • ['BoxColorInfo'][BOXTYPE]['W'] : the guideline width in default user units
    • + *
    • ['BoxColorInfo'][BOXTYPE]['S'] : the guideline style: S = Solid; D = Dashed
    • + *
    • ['BoxColorInfo'][BOXTYPE]['D'] : dash array defining a pattern of dashes and gaps to be used in drawing dashed guidelines
    • + *
    • ['trans'] : the style and duration of the visual transition to use when moving from another page to the given page during a presentation
    • + *
    • ['trans']['Dur'] : The page's display duration (also called its advance timing): the maximum length of time, in seconds, that the page shall be displayed during presentations before the viewer application shall automatically advance to the next page.
    • + *
    • ['trans']['S'] : transition style : Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade
    • + *
    • ['trans']['D'] : The duration of the transition effect, in seconds.
    • + *
    • ['trans']['Dm'] : (Split and Blinds transition styles only) The dimension in which the specified transition effect shall occur: H = Horizontal, V = Vertical. Default value: H.
    • + *
    • ['trans']['M'] : (Split, Box and Fly transition styles only) The direction of motion for the specified transition effect: I = Inward from the edges of the page, O = Outward from the center of the pageDefault value: I.
    • + *
    • ['trans']['Di'] : (Wipe, Glitter, Fly, Cover, Uncover and Push transition styles only) The direction in which the specified transition effect shall moves, expressed in degrees counterclockwise starting from a left-to-right direction. If the value is a number, it shall be one of: 0 = Left to right, 90 = Bottom to top (Wipe only), 180 = Right to left (Wipe only), 270 = Top to bottom, 315 = Top-left to bottom-right (Glitter only). If the value is a name, it shall be None, which is relevant only for the Fly transition when the value of SS is not 1.0. Default value: 0.
    • + *
    • ['trans']['SS'] : (Fly transition style only) The starting or ending scale at which the changes shall be drawn. If M specifies an inward transition, the scale of the changes drawn shall progress from SS to 1.0 over the course of the transition. If M specifies an outward transition, the scale of the changes drawn shall progress from 1.0 to SS over the course of the transition. Default: 1.0.
    • + *
    • ['trans']['B'] : (Fly transition style only) If true, the area that shall be flown in is rectangular and opaque. Default: false.
    • + *
    + * @param string $orientation page orientation. Possible values are (case insensitive):
      + *
    • P or Portrait (default)
    • + *
    • L or Landscape
    • + *
    • '' (empty string) for automatic orientation
    • + *
    * @access protected * @since 3.0.015 (2008-06-06) * @see getPageSizeFromFormat() @@ -2714,7 +2776,7 @@ if (!class_exists('TCPDF', false)) { /** * Set page orientation. - * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or PORTRAIT (default)
    • L or LANDSCAPE
    + * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or Portrait (default)
    • L or Landscape
    • '' (empty string) for automatic orientation
    * @param boolean $autopagebreak Boolean indicating if auto-page-break mode should be on or off. * @param float $bottommargin bottom margin of the page. * @access public @@ -3466,6 +3528,10 @@ if (!class_exists('TCPDF', false)) { * @see startPage(), endPage(), addTOCPage(), endTOCPage(), getPageSizeFromFormat(), setPageFormat() */ public function AddPage($orientation='', $format='', $keepmargins=false, $tocpage=false) { + if ($this->inxobj) { + // we are inside a template + return; + } if (!isset($this->original_lMargin) OR $keepmargins) { $this->original_lMargin = $this->lMargin; } @@ -4499,6 +4565,10 @@ if (!class_exists('TCPDF', false)) { // initialize subsetchars to contain default ASCII values (0-255) $subsetchars = array_fill(0, 256, true); $this->setFontBuffer($fontkey, array('fontkey' => $fontkey, 'i' => $this->numfonts, 'type' => $type, 'name' => $name, 'desc' => $desc, 'up' => $up, 'ut' => $ut, 'cw' => $cw, 'dw' => $dw, 'enc' => $enc, 'cidinfo' => $cidinfo, 'file' => $file, 'ctg' => $ctg, 'subset' => $subset, 'subsetchars' => $subsetchars)); + if ($this->inxobj) { + // we are inside a template + $this->xobjects[$this->xobjid]['fonts'][$fontkey] = $this->numfonts; + } if (isset($diff) AND (!empty($diff))) { //Search existing encodings $d = 0; @@ -4653,6 +4723,10 @@ if (!class_exists('TCPDF', false)) { * @see Cell(), Write(), Image(), Link(), SetLink() */ public function AddLink() { + if ($this->inxobj) { + // we are inside a template + return; + } //Create a new internal link $n = count($this->links) + 1; $this->links[$n] = array(0, 0); @@ -4669,6 +4743,10 @@ if (!class_exists('TCPDF', false)) { * @see AddLink() */ public function SetLink($link, $y=0, $page=-1) { + if ($this->inxobj) { + // we are inside a template + return; + } if ($y == -1) { $y = $this->y; } @@ -4709,6 +4787,10 @@ if (!class_exists('TCPDF', false)) { * @since 4.0.018 (2008-08-06) */ public function Annotation($x, $y, $w, $h, $text, $opt=array('Subtype'=>'Text'), $spaces=0) { + if ($this->inxobj) { + // we are inside a template + return; + } if ($x === '') { $x = $this->x; } @@ -4983,7 +5065,7 @@ if (!class_exists('TCPDF', false)) { * @param int $stretch stretch carachter mode:
    • 0 = disabled
    • 1 = horizontal scaling only if necessary
    • 2 = forced horizontal scaling
    • 3 = character spacing only if necessary
    • 4 = forced character spacing
    * @param boolean $ignore_min_height if true ignore automatic minimum height value. * @param string $calign cell vertical alignment relative to the specified Y value. Possible values are:
    • T : cell top
    • C : center
    • B : cell bottom
    • A : font top
    • L : font baseline
    • D : font bottom
    - * @param string $valign text vertical alignment inside the cell. Possible values are:
    • T : top
    • C : center
    • B : bottom
    + * @param string $valign text vertical alignment inside the cell. Possible values are:
    • T : top
    • M : middle
    • B : bottom
    * @return string containing cell code * @access protected * @since 1.0 @@ -5017,6 +5099,7 @@ if (!class_exists('TCPDF', false)) { break; } default: + case 'C': case 'M': { // center $y -= (($h - $this->FontAscent - $this->FontDescent) / 2); @@ -5039,6 +5122,7 @@ if (!class_exists('TCPDF', false)) { break; } default: + case 'C': case 'M': { // center $y -= (($h + $this->FontAscent - $this->FontDescent) / 2); @@ -5061,6 +5145,7 @@ if (!class_exists('TCPDF', false)) { break; } default: + case 'C': case 'M': { // center $y -= (($h + $this->FontAscent + $this->FontDescent) / 2); @@ -5098,6 +5183,7 @@ if (!class_exists('TCPDF', false)) { break; } default: + case 'C': case 'M': { // center $basefonty = $y + (($h + $this->FontAscent - $this->FontDescent) / 2); @@ -6858,7 +6944,7 @@ if (!class_exists('TCPDF', false)) { if ($link) { $this->Link($ximg, $y, $w, $h, $link, 0); } - // set pointer to align the successive text/objects + // set pointer to align the next text/objects switch($align) { case 'T': { $this->y = $y; @@ -6884,6 +6970,10 @@ if (!class_exists('TCPDF', false)) { } } $this->endlinex = $this->img_rb_x; + if ($this->inxobj) { + // we are inside a template + $this->xobjects[$this->xobjid]['images'][] = $info['i']; + } return $info['i']; } @@ -8475,7 +8565,7 @@ if (!class_exists('TCPDF', false)) { protected function _putAPXObject($w=0, $h=0, $stream='') { $stream = trim($stream); $out = $this->_getobj()."\n"; - $this->xobjects['AX'.$this->n] = $this->n; + $this->xobjects['AX'.$this->n] = array('n' => $this->n); $out .= '<<'; $out .= ' /Type /XObject'; $out .= ' /Subtype /Form'; @@ -9643,7 +9733,7 @@ if (!class_exists('TCPDF', false)) { foreach ($this->imagekeys as $file) { $info = $this->getImageBuffer($file); $oid = $this->_newobj(); - $this->xobjects['I'.$info['i']] = $oid; + $this->xobjects['I'.$info['i']] = array('n' => $oid); $this->setImageSubBuffer($file, 'n', $this->n); $out = '<xobjects as $key => $data) { + if (isset($data['outdata'])) { + $stream = trim($data['outdata']); + $out = $this->_getobj($data['n'])."\n"; + $out .= '<<'; + $out .= ' /Type /XObject'; + $out .= ' /Subtype /Form'; + $out .= ' /FormType 1'; + if ($this->compress) { + $stream = gzcompress($stream); + $out .= ' /Filter /FlateDecode'; + } + $out .= sprintf(' /BBox [0 0 %.2F %.2F]', ($data['w'] * $this->k), ($data['h'] * $this->k)); + $out .= ' /Matrix [1 0 0 1 0 0]'; + $out .= ' /Resources <<'; + $out .= ' /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'; + // fonts + if (!empty($data['fonts'])) { + $out .= ' /Font <<'; + foreach ($data['fonts'] as $fontkey => $fontid) { + $out .= ' /F'.$fontid.' '.$this->font_obj_ids[$fontkey].' 0 R'; + } + $out .= ' >>'; + } + // images or nested xobjects + if (!empty($data['images']) OR !empty($data['xobjects'])) { + $out .= ' /XObject <<'; + foreach ($data['images'] as $imgid) { + $out .= ' /I'.$imgid.' '.$this->xobjects['I'.$imgid]['n'].' 0 R'; + } + foreach ($data['xobjects'] as $sub_id => $sub_objid) { + $out .= ' /'.$sub_id.' '.$sub_objid['n'].' 0 R'; + } + $out .= ' >>'; + } + $out .= ' >>'; + $stream = $this->_getrawstream($stream); + $out .= ' /Length '.strlen($stream); + $out .= ' >>'; + $out .= ' stream'."\n".$stream."\n".'endstream'; + $out .= "\n".'endobj'; + $this->_out($out); + } + } + } + /** * Output Spot Colors Resources. * @access protected @@ -9718,7 +9862,7 @@ if (!class_exists('TCPDF', false)) { protected function _getxobjectdict() { $out = ''; foreach ($this->xobjects as $id => $objid) { - $out .= ' /'.$id.' '.$objid.' 0 R'; + $out .= ' /'.$id.' '.$objid['n'].' 0 R'; } return $out; } @@ -9790,6 +9934,7 @@ if (!class_exists('TCPDF', false)) { $this->_putocg(); $this->_putfonts(); $this->_putimages(); + $this->_putxobjects(); $this->_putspotcolors(); $this->_putshaders(); $this->_putresourcedict(); @@ -10381,7 +10526,10 @@ if (!class_exists('TCPDF', false)) { */ protected function _out($s) { if ($this->state == 2) { - if ((!$this->InFooter) AND isset($this->footerlen[$this->page]) AND ($this->footerlen[$this->page] > 0)) { + if ($this->inxobj) { + // we are inside a template + $this->xobjects[$this->xobjid]['outdata'] .= $s."\n"; + } elseif ((!$this->InFooter) AND isset($this->footerlen[$this->page]) AND ($this->footerlen[$this->page] > 0)) { // puts data before page footer $pagebuff = $this->getPageBuffer($this->page); $page = substr($pagebuff, 0, -$this->footerlen[$this->page]); @@ -11531,6 +11679,7 @@ if (!class_exists('TCPDF', false)) { //calculate elements of transformation matrix $s_x /= 100; $s_y /= 100; + $tm = array(); $tm[0] = $s_x; $tm[1] = 0; $tm[2] = 0; @@ -11621,6 +11770,7 @@ if (!class_exists('TCPDF', false)) { */ public function Translate($t_x, $t_y) { //calculate elements of transformation matrix + $tm = array(); $tm[0] = 1; $tm[1] = 0; $tm[2] = 0; @@ -11650,6 +11800,7 @@ if (!class_exists('TCPDF', false)) { $y = ($this->h - $y) * $this->k; $x *= $this->k; //calculate elements of transformation matrix + $tm = array(); $tm[0] = cos(deg2rad($angle)); $tm[1] = sin(deg2rad($angle)); $tm[2] = -$tm[1]; @@ -11709,6 +11860,7 @@ if (!class_exists('TCPDF', false)) { $x *= $this->k; $y = ($this->h - $y) * $this->k; //calculate elements of transformation matrix + $tm = array(); $tm[0] = 1; $tm[1] = tan(deg2rad($angle_y)); $tm[2] = tan(deg2rad($angle_x)); @@ -15459,7 +15611,7 @@ if (!class_exists('TCPDF', false)) { $this->gradients[$idgs]['pattern'] = $this->n; // luminosity XObject $oid = $this->_newobj(); - $this->xobjects['LX'.$oid] = $oid; + $this->xobjects['LX'.$oid] = array('n' => $oid); $filter = ''; $stream = 'q /a0 gs /Pattern cs /p'.$idgs.' scn 0 0 '.$this->wPt.' '.$this->hPt.' re f Q'; if ($this->compress) { @@ -15469,7 +15621,8 @@ if (!class_exists('TCPDF', false)) { $stream = $this->_getrawstream($stream); $out = '<< /Type /XObject /Subtype /Form /FormType 1'.$filter; $out .= ' /Length '.strlen($stream); - $out .= ' /BBox [0 0 '.$this->wPt.' '.$this->hPt.']'; + $rect = sprintf('%.2F %.2F', $this->wPt, $this->hPt); + $out .= ' /BBox [0 0 '.$rect.']'; $out .= ' /Group << /Type /Group /S /Transparency /CS /DeviceGray >>'; $out .= ' /Resources <<'; $out .= ' /ExtGState << /a0 << /ca 1 /CA 1 >> >>'; @@ -15792,7 +15945,7 @@ if (!class_exists('TCPDF', false)) { if ($link) { $this->Link($ximg, $y, $w, $h, $link, 0); } - // set pointer to align the successive text/objects + // set pointer to align the next text/objects switch($align) { case 'T':{ $this->y = $y; @@ -15849,7 +16002,6 @@ if (!class_exists('TCPDF', false)) { * @param int $h height in user units (empty string = remaining page height) * @param float $xres width of the smallest bar in user units (empty string = default value = 0.4mm) * @param array $style array of options:
      -
    • boolean $style['border'] if true prints a border
    • int $style['padding'] padding to leave around the barcode (minimum distance between the barcode and the containing cell border) in user units (set to 'auto' for automatic padding)
    • array $style['fgcolor'] color array for bars and text
    • mixed $style['bgcolor'] color array for background (set to 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.
    • string $style['position'] horizontal position of the containing barcode cell on the page: L = left margin; C = center; R = right margin.
    • string $style['align'] horizontal position of the barcode on the containing rectangle: L = left; C = center; R = right.
    • string $style['stretch'] if true stretch the barcode to best fit the available width, otherwise uses $xres resolution for a single bar.
    • string $style['fitwidth'] if true reduce the width to fit the barcode width + padding. When this option is enabled the 'stretch' option is automatically disabled.
    • string $style['cellfitalign'] this option works only when 'fitwidth' is true and 'position' is unset or empty. Set the horizontal position of the containing barcode cell inside the specified rectangle: L = left; C = center; R = right.
    * @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
    @@ -16095,7 +16247,7 @@ if (!class_exists('TCPDF', false)) { $this->rtl = $tempRTL; // restore previous settings $this->setGraphicVars($gvars); - // set pointer to align the successive text/objects + // set pointer to align the next text/objects switch($align) { case 'T':{ $this->y = $y; @@ -16367,7 +16519,7 @@ if (!class_exists('TCPDF', false)) { $this->rtl = $tempRTL; // restore previous settings $this->setGraphicVars($gvars); - // set pointer to align the successive text/objects + // set pointer to align the next text/objects switch($align) { case 'T':{ $this->y = $y; @@ -20635,7 +20787,7 @@ if (!class_exists('TCPDF', false)) { /** * Returns current graphic variables as array. - * @return array graphic variables + * @return array of graphic variables * @access protected * @since 4.2.010 (2008-11-14) */ @@ -20668,18 +20820,35 @@ if (!class_exists('TCPDF', false)) { 'listcount' => $this->listcount, 'lispacer' => $this->lispacer, 'cell_height_ratio' => $this->cell_height_ratio, - 'lasth' => $this->lasth + // extended + 'lasth' => $this->lasth, + 'tMargin' => $this->tMargin, + 'bMargin' => $this->bMargin, + 'AutoPageBreak' => $this->AutoPageBreak, + 'PageBreakTrigger' => $this->PageBreakTrigger, + 'x' => $this->x, + 'y' => $this->y, + 'w' => $this->w, + 'h' => $this->h, + 'wPt' => $this->wPt, + 'hPt' => $this->hPt, + 'fwPt' => $this->fwPt, + 'fhPt' => $this->fhPt, + 'page' => $this->page, + 'current_column' => $this->current_column, + 'num_columns' => $this->num_columns ); return $grapvars; } /** * Set graphic variables. - * @param $gvars array graphic variables + * @param array $gvars array of graphic variablesto restore + * @param boolean $extended if true restore extended graphic variables * @access protected * @since 4.2.010 (2008-11-14) */ - protected function setGraphicVars($gvars) { + protected function setGraphicVars($gvars, $extended=false) { $this->FontFamily = $gvars['FontFamily']; $this->FontStyle = $gvars['FontStyle']; $this->FontSizePt = $gvars['FontSizePt']; @@ -20707,7 +20876,25 @@ if (!class_exists('TCPDF', false)) { $this->listcount = $gvars['listcount']; $this->lispacer = $gvars['lispacer']; $this->cell_height_ratio = $gvars['cell_height_ratio']; - //$this->lasth = $gvars['lasth']; + if ($extended) { + // restore extended values + $this->lasth = $gvars['lasth']; + $this->tMargin = $gvars['tMargin']; + $this->bMargin = $gvars['bMargin']; + $this->AutoPageBreak = $gvars['AutoPageBreak']; + $this->PageBreakTrigger = $gvars['PageBreakTrigger']; + $this->x = $gvars['x']; + $this->y = $gvars['y']; + $this->w = $gvars['w']; + $this->h = $gvars['h']; + $this->wPt = $gvars['wPt']; + $this->hPt = $gvars['hPt']; + $this->fwPt = $gvars['fwPt']; + $this->fhPt = $gvars['fhPt']; + $this->page = $gvars['page']; + $this->current_column = $gvars['current_column']; + $this->num_columns = $gvars['num_columns']; + } $this->_out(''.$this->linestyleWidth.' '.$this->linestyleCap.' '.$this->linestyleJoin.' '.$this->linestyleDash.' '.$this->DrawColor.' '.$this->FillColor.''); if (!$this->empty_string($this->FontFamily)) { $this->SetFont($this->FontFamily, $this->FontStyle, $this->FontSizePt); @@ -22282,6 +22469,205 @@ if (!class_exists('TCPDF', false)) { return $this->CurrentFont['fontkey']; } + /** + * Start a new XObject Template. + * An XObject Template is a PDF block that is a self-contained description of any sequence of graphics objects (including path objects, text objects, and sampled images). + * An XObject Template may be painted multiple times, either on several pages or at several locations on the same page and produces the same results each time, subject only to the graphics state at the time it is invoked. + * Note: X,Y coordinates will be reset to 0,0. + * @param int $w Template width in user units (empty string or zero = page width less margins) + * @param int $h Template height in user units (empty string or zero = page height less margins) + * @return int the XObject Template ID in case of success or false in case of error. + * @author Nicola Asuni + * @access public + * @since 5.8.017 (2010-08-24) + * @see endTemplate(), printTemplate() + */ + public function startTemplate($w=0, $h=0) { + if ($this->inxobj) { + // we are inside a template + return false; + } + $this->inxobj = true; + ++$this->n; + // XObject ID + $this->xobjid = 'XT'.$this->n; + // object ID + $this->xobjects[$this->xobjid] = array('n' => $this->n); + // store current graphic state + $this->xobjects[$this->xobjid]['gvars'] = $this->getGraphicVars(); + // initialize data + $this->xobjects[$this->xobjid]['outdata'] = ''; + $this->xobjects[$this->xobjid]['xobjects'] = array(); + $this->xobjects[$this->xobjid]['images'] = array(); + $this->xobjects[$this->xobjid]['fonts'] = array(); + // set new environment + $this->num_columns = 1; + $this->current_column = 0; + $this->SetAutoPageBreak(false); + if (($w === '') OR ($w <= 0)) { + $w = $this->w - $this->lMargin - $this->rMargin; + } + if (($h === '') OR ($h <= 0)) { + $h = $this->h - $this->tMargin - $this->bMargin; + } + $this->xobjects[$this->xobjid]['w'] = $w; + $this->xobjects[$this->xobjid]['h'] = $h; + $this->w = $w; + $this->h = $h; + $this->wPt = $this->w * $this->k; + $this->hPt = $this->h * $this->k; + $this->fwPt = $this->wPt; + $this->fhPt = $this->hPt; + $this->x = 0; + $this->y = 0; + $this->lMargin = 0; + $this->rMargin = 0; + $this->tMargin = 0; + $this->bMargin = 0; + return $this->xobjid; + } + + /** + * End the current XObject Template started with startTemplate() and restore the previous graphic state. + * An XObject Template is a PDF block that is a self-contained description of any sequence of graphics objects (including path objects, text objects, and sampled images). + * An XObject Template may be painted multiple times, either on several pages or at several locations on the same page and produces the same results each time, subject only to the graphics state at the time it is invoked. + * @return int the XObject Template ID in case of success or false in case of error. + * @author Nicola Asuni + * @access public + * @since 5.8.017 (2010-08-24) + * @see startTemplate(), printTemplate() + */ + public function endTemplate() { + if (!$this->inxobj) { + // we are not inside a template + return false; + } + $this->inxobj = false; + // restore previous graphic state + $this->setGraphicVars($this->xobjects[$this->xobjid]['gvars'], true); + return $this->xobjid; + } + + /** + * Print an XObject Template. + * You can print an XObject Template inside the currently opened Template. + * An XObject Template is a PDF block that is a self-contained description of any sequence of graphics objects (including path objects, text objects, and sampled images). + * An XObject Template may be painted multiple times, either on several pages or at several locations on the same page and produces the same results each time, subject only to the graphics state at the time it is invoked. + * @param string $id The ID of XObject Template to print. + * @param int $x X position in user units (empty string = current x position) + * @param int $y Y position in user units (empty string = current y position) + * @param int $w Width in user units (zero = remaining page width) + * @param int $h Height in user units (zero = remaining page height) + * @param string $align Indicates the alignment of the pointer next to template insertion relative to template 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 $palign Allows to center or align the template on the current line. Possible values are:
    • L : left align
    • C : center
    • R : right align
    • '' : empty string : left for LTR or right for RTL
    + * @param boolean $fitonpage if true the template is resized to not exceed page dimensions. + * @author Nicola Asuni + * @access public + * @since 5.8.017 (2010-08-24) + * @see startTemplate(), endTemplate() + */ + public function printTemplate($id, $x='', $y='', $w=0, $h=0, $align='', $palign='', $fitonpage=false) { + if (!isset($this->xobjects[$id])) { + $this->Error('The XObject Template \''.$id.'\' doesn\'t exist!'); + } + if ($this->inxobj) { + if ($id == $this->xobjid) { + // close current template + $this->endTemplate(); + } else { + // use the template as resource for the template currently opened + $this->xobjects[$this->xobjid]['xobjects'][$id] = $this->xobjects[$id]; + } + } + // set default values + if ($x === '') { + $x = $this->x; + } + if ($y === '') { + $y = $this->y; + } + $ow = $this->xobjects[$this->xobjid]['w']; + $oh = $this->xobjects[$this->xobjid]['h']; + // calculate image width and height on document + if (($w <= 0) AND ($h <= 0)) { + $w = $ow; + $h = $oh; + } elseif ($w <= 0) { + $w = $h * $ow / $oh; + } elseif ($h <= 0) { + $h = $w * $oh / $ow; + } + // fit the image on available space + $this->fitBlock($w, $h, $x, $y, $fitonpage); + // set page alignment + $rb_y = $y + $h; + // set alignment + if ($this->rtl) { + if ($palign == 'L') { + $xt = $this->lMargin; + } elseif ($palign == 'C') { + $xt = ($this->w + $this->lMargin - $this->rMargin - $w) / 2; + } elseif ($palign == 'R') { + $xt = $this->w - $this->rMargin - $w; + } else { + $xt = $x - $w; + } + $rb_x = $xt; + } else { + if ($palign == 'L') { + $xt = $this->lMargin; + } elseif ($palign == 'C') { + $xt = ($this->w + $this->lMargin - $this->rMargin - $w) / 2; + } elseif ($palign == 'R') { + $xt = $this->w - $this->rMargin - $w; + } else { + $xt = $x; + } + $rb_x = $xt + $w; + } + // print XObject Template + Transformation matrix + $this->StartTransform(); + // translate and scale + $sx = ($w / $this->xobjects[$this->xobjid]['w']); + $sy = ($h / $this->xobjects[$this->xobjid]['h']); + $tm = array(); + $tm[0] = $sx; + $tm[1] = 0; + $tm[2] = 0; + $tm[3] = $sy; + $tm[4] = $xt * $this->k; + $tm[5] = ($this->h - $h - $y) * $this->k; + $this->Transform($tm); + // set object + $this->_out('/'.$id.' Do'); + $this->StopTransform(); + // set pointer to align the next text/objects + switch($align) { + case 'T': { + $this->y = $y; + $this->x = $rb_x; + break; + } + case 'M': { + $this->y = $y + round($h/2); + $this->x = $rb_x; + break; + } + case 'B': { + $this->y = $rb_y; + $this->x = $rb_x; + break; + } + case 'N': { + $this->SetY($rb_y); + break; + } + default:{ + break; + } + } + } + // -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- // SVG METHODS // -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- @@ -22536,7 +22922,7 @@ if (!class_exists('TCPDF', false)) { if ($link) { $this->Link($ximg, $y, $w, $h, $link, 0); } - // set pointer to align the successive text/objects + // set pointer to align the next text/objects switch($align) { case 'T':{ $this->y = $y;
    diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index 1549e89..ce44898 100644 --- a/doc/li_com-tecnick-tcpdf.html +++ b/doc/li_com-tecnick-tcpdf.html @@ -67,7 +67,7 @@ This documentation was generated by phpDocumentor v1.4.3

    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:31 +0200 by phpDocumentor 1.4.3
    @@ -26261,7 +26508,7 @@ $n = 0])
    -

    method _puttruetypeunicode [line 9184]

    +

    method _puttruetypeunicode [line 9274]

    diff --git a/doc/index.html b/doc/index.html index 1549e89..ce44898 100644 --- a/doc/index.html +++ b/doc/index.html @@ -67,7 +67,7 @@ This documentation was generated by phpDocumentor v1.4.3

    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:31 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/errors.html b/doc/errors.html index aac73fe..91f2c9a 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

    - Documentation generated on Tue, 24 Aug 2010 09:27:55 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:37 +0200 by phpDocumentor 1.4.3
    @@ -26303,7 +26550,7 @@ $font)
    -

    method _putviewerpreferences [line 9952]

    +

    method _putviewerpreferences [line 10097]

    diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index d241394..b3002fa 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -241,6 +241,8 @@
    in file tcpdf.php, method TCPDF::_puttruetypeunicode()
        Adds unicode fonts.
    _putviewerpreferences
    in file tcpdf.php, method TCPDF::_putviewerpreferences()
        Output viewer preferences.
    +
    _putxobjects
    +
    in file tcpdf.php, method TCPDF::_putxobjects()
        Output Form XObjects Templates.
    _RC4
    in file tcpdf.php, method TCPDF::_RC4()
        Returns the input text exrypted using RC4 algorithm and the specified key.
    _setGDImageTransparency
    @@ -635,6 +637,8 @@
    in file tcpdf.php, method TCPDF::endPage()
        Terminate the current page
    endSVGElementHandler
    in file tcpdf.php, method TCPDF::endSVGElementHandler()
        Sets the closing SVG element handler function for the XML parser.
    +
    endTemplate
    +
    in file tcpdf.php, method TCPDF::endTemplate()
        End the current XObject Template started with startTemplate() and restore the previous graphic state.
    endTOCPage
    in file tcpdf.php, method TCPDF::endTOCPage()
        Terminate the current TOC (Table Of Content) page
    Error
    @@ -1015,6 +1019,8 @@
    in file tcpdf.php, variable TCPDF::$inthead
        True when we are printing the thead section on a new page
    $intmrk
    in file tcpdf.php, variable TCPDF::$intmrk
        Array used to store positions inside the pages buffer.
    +
    $inxobj
    +
    in file tcpdf.php, variable TCPDF::$inxobj
    $isunicode
    in file tcpdf.php, variable TCPDF::$isunicode
    $items
    @@ -1429,6 +1435,8 @@
    in file tcpdf.php, method TCPDF::Polygon()
        Draws a polygon.
    PolyLine
    in file tcpdf.php, method TCPDF::PolyLine()
        Draws a polygonal line
    +
    printTemplate
    +
    in file tcpdf.php, method TCPDF::printTemplate()
        Print an XObject Template.
    putAlignmentMarker
    in file qrcode.php, method QRcode::putAlignmentMarker()
        Put an alignment marker.
    putAlignmentPattern
    @@ -1658,11 +1666,11 @@
    SetAutoPageBreak
    in file tcpdf.php, method TCPDF::SetAutoPageBreak()
        Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.
    setBarcode
    -
    in file barcodes.php, method TCPDFBarcode::setBarcode()
        Set the barcode.
    -
    setBarcode
    in file tcpdf.php, method TCPDF::setBarcode()
        Set document barcode.
    setBarcode
    in file 2dbarcodes.php, method TCPDF2DBarcode::setBarcode()
        Set the barcode.
    +
    setBarcode
    +
    in file barcodes.php, method TCPDFBarcode::setBarcode()
        Set the barcode.
    SetBooklet
    in file tcpdf.php, method TCPDF::SetBooklet()
        Set the booklet mode for double-sided pages.
    setBuffer
    @@ -1849,6 +1857,8 @@
    in file tcpdf.php, method TCPDF::startPageGroup()
        Create a new page group.
    startSVGElementHandler
    in file tcpdf.php, method TCPDF::startSVGElementHandler()
        Sets the opening SVG element handler function for the XML parser. (*** TO BE COMPLETED ***)
    +
    startTemplate
    +
    in file tcpdf.php, method TCPDF::startTemplate()
        Start a new XObject Template.
    startTransaction
    in file tcpdf.php, method TCPDF::startTransaction()
        Stores a copy of the current TCPDF object used for undo operation.
    StartTransform
    @@ -2037,6 +2047,8 @@
    in file tcpdf.php, variable TCPDF::$x
    $xobjects
    in file tcpdf.php, variable TCPDF::$xobjects
    +
    $xobjid
    +
    in file tcpdf.php, variable TCPDF::$xobjid
    top
    @@ -2074,7 +2086,7 @@ top

    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:31 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/elementindex.html b/doc/elementindex.html index 55494a2..c6c7de7 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -437,6 +437,8 @@
    in file tcpdf.php, method TCPDF::endPage()
        Terminate the current page
    endSVGElementHandler
    in file tcpdf.php, method TCPDF::endSVGElementHandler()
        Sets the closing SVG element handler function for the XML parser.
    +
    endTemplate
    +
    in file tcpdf.php, method TCPDF::endTemplate()
        End the current XObject Template started with startTemplate() and restore the previous graphic state.
    endTOCPage
    in file tcpdf.php, method TCPDF::endTOCPage()
        Terminate the current TOC (Table Of Content) page
    Error
    @@ -817,6 +819,8 @@
    in file tcpdf.php, variable TCPDF::$inthead
        True when we are printing the thead section on a new page
    $intmrk
    in file tcpdf.php, variable TCPDF::$intmrk
        Array used to store positions inside the pages buffer.
    +
    $inxobj
    +
    in file tcpdf.php, variable TCPDF::$inxobj
    $isunicode
    in file tcpdf.php, variable TCPDF::$isunicode
    $items
    @@ -1231,6 +1235,8 @@
    in file tcpdf.php, method TCPDF::Polygon()
        Draws a polygon.
    PolyLine
    in file tcpdf.php, method TCPDF::PolyLine()
        Draws a polygonal line
    +
    printTemplate
    +
    in file tcpdf.php, method TCPDF::printTemplate()
        Print an XObject Template.
    putAlignmentMarker
    in file qrcode.php, method QRcode::putAlignmentMarker()
        Put an alignment marker.
    putAlignmentPattern
    @@ -1460,11 +1466,11 @@
    SetAutoPageBreak
    in file tcpdf.php, method TCPDF::SetAutoPageBreak()
        Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.
    setBarcode
    -
    in file barcodes.php, method TCPDFBarcode::setBarcode()
        Set the barcode.
    -
    setBarcode
    in file tcpdf.php, method TCPDF::setBarcode()
        Set document barcode.
    setBarcode
    in file 2dbarcodes.php, method TCPDF2DBarcode::setBarcode()
        Set the barcode.
    +
    setBarcode
    +
    in file barcodes.php, method TCPDFBarcode::setBarcode()
        Set the barcode.
    SetBooklet
    in file tcpdf.php, method TCPDF::SetBooklet()
        Set the booklet mode for double-sided pages.
    setBuffer
    @@ -1651,6 +1657,8 @@
    in file tcpdf.php, method TCPDF::startPageGroup()
        Create a new page group.
    startSVGElementHandler
    in file tcpdf.php, method TCPDF::startSVGElementHandler()
        Sets the opening SVG element handler function for the XML parser. (*** TO BE COMPLETED ***)
    +
    startTemplate
    +
    in file tcpdf.php, method TCPDF::startTemplate()
        Start a new XObject Template.
    startTransaction
    in file tcpdf.php, method TCPDF::startTransaction()
        Stores a copy of the current TCPDF object used for undo operation.
    StartTransform
    @@ -1839,6 +1847,8 @@
    in file tcpdf.php, variable TCPDF::$x
    $xobjects
    in file tcpdf.php, variable TCPDF::$xobjects
    +
    $xobjid
    +
    in file tcpdf.php, variable TCPDF::$xobjid
    top
    @@ -2013,6 +2023,8 @@
    in file tcpdf.php, method TCPDF::_puttruetypeunicode()
        Adds unicode fonts.
    _putviewerpreferences
    in file tcpdf.php, method TCPDF::_putviewerpreferences()
        Output viewer preferences.
    +
    _putxobjects
    +
    in file tcpdf.php, method TCPDF::_putxobjects()
        Output Form XObjects Templates.
    _RC4
    in file tcpdf.php, method TCPDF::_RC4()
        Returns the input text exrypted using RC4 algorithm and the specified key.
    _setGDImageTransparency
    @@ -2042,7 +2054,7 @@ top

    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:31 +0200 by phpDocumentor 1.4.3
    @@ -26333,11 +26580,45 @@ $font)

    +
    [ Top ]
    + +
    + +

    method _putxobjects [line 9790]

    +
    +
    +
    + void _putxobjects( +) +
    +

    + + Output Form XObjects Templates.



    +

    Tags:

    +
    + + + + + + + + + + + + + +
    author:  Nicola Asuni
    see:  TCPDF::startTemplate(), TCPDF::endTemplate(), TCPDF::printTemplate()
    since:  5.8.017 (2010-08-24)
    access:  protected
    +
    +

    + +
    [ Top ]

    -

    method _RC4 [line 11052]

    +

    method _RC4 [line 11200]

    diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index 1617818..7354657 100644 --- a/doc/com-tecnick-tcpdf/_unicode_data.php.html +++ b/doc/com-tecnick-tcpdf/_unicode_data.php.html @@ -246,7 +246,7 @@ Unicode data for TCPDF library.




    - Documentation generated on Tue, 24 Aug 2010 09:27:55 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:37 +0200 by phpDocumentor 1.4.3
    @@ -26388,7 +26669,7 @@ $text)
    -

    method _setGDImageTransparency [line 6966]

    +

    method _setGDImageTransparency [line 7056]

    diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index 9e52451..207ce38 100644 --- a/doc/com-tecnick-tcpdf/_tcpdf.php.html +++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html @@ -74,7 +74,7 @@ Source Location: /tcpdf.php



    Page Details:

    -This is a PHP class for generating PDF documents without requiring external extensions.


    TCPDF project (http://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
    <h3>TCPDF main features are:</h3>

    • no external libraries are required for the basic functions;
    • all standard page formats, custom page formats, custom margins and units of measure;
    • UTF-8 Unicode and Right-To-Left languages;
    • TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
    • font subsetting;
    • methods to publish some XHTML + CSS code, Javascript and Forms;
    • images, graphic (geometric figures) and transformation methods;
    • supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)
    • 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code, PDF417;
    • Grayscale, RGB, CMYK, Spot Colors and Transparencies;
    • automatic page header and footer management;
    • document encryption and digital signature certifications;
    • transactions to UNDO commands;
    • PDF annotations, including links, text and file attachments;
    • text rendering modes (fill, stroke and clipping);
    • multiple columns mode;
    • bookmarks and table of content;
    • text hyphenation;
    • automatic page break, line break and text alignments including justification;
    • automatic page numbering and page groups;
    • move and delete pages;
    • page compression (requires php-zlib extension);
    Tools to encode your unicode fonts are on fonts/utils directory.</p>




    +This is a PHP class for generating PDF documents without requiring external extensions.


    TCPDF project (http://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
    <h3>TCPDF main features are:</h3>

    • no external libraries are required for the basic functions;
    • all standard page formats, custom page formats, custom margins and units of measure;
    • UTF-8 Unicode and Right-To-Left languages;
    • TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
    • font subsetting;
    • methods to publish some XHTML + CSS code, Javascript and Forms;
    • images, graphic (geometric figures) and transformation methods;
    • supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)
    • 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code, PDF417;
    • Grayscale, RGB, CMYK, Spot Colors and Transparencies;
    • automatic page header and footer management;
    • document encryption and digital signature certifications;
    • transactions to UNDO commands;
    • PDF annotations, including links, text and file attachments;
    • text rendering modes (fill, stroke and clipping);
    • multiple columns mode;
    • bookmarks and table of content;
    • text hyphenation;
    • automatic page break, line break and text alignments including justification;
    • automatic page numbering and page groups;
    • move and delete pages;
    • page compression (requires php-zlib extension);
    • XOBject Templates;
    Tools to encode your unicode fonts are on fonts/utils directory.</p>




    Tags:

    diff --git a/doc/com-tecnick-tcpdf/_qrcode.php.html b/doc/com-tecnick-tcpdf/_qrcode.php.html index ef5446b..84cb53a 100644 --- a/doc/com-tecnick-tcpdf/_qrcode.php.html +++ b/doc/com-tecnick-tcpdf/_qrcode.php.html @@ -480,7 +480,7 @@ string $string, [int $split_length = 1])

    - Documentation generated on Tue, 24 Aug 2010 09:27:50 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:32 +0200 by phpDocumentor 1.4.3
    @@ -26433,7 +26714,7 @@ $image)
    -

    method _textstring [line 10311]

    +

    method _textstring [line 10456]

    diff --git a/doc/com-tecnick-tcpdf/_pdf417.php.html b/doc/com-tecnick-tcpdf/_pdf417.php.html index 6a27c68..b21ac1a 100644 --- a/doc/com-tecnick-tcpdf/_pdf417.php.html +++ b/doc/com-tecnick-tcpdf/_pdf417.php.html @@ -157,7 +157,7 @@ Class to create PDF417 barcode arrays for TCPDF class.

    PDF417 (ISO


    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:32 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/com-tecnick-tcpdf/_htmlcolors.php.html b/doc/com-tecnick-tcpdf/_htmlcolors.php.html index 9003b0c..4b79aa4 100644 --- a/doc/com-tecnick-tcpdf/_htmlcolors.php.html +++ b/doc/com-tecnick-tcpdf/_htmlcolors.php.html @@ -97,7 +97,7 @@ Array of WEB safe colors.




    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:32 +0200 by phpDocumentor 1.4.3
    @@ -26478,7 +26759,7 @@ $n = 0])
    -

    method _toJPEG [line 6929]

    +

    method _toJPEG [line 7019]

    diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index 9ceabaa..6bfb3cf 100644 --- a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html +++ b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html @@ -542,7 +542,7 @@ Configuration file for TCPDF.




    - Documentation generated on Tue, 24 Aug 2010 09:27:55 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:37 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/com-tecnick-tcpdf/_barcodes.php.html b/doc/com-tecnick-tcpdf/_barcodes.php.html index 92ff11c..1ef9ef0 100644 --- a/doc/com-tecnick-tcpdf/_barcodes.php.html +++ b/doc/com-tecnick-tcpdf/_barcodes.php.html @@ -105,7 +105,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit

    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:31 +0200 by phpDocumentor 1.4.3
    @@ -26520,7 +26801,7 @@ $file)
    -

    method _toPNG [line 6948]

    +

    method _toPNG [line 7038]

    diff --git a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html index 80f409b..70f95fc 100644 --- a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html +++ b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html @@ -105,7 +105,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF

    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:31 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index 21252ab..425f09e 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -1377,7 +1377,7 @@ $type)

    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:31 +0200 by phpDocumentor 1.4.3
    @@ -26565,7 +26846,7 @@ $file)
    -

    method _Uvalue [line 11158]

    +

    method _Uvalue [line 11306]

    diff --git a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html index c118e61..ee9794f 100644 --- a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html @@ -299,7 +299,7 @@ $type)

    - Documentation generated on Tue, 24 Aug 2010 09:27:49 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:31 +0200 by phpDocumentor 1.4.3
    @@ -26602,7 +26883,7 @@ $file)

    - Documentation generated on Tue, 24 Aug 2010 09:27:51 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:33 +0200 by phpDocumentor 1.4.3
    @@ -82,7 +82,7 @@ This is a PHP class for generating PDF documents without requiring external exte - + @@ -101,19 +101,19 @@ This is a PHP class for generating PDF documents without requiring external exte

    Includes:

    -require_once(dirname(__FILE__).'/config/tcpdf_config.php') [line 135]
    -main configuration file

    require_once(dirname(__FILE__).'/htmlcolors.php') [line 147]
    -html colors table

    require_once(dirname(__FILE__).'/unicode_data.php') [line 142]
    +require_once(dirname(__FILE__).'/config/tcpdf_config.php') [line 137]
    +main configuration file

    require_once(dirname(__FILE__).'/htmlcolors.php') [line 149]
    +html colors table

    require_once(dirname(__FILE__).'/unicode_data.php') [line 144]
    unicode data






    -

    PDF_PRODUCER [line 153]

    +

    PDF_PRODUCER [line 155]

    author:  Nicola Asuni
    version:  5.8.016version:  5.8.017
    copyright:  2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
    - PDF_PRODUCER = 'TCPDF 5.8.016 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 5.8.017 (http://www.tcpdf.org)'
    @@ -124,7 +124,7 @@ unicode data


    - Documentation generated on Tue, 24 Aug 2010 09:27:51 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 25 Aug 2010 11:57:33 +0200 by phpDocumentor 1.4.3