From 68c0d0516b774db1b580c309afdedb88ab243f39 Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Mon, 17 May 2010 20:01:02 +0200 Subject: [PATCH] 5.0.010 --- CHANGELOG.TXT | 5 + README.TXT | 4 +- doc/classtrees_com-tecnick-tcpdf.html | 2 +- doc/com-tecnick-tcpdf/QRcode.html | 2 +- doc/com-tecnick-tcpdf/TCPDF.html | 1431 ++++++++++------- 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/_qrcode.php.html | 2 +- doc/com-tecnick-tcpdf/_tcpdf.php.html | 6 +- doc/com-tecnick-tcpdf/_unicode_data.php.html | 2 +- doc/elementindex.html | 16 +- doc/elementindex_com-tecnick-tcpdf.html | 16 +- doc/errors.html | 11 +- doc/index.html | 2 +- doc/li_com-tecnick-tcpdf.html | 2 +- examples/index.php | 1 + tcpdf.php | 479 ++++-- 21 files changed, 1283 insertions(+), 710 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 5d227a6..fe90255 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,8 @@ +5.0.010 (2010-05-17) + - The methods setPageFormat(), setPageOrientation() and related methods were extended to include page boxes, page rotations and page transitions. + - The method setPageBoxes() was added to set page boundaries (MediaBox, CropBox, BleedBox, TrimBox, ArtBox); + - A bug relative to underline, overline and linethrough was fixed. + 5.0.009 (2010-05-16) - Bug #3002381 "Multiple columns and nested lists" was fixed. diff --git a/README.TXT b/README.TXT index fc670d7..f1d51f1 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.0.009 -Release date: 2010-05-16 +Version: 5.0.010 +Release date: 2010-05-17 Author: Nicola Asuni Copyright (c) 2001-2010: diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index b6d4e42..e3899b3 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -55,7 +55,7 @@

- Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:51 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/QRcode.html b/doc/com-tecnick-tcpdf/QRcode.html index 7bc9f98..b55261e 100644 --- a/doc/com-tecnick-tcpdf/QRcode.html +++ b/doc/com-tecnick-tcpdf/QRcode.html @@ -5548,7 +5548,7 @@ $frame)

- Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:52 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index 1605460..f11218e 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -80,7 +80,7 @@ Source Location: /tcpdf.php

Version:

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

  • commitTransaction
  • convertHexStringToString
  • convertHTMLColorToDec
  • +
  • convertStringToHexString
  • convertSVGtMatrix
  • CoonsPatchMesh
  • copyPage
  • @@ -415,6 +416,7 @@ Source Location: /tcpdf.php

  • getPageGroupAlias
  • getPageHeight
  • getPageNumGroupAlias
  • +
  • getPageSizeFromFormat
  • getPageWidth
  • getPathPaintOperator
  • getPDFData
  • @@ -540,6 +542,7 @@ Source Location: /tcpdf.php

  • SetMargins
  • setOpenCell
  • setPage
  • +
  • setPageBoxes
  • setPageBuffer
  • setPageFormat
  • setPageMark
  • @@ -584,6 +587,7 @@ Source Location: /tcpdf.php

  • SVGPath
  • SVGTransform
  • swapMargins
  • +
  • swapPageBoxCoordinates
  • Text
  • TextField
  • Transform
  • @@ -630,6 +634,7 @@ Source Location: /tcpdf.php

  • _escapetext
  • _freadint
  • _generateencryptionkey
  • +
  • _getannotsrefs
  • _getfontpath
  • _getstream
  • _JScolor
  • @@ -708,7 +713,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - info@tecnick.com - version:  5.0.009 + version:  5.0.010 link:  http://www.tcpdf.org @@ -731,7 +736,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $AliasNbPages =  '{nb}'

    -

    [line 508]

    +

    [line 509]



    Tags:

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

    $AliasNumPage =  '{pnb}'

    -

    [line 514]

    +

    [line 515]



    Tags:

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

    $annotation_fonts = array()

    -

    [line 1435]

    +

    [line 1436]

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



    Tags:

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

    $annots_start_obj_id =  200000

    -

    [line 1344]

    +

    [line 1345]

    Start ID for annotation objects



    Tags:

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

    $annot_obj_id =  200000

    -

    [line 1351]

    +

    [line 1352]

    Max ID of annotation object



    Tags:

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

    $apxo_obj_id =  400000

    -

    [line 1428]

    +

    [line 1429]

    Current ID of appearance streams XObjects



    Tags:

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

    $apxo_start_obj_id =  400000

    -

    [line 1421]

    +

    [line 1422]

    Start ID for appearance streams XObjects



    Tags:

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

    $author =  ''

    -

    [line 490]

    +

    [line 491]



    Tags:

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

    $AutoPageBreak =

    -

    [line 448]

    +

    [line 449]



    Tags:

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

    $barcode =  false

    -

    [line 603]

    +

    [line 604]



    Tags:

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

    $bgcolor =

    -

    [line 702]

    +

    [line 703]



    Tags:

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

    $bMargin =

    -

    [line 283]

    +

    [line 284]



    Tags:

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

    $booklet =  false

    -

    [line 1083]

    +

    [line 1084]

    Booklet mode for double-sided pages



    Tags:

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

    $bufferlen =  0

    -

    [line 1183]

    +

    [line 1184]

    Length of the buffer in bytes.



    Tags:

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

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

    -

    [line 1316]

    +

    [line 1317]

    ByteRange placemark used during signature process.



    Tags:

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

    $cache_file_length = array()

    -

    [line 1239]

    +

    [line 1240]

    Array used to store the lengths of cache files



    Tags:

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

    $cache_maxsize_UTF8StringToArray =  8

    -

    [line 1267]

    +

    [line 1268]

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



    Tags:

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

    $cache_size_UTF8StringToArray =  0

    -

    [line 1274]

    +

    [line 1275]

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



    Tags:

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

    $cache_UTF8StringToArray = array()

    -

    [line 1260]

    +

    [line 1261]

    Cache array for UTF8StringToArray() method.



    Tags:

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

    $cell_height_ratio =  K_CELL_HEIGHT_RATIO

    -

    [line 933]

    +

    [line 934]

    Default cell height ratio.



    Tags:

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

    $cMargin =

    -

    [line 290]

    +

    [line 291]



    Tags:

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

    $cntmrk = array()

    -

    [line 970]

    +

    [line 971]

    Array used to store content positions inside the pages buffer.

    keys are the page numbers




    Tags:

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

    $ColorFlag =

    -

    [line 442]

    +

    [line 443]



    Tags:

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

    $columns = array()

    -

    [line 1484]

    +

    [line 1485]

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



    Tags:

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

    $column_start_page =  0

    -

    [line 1505]

    +

    [line 1506]

    Starting page for columns



    Tags:

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

    $CoreFonts =

    -

    [line 326]

    +

    [line 327]



    Tags:

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

    $creator =  ''

    -

    [line 502]

    +

    [line 503]



    Tags:

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

    $CurrentFont =

    -

    [line 406]

    +

    [line 407]



    Tags:

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

    $current_column =  0

    -

    [line 1498]

    +

    [line 1499]

    Current column number



    Tags:

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

    $currpagegroup =

    -

    [line 891]

    +

    [line 892]

    Contains the alias of the current page group



    Tags:

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

    $curr_annot_obj_id =  200000

    -

    [line 1358]

    +

    [line 1359]

    Current ID of annotation object



    Tags:

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

    $customlistindent =  -1

    -

    [line 1105]

    +

    [line 1106]



    Tags:

    @@ -1673,7 +1678,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 1372]

    +

    [line 1373]

    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:

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

    $default_monospaced_font =  'courier'

    -

    [line 1225]

    +

    [line 1226]

    Default monospaced font



    Tags:

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

    $default_table_columns =  4

    -

    [line 645]

    +

    [line 646]



    Tags:

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

    $diffs = array()

    -

    [line 344]

    +

    [line 345]



    Tags:

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

    $diskcache =  false

    -

    [line 1190]

    +

    [line 1191]

    If true enables disk caching.



    Tags:

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

    $dpi =  72

    -

    [line 870]

    +

    [line 871]

    Dot Per Inch Document Resolution (do not change)



    Tags:

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

    $DrawColor =

    -

    [line 424]

    +

    [line 425]



    Tags:

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

    $embeddedfiles = array()

    -

    [line 1119]

    +

    [line 1120]



    Tags:

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

    $embedded_start_obj_id =  100000

    -

    [line 1337]

    +

    [line 1338]

    Start ID for embedded file objects



    Tags:

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

    $encoding =  'UTF-8'

    -

    [line 721]

    +

    [line 722]



    Tags:

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

    $encryptdata = array()

    -

    [line 758]

    +

    [line 759]

    Array containing encryption settings



    Tags:

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

    $encrypted =

    -

    [line 751]

    +

    [line 752]

    Indicates whether document is protected



    Tags:

    @@ -2003,7 +2008,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 778]

    +

    [line 779]

    Encryption padding



    Tags:

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

    $endlinex =  0

    -

    [line 999]

    +

    [line 1000]

    End position of the latest inserted line



    Tags:

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

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

    -

    [line 1062]

    +

    [line 1063]

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



    Tags:

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

    $extgstates =

    -

    [line 919]

    +

    [line 920]

    Array of transparency objects and parameters.



    Tags:

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

    $feps =  0.005

    -

    [line 1090]

    +

    [line 1091]

    Epsilon value used for float calculations



    Tags:

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

    $fgcolor =

    -

    [line 666]

    +

    [line 667]



    Tags:

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

    $fhPt =

    -

    [line 235]

    +

    [line 236]



    Tags:

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

    $file_id =

    -

    [line 785]

    +

    [line 786]

    File ID (used on trailer)



    Tags:

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

    $FillColor =

    -

    [line 430]

    +

    [line 431]



    Tags:

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

    $FontAscent =

    -

    [line 381]

    +

    [line 382]



    Tags:

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

    $FontDescent =

    -

    [line 388]

    +

    [line 389]



    Tags:

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

    $FontFamily =

    -

    [line 368]

    +

    [line 369]



    Tags:

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

    $FontFiles = array()

    -

    [line 338]

    +

    [line 339]



    Tags:

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

    $fontkeys = array()

    -

    [line 1204]

    +

    [line 1205]

    Store the font keys.



    Tags:

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

    $fontlist = array()

    -

    [line 660]

    +

    [line 661]



    Tags:

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

    $fonts = array()

    -

    [line 332]

    +

    [line 333]



    Tags:

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

    $FontSize =

    -

    [line 418]

    +

    [line 419]



    Tags:

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

    $FontSizePt =

    -

    [line 412]

    +

    [line 413]



    Tags:

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

    $FontStyle =

    -

    [line 374]

    +

    [line 375]



    Tags:

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

    $font_obj_ids = array()

    -

    [line 1211]

    +

    [line 1212]

    Store the font object IDs.



    Tags:

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

    $footerlen = array()

    -

    [line 985]

    +

    [line 986]

    Array used to store footer length of each page.



    Tags:

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

    $footerpos = array()

    -

    [line 977]

    +

    [line 978]

    Array used to store footer positions of each page.



    Tags:

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

    $footer_font =

    -

    [line 591]

    +

    [line 592]



    Tags:

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

    $footer_margin =

    -

    [line 565]

    +

    [line 566]



    Tags:

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

    $form_action =  ''

    -

    [line 1400]

    +

    [line 1401]

    Current form action (used during XHTML rendering)



    Tags:

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

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

    -

    [line 1407]

    +

    [line 1408]

    Current form encryption type (used during XHTML rendering)



    Tags:

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

    $form_mode =  'post'

    -

    [line 1414]

    +

    [line 1415]

    Current method to submit forms.



    Tags:

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

    $form_obj_id = array()

    -

    [line 1365]

    +

    [line 1366]

    List of form annotations IDs



    Tags:

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

    $fwPt =

    -

    [line 229]

    +

    [line 230]



    Tags:

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

    $gradients = array()

    -

    [line 954]

    +

    [line 955]

    Array for storing gradient information.



    Tags:

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

    $h =

    -

    [line 259]

    +

    [line 260]



    Tags:

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

    $header_font =

    -

    [line 585]

    +

    [line 586]



    Tags:

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

    $header_logo =  ''

    -

    [line 621]

    +

    [line 622]



    Tags:

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

    $header_logo_width =  30

    -

    [line 627]

    +

    [line 628]



    Tags:

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

    $header_margin =

    -

    [line 559]

    +

    [line 560]



    Tags:

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

    $header_string =  ''

    -

    [line 639]

    +

    [line 640]



    Tags:

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

    $header_title =  ''

    -

    [line 633]

    +

    [line 634]



    Tags:

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

    $hPt =

    -

    [line 247]

    +

    [line 248]



    Tags:

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

    $HREF = array()

    -

    [line 654]

    +

    [line 655]



    Tags:

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

    $htmlLinkColorArray = array(0, 0, 255)

    -

    [line 1141]

    +

    [line 1142]

    Default color for html links



    Tags:

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

    $htmlLinkFontStyle =  'U'

    -

    [line 1148]

    +

    [line 1149]

    Default font style to add to html links



    Tags:

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

    $htmlvspace =  0

    -

    [line 1041]

    +

    [line 1042]

    Count the latest inserted vertical spaces on HTML



    Tags:

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

    $imagekeys = array()

    -

    [line 1176]

    +

    [line 1177]

    Store the image keys.



    Tags:

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

    $images = array()

    -

    [line 350]

    +

    [line 351]



    Tags:

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

    $imgscale =  1

    -

    [line 538]

    +

    [line 539]



    Tags:

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

    $img_rb_x =

    -

    [line 522]

    +

    [line 523]



    Tags:

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

    $img_rb_y =

    -

    [line 530]

    +

    [line 531]



    Tags:

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

    $InFooter =  false

    -

    [line 460]

    +

    [line 461]



    Tags:

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

    $internal_encoding =

    -

    [line 728]

    +

    [line 729]



    Tags:

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

    $inthead =  false

    -

    [line 1477]

    +

    [line 1478]

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



    Tags:

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

    $intmrk = array()

    -

    [line 962]

    +

    [line 963]

    Array used to store positions inside the pages buffer.

    keys are the page numbers




    Tags:

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

    $isunicode =  false

    -

    [line 546]

    +

    [line 547]



    Tags:

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

    $javascript =  ''

    -

    [line 811]

    +

    [line 812]

    javascript code



    Tags:

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

    $jpeg_quality =

    -

    [line 926]

    +

    [line 927]

    Set the default JPEG compression quality (1-100)



    Tags:

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

    $js_objects = array()

    -

    [line 1379]

    +

    [line 1380]

    Javascript objects array



    Tags:

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

    $js_obj_id =  300000

    -

    [line 1393]

    +

    [line 1394]

    Current ID of javascript object



    Tags:

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

    $js_start_obj_id =  300000

    -

    [line 1386]

    +

    [line 1387]

    Start ID for javascript objects



    Tags:

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

    $k =

    -

    [line 223]

    +

    [line 224]



    Tags:

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

    $keywords =  ''

    -

    [line 496]

    +

    [line 497]



    Tags:

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

    $l =

    -

    [line 597]

    +

    [line 598]



    Tags:

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

    $lasth =

    -

    [line 314]

    +

    [line 315]



    Tags:

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

    $last_enc_key =

    -

    [line 765]

    +

    [line 766]

    last RC4 key encrypted (cached for optimisation)



    Tags:

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

    $last_enc_key_c =

    -

    [line 772]

    +

    [line 773]

    last RC4 computed key



    Tags:

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

    $LayoutMode =

    -

    [line 472]

    +

    [line 473]



    Tags:

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

    $linestyleCap =  '0 J'

    -

    [line 1013]

    +

    [line 1014]

    PDF string for last line width



    Tags:

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

    $linestyleDash =  '[] 0 d'

    -

    [line 1027]

    +

    [line 1028]

    PDF string for last line width



    Tags:

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

    $linestyleJoin =  '0 j'

    -

    [line 1020]

    +

    [line 1021]

    PDF string for last line width



    Tags:

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

    $linestyleWidth =  ''

    -

    [line 1006]

    +

    [line 1007]

    PDF string for last line width



    Tags:

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

    $linethrough =

    -

    [line 825]

    +

    [line 826]

    line trough state



    Tags:

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

    $LineWidth =

    -

    [line 320]

    +

    [line 321]



    Tags:

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

    $links = array()

    -

    [line 362]

    +

    [line 363]



    Tags:

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

    $lispacer =  ''

    -

    [line 714]

    +

    [line 715]



    Tags:

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

    $listcount = array()

    -

    [line 678]

    +

    [line 679]



    Tags:

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

    $listindent =  0

    -

    [line 690]

    +

    [line 691]



    Tags:

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

    $listindentlevel =  0

    -

    [line 696]

    +

    [line 697]



    Tags:

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

    $listnum =  0

    -

    [line 684]

    +

    [line 685]



    Tags:

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

    $listordered = array()

    -

    [line 672]

    +

    [line 673]



    Tags:

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

    $lisymbol =  ''

    -

    [line 1055]

    +

    [line 1056]

    Symbol used for HTML unordered list items



    Tags:

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

    $lMargin =

    -

    [line 265]

    +

    [line 266]



    Tags:

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

    $newline =  true

    -

    [line 992]

    +

    [line 993]

    True if a newline is created.



    Tags:

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

    $newpagegroup = array()

    -

    [line 877]

    +

    [line 878]

    Array of page numbers were a new page group was started



    Tags:

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

    $numfonts =  0

    -

    [line 1197]

    +

    [line 1198]

    Counts the number of fonts.



    Tags:

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

    $numimages =  0

    -

    [line 1169]

    +

    [line 1170]

    Counts the number of pages.



    Tags:

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

    $numpages =  0

    -

    [line 1155]

    +

    [line 1156]

    Counts the number of pages.



    Tags:

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

    $num_columns =  0

    -

    [line 1491]

    +

    [line 1492]

    Number of colums



    Tags:

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

    $n_js =

    -

    [line 818]

    +

    [line 819]

    javascript counter



    Tags:

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

    $n_ocg_print =

    -

    [line 905]

    +

    [line 906]

    Print visibility.



    Tags:

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

    $n_ocg_view =

    -

    [line 912]

    +

    [line 913]

    View visibility.



    Tags:

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

    $objcopy =

    -

    [line 1232]

    +

    [line 1233]

    Used to store a cloned copy of the current class object



    Tags:

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

    $oldcMargin =

    -

    [line 296]

    +

    [line 297]



    Tags:

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

    $opencell =  true

    -

    [line 1112]

    +

    [line 1113]



    Tags:

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

    $openMarkedContent =  false

    -

    [line 1034]

    +

    [line 1035]

    True if marked-content sequence is open



    Tags:

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

    $original_lMargin =

    -

    [line 572]

    +

    [line 573]



    Tags:

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

    $original_rMargin =

    -

    [line 579]

    +

    [line 580]



    Tags:

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

    $OutlineRoot =

    -

    [line 801]

    +

    [line 802]

    Outline root for bookmark



    Tags:

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

    $outlines = array()

    -

    [line 794]

    +

    [line 795]

    Outlines for bookmark



    Tags:

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

    $overline =

    -

    [line 400]

    +

    [line 401]



    Tags:

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

    $PageAnnots = array()

    -

    [line 356]

    +

    [line 357]



    Tags:

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

    $PageBreakTrigger =

    -

    [line 454]

    +

    [line 455]



    Tags:

    @@ -4793,13 +4798,13 @@ This is a PHP class for generating PDF documents without requiring external exte

    $pagedim = array()

    -

    [line 217]

    +

    [line 218]



    Tags:

    - + @@ -4812,7 +4817,7 @@ This is a PHP class for generating PDF documents without requiring external exte
    var:  that stores page dimensions and graphic status.
    • $this->pagedim[$this->page]['w'] => page_width_in_points
    • $this->pagedim[$this->page]['h'] => height in points
    • $this->pagedim[$this->page]['wk'] => page_width_in_points
    • $this->pagedim[$this->page]['hk'] => height
    • $this->pagedim[$this->page]['tm'] => top_margin
    • $this->pagedim[$this->page]['bm'] => bottom_margin
    • $this->pagedim[$this->page]['lm'] => left_margin
    • $this->pagedim[$this->page]['rm'] => right_margin
    • $this->pagedim[$this->page]['pb'] => auto_page_break
    • $this->pagedim[$this->page]['or'] => page_orientation
    • $this->pagedim[$this->page]['olm'] => original_left_margin
    • $this->pagedim[$this->page]['orm'] => original_right_margin
    var:  dimensions:
    • $this->pagedim[$this->page]['w'] = page width in points
    • $this->pagedim[$this->page]['h'] = height in points
    • $this->pagedim[$this->page]['wk'] = page width in user units
    • $this->pagedim[$this->page]['hk'] = page height in user units
    • $this->pagedim[$this->page]['tm'] = top margin
    • $this->pagedim[$this->page]['bm'] = bottom margin
    • $this->pagedim[$this->page]['lm'] = left margin
    • $this->pagedim[$this->page]['rm'] = right margin
    • $this->pagedim[$this->page]['pb'] = auto page break
    • $this->pagedim[$this->page]['or'] = page orientation
    • $this->pagedim[$this->page]['olm'] = original left margin
    • $this->pagedim[$this->page]['orm'] = original right margin
    • $this->pagedim[$this->page]['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.
    • $this->pagedim[$this->page]['PZ'] = The page's preferred zoom (magnification) factor.
    • $this->pagedim[$this->page]['trans'] : the style and duration of the visual transition to use when moving from another page to the given page during a presentation
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['trans']['S'] = transition style : Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade
      • $this->pagedim[$this->page]['trans']['D'] = The duration of the transition effect, in seconds.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['trans']['B'] = (Fly transition style only) If true, the area that shall be flown in is rectangular and opaque. Default: false.
    • $this->pagedim[$this->page]['MediaBox'] : the boundaries of the physical medium on which the page shall be displayed or printed
      • $this->pagedim[$this->page]['MediaBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['CropBox'] : the visible region of default user space
      • $this->pagedim[$this->page]['CropBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['CropBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['CropBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['CropBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['BleedBox'] : the region to which the contents of the page shall be clipped when output in a production environment
      • $this->pagedim[$this->page]['BleedBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['TrimBox'] : the intended dimensions of the finished page after trimming
      • $this->pagedim[$this->page]['TrimBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['ArtBox'] : the extent of the page's meaningful content
      • $this->pagedim[$this->page]['ArtBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['ury'] = upper-right y coordinate in points
    access:  protected
    - +
    Type:  arrayPage


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

    $pagegroups =

    -

    [line 884]

    +

    [line 885]

    Contains the number of pages of the groups



    Tags:

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

    $pagelen = array()

    -

    [line 1162]

    +

    [line 1163]

    Array containing page lengths in bytes.



    Tags:

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

    $PageMode =

    -

    [line 947]

    +

    [line 948]

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



    Tags:

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

    $pageopen = array()

    -

    [line 1218]

    +

    [line 1219]

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



    Tags:

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

    $page_obj_id = array()

    -

    [line 1330]

    +

    [line 1331]

    ID of page objects



    Tags:

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

    $pdfunit =  'mm'

    -

    [line 1533]

    +

    [line 1534]



    Tags:

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

    $PDFVersion =  '1.7'

    -

    [line 553]

    +

    [line 554]



    Tags:

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

    $premode =  false

    -

    [line 1126]

    +

    [line 1127]



    Tags:

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

    $print_footer =  true

    -

    [line 615]

    +

    [line 616]



    Tags:

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

    $print_header =  true

    -

    [line 609]

    +

    [line 610]



    Tags:

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

    $radiobutton_groups = array()

    -

    [line 1442]

    +

    [line 1443]

    List of radio buttons parent objects.



    Tags:

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

    $radio_groups = array()

    -

    [line 1449]

    +

    [line 1450]

    List of radio group objects IDs



    Tags:

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

    $rasterize_vector_images =  false

    -

    [line 1546]

    +

    [line 1547]



    Tags:

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

    $re_spaces =  '/[\s]/'

    -

    [line 1302]

    +

    [line 1303]

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



    Tags:

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

    $rMargin =

    -

    [line 277]

    +

    [line 278]



    Tags:

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

    $rtl =  false

    -

    [line 735]

    +

    [line 736]



    Tags:

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

    $sign =  false

    -

    [line 1281]

    +

    [line 1282]

    If true enables document signing



    Tags:

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

    $signature_data = array()

    -

    [line 1288]

    +

    [line 1289]

    Signature data



    Tags:

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

    $signature_max_length =  11742

    -

    [line 1295]

    +

    [line 1296]

    Signature max length



    Tags:

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

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

    -

    [line 1323]

    +

    [line 1324]

    Placemark used during signature process.



    Tags:

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

    $sig_obj_id =  0

    -

    [line 1309]

    +

    [line 1310]

    Signature object ID



    Tags:

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

    $spot_colors = array()

    -

    [line 1048]

    +

    [line 1049]

    Array of Spot colors



    Tags:

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

    $start_transaction_page =  0

    -

    [line 1463]

    +

    [line 1464]

    Store page number when startTransaction() is called.



    Tags:

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

    $start_transaction_y =  0

    -

    [line 1470]

    +

    [line 1471]

    Store Y position when startTransaction() is called.



    Tags:

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

    $strokecolor =

    -

    [line 1526]

    +

    [line 1527]



    Tags:

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

    $subject =  ''

    -

    [line 484]

    +

    [line 485]



    Tags:

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

    $svgclipid =  0

    -

    [line 1609]

    +

    [line 1610]



    Tags:

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

    $svgclipmode =  false

    -

    [line 1595]

    +

    [line 1596]



    Tags:

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

    $svgclippaths = array()

    -

    [line 1602]

    +

    [line 1603]



    Tags:

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

    $svgdefs = array()

    -

    [line 1588]

    +

    [line 1589]



    Tags:

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

    $svgdefsmode =  false

    -

    [line 1581]

    +

    [line 1582]



    Tags:

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

    $svgdir =  ''

    -

    [line 1553]

    +

    [line 1554]



    Tags:

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

    $svggradientid =  0

    -

    [line 1574]

    +

    [line 1575]



    Tags:

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

    $svggradients = array()

    -

    [line 1567]

    +

    [line 1568]



    Tags:

    @@ -5831,7 +5836,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 1623]

    +

    [line 1624]



    Tags:

    @@ -5924,7 +5929,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 1630]

    +

    [line 1631]



    Tags:

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

    $svgtext =  ''

    -

    [line 1616]

    +

    [line 1617]



    Tags:

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

    $svgunit =  'px'

    -

    [line 1560]

    +

    [line 1561]



    Tags:

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

    $tagvspaces = array()

    -

    [line 1097]

    +

    [line 1098]

    Array used for custom vertical spaces for HTML tags



    Tags:

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

    $tempfontsize =  10

    -

    [line 708]

    +

    [line 709]



    Tags:

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

    $TextColor =

    -

    [line 436]

    +

    [line 437]



    Tags:

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

    $textindent =  0

    -

    [line 1456]

    +

    [line 1457]

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



    Tags:

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

    $textrendermode =  0

    -

    [line 1512]

    +

    [line 1513]

    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:

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

    $textstrokewidth =  0

    -

    [line 1519]

    +

    [line 1520]

    Text stroke width in doc units



    Tags:

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

    $thead =  ''

    -

    [line 1246]

    +

    [line 1247]

    Table header content to be repeated on each new page



    Tags:

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

    $theadMargins = array()

    -

    [line 1253]

    +

    [line 1254]

    Margins used for table header.



    Tags:

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

    $title =  ''

    -

    [line 478]

    +

    [line 479]



    Tags:

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

    $tMargin =

    -

    [line 271]

    +

    [line 272]



    Tags:

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

    $tmprtl =  false

    -

    [line 742]

    +

    [line 743]



    Tags:

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

    $tocpage =  false

    -

    [line 1539]

    +

    [line 1540]



    Tags:

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

    $transfmatrix = array()

    -

    [line 1069]

    +

    [line 1070]

    Array of transformation matrix



    Tags:

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

    $transfmatrix_key =  0

    -

    [line 1076]

    +

    [line 1077]

    Current key for transformation matrix



    Tags:

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

    $transfmrk = array()

    -

    [line 1134]

    +

    [line 1135]

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

    keys are the page numbers




    Tags:

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

    $underline =

    -

    [line 394]

    +

    [line 395]



    Tags:

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

    $ur =

    -

    [line 835]

    +

    [line 836]

    If true enables user's rights on PDF reader



    Tags:

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

    $ur_annots =

    -

    [line 849]

    +

    [line 850]

    Names specifying additional annotation-related usage rights for the document.



    Tags:

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

    $ur_document =

    -

    [line 842]

    +

    [line 843]

    Names specifying additional document-wide usage rights for the document.



    Tags:

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

    $ur_form =

    -

    [line 856]

    +

    [line 857]

    Names specifying additional form-field-related usage rights for the document.



    Tags:

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

    $ur_signature =

    -

    [line 863]

    +

    [line 864]

    Names specifying additional signature-related usage rights for the document.



    Tags:

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

    $viewer_preferences =

    -

    [line 940]

    +

    [line 941]

    PDF viewer preferences.



    Tags:

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

    $visibility =  'all'

    -

    [line 898]

    +

    [line 899]

    Restrict the rendering of some elements to screen or printout.



    Tags:

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

    $w =

    -

    [line 253]

    +

    [line 254]



    Tags:

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

    $wPt =

    -

    [line 241]

    +

    [line 242]



    Tags:

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

    $x =

    -

    [line 302]

    +

    [line 303]



    Tags:

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

    $y =

    -

    [line 308]

    +

    [line 309]



    Tags:

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

    $ZoomMode =

    -

    [line 466]

    +

    [line 467]



    Tags:

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

    constructor __construct [line 1713]

    +

    constructor __construct [line 1714]

    - + @@ -6845,7 +6850,7 @@ $diskcache = false])
    -

    destructor __destruct [line 1842]

    +

    destructor __destruct [line 1843]

    @@ -6822,7 +6827,7 @@ $diskcache = false])
    mixed   $format  The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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.
    boolean  
    @@ -6873,7 +6878,7 @@ $diskcache = false])
    -

    method AcceptPageBreak [line 3964]

    +

    method AcceptPageBreak [line 4153]

    @@ -6904,7 +6909,7 @@ $diskcache = false])
    -

    method addExtGState [line 12468]

    +

    method addExtGState [line 12763]

    @@ -6952,7 +6957,7 @@ $params)
    -

    method AddFont [line 3464]

    +

    method AddFont [line 3653]

    @@ -7009,7 +7014,7 @@ $fontfile = ''])
    -

    method addHtmlLink [line 8572]

    +

    method addHtmlLink [line 8850]

    @@ -7084,7 +7089,7 @@ $firstblock = false])
    -

    method addHTMLTOC [line 18066]

    +

    method addHTMLTOC [line 18361]

    @@ -7147,7 +7152,7 @@ $correct_align = true])
    -

    method addHTMLVertSpace [line 16830]

    +

    method addHTMLVertSpace [line 17125]

    @@ -7201,7 +7206,7 @@ $firstorlast = false])
    -

    method addJavascriptObject [line 11096]

    +

    method addJavascriptObject [line 11391]

    @@ -7252,7 +7257,7 @@ $onload = false])
    -

    method AddLink [line 3766]

    +

    method AddLink [line 3955]

    @@ -7283,7 +7288,7 @@ $onload = false])
    -

    method AddPage [line 2638]

    +

    method AddPage [line 2828]

    - + @@ -7343,7 +7348,7 @@ $tocpage = false])
    -

    method AddSpotColor [line 3083]

    +

    method AddSpotColor [line 3272]

    @@ -7325,7 +7330,7 @@ $tocpage = false])
    mixed   $format  The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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.
    boolean  
    @@ -7409,7 +7414,7 @@ $k)
    -

    method addTOC [line 17916]

    +

    method addTOC [line 18211]

    @@ -7472,7 +7477,7 @@ $toc_name = 'TOC'])
    -

    method addTOCPage [line 2613]

    +

    method addTOCPage [line 2803]

    @@ -7526,7 +7531,7 @@ $keepmargins = false])
    -

    method AliasNbPages [line 12280]

    +

    method AliasNbPages [line 12575]

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

    method AliasNumPage [line 12307]

    +

    method AliasNumPage [line 12602]

    @@ -7610,7 +7615,7 @@ $alias = '{pnb}'])
    -

    method Annotation [line 3822]

    +

    method Annotation [line 4011]

    @@ -7685,7 +7690,7 @@ $spaces = 0])
    -

    method Arrow [line 10309]

    +

    method Arrow [line 10604]

    @@ -7763,7 +7768,7 @@ $arm_angle = 15])
    -

    method arrUTF8ToUTF16BE [line 8469]

    +

    method arrUTF8ToUTF16BE [line 8747]

    @@ -7838,7 +7843,7 @@ $setbom = true])
    -

    method Bookmark [line 10974]

    +

    method Bookmark [line 11269]

    @@ -7898,7 +7903,7 @@ $page = ''])
    -

    method Button [line 11983]

    +

    method Button [line 12278]

    @@ -7994,7 +7999,7 @@ $js = false])
    -

    method Cell [line 4043]

    +

    method Cell [line 4232]

    @@ -8102,7 +8107,7 @@ $valign = 'M'])
    -

    method CheckBox [line 11913]

    +

    method CheckBox [line 12208]

    @@ -8192,7 +8197,7 @@ $js = false])
    -

    method checkPageBreak [line 3991]

    +

    method checkPageBreak [line 4180]

    @@ -8246,7 +8251,7 @@ $addpage = true])
    -

    method Circle [line 9997]

    +

    method Circle [line 10292]

    @@ -8345,7 +8350,7 @@ $angend:)
    -

    method Clip [line 12929]

    +

    method Clip [line 13224]

    @@ -8405,7 +8410,7 @@ $h)
    -

    method Close [line 2508]

    +

    method Close [line 2698]

    @@ -8436,7 +8441,7 @@ $h)
    -

    method closeHTMLTagHandler [line 16440]

    +

    method closeHTMLTagHandler [line 16735]

    @@ -8496,7 +8501,7 @@ $dom)
    -

    method colorRegistrationBar [line 12604]

    +

    method colorRegistrationBar [line 12899]

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

    method ComboBox [line 11852]

    +

    method ComboBox [line 12147]

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

    method commitTransaction [line 18178]

    +

    method commitTransaction [line 18473]

    @@ -8692,7 +8697,7 @@ $js = false])
    -

    method convertHexStringToString [line 9184]

    +

    method convertHexStringToString [line 9462]

    @@ -8734,7 +8739,7 @@ $bs)
    -

    method convertHTMLColorToDec [line 8605]

    +

    method convertHTMLColorToDec [line 8883]

    @@ -8771,9 +8776,54 @@ $color = '#FFFFFF'])
    [ Top ]
    +
    + +

    method convertStringToHexString [line 9483]

    +
    +
    +
    + byte convertStringToHexString( +string +$s) +
    +

    + + Convert string to hexadecimal string (byte string)



    +

    Tags:

    +
    + + + + + + + + + + + + + +
    return:  string
    author:  Nicola Asuni
    since:  5.0.010 (2010-05-17)
    access:  protected
    +
    +

    + + +

    Parameters:

    +
    + + + + + + +
    string  $s  string to convert
    +

    +
    [ Top ]
    +

    -

    method convertSVGtMatrix [line 19113]

    +

    method convertSVGtMatrix [line 19408]

    @@ -8815,7 +8865,7 @@ $tm)
    -

    method CoonsPatchMesh [line 12844]

    +

    method CoonsPatchMesh [line 13139]

    @@ -8923,7 +8973,7 @@ $antialias = false])
    -

    method copyPage [line 17848]

    +

    method copyPage [line 18143]

    @@ -8965,7 +9015,7 @@ $page = 0])
    -

    method cropMark [line 12702]

    +

    method cropMark [line 12997]

    @@ -9037,7 +9087,7 @@ $color = array(0,0,0)])
    -

    method Curve [line 9802]

    +

    method Curve [line 10097]

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

    method deletePage [line 17711]

    +

    method deletePage [line 18006]

    @@ -9181,7 +9231,7 @@ $page)
    -

    method Ellipse [line 9866]

    +

    method Ellipse [line 10161]

    @@ -9301,7 +9351,7 @@ $afinish:)
    -

    method empty_string [line 18232]

    +

    method empty_string [line 18527]

    @@ -9343,7 +9393,7 @@ $str)
    -

    method endPage [line 2658]

    +

    method endPage [line 2848]

    @@ -9385,7 +9435,7 @@ $tocpage = false])
    -

    method endSVGElementHandler [line 20140]

    +

    method endSVGElementHandler [line 20435]

    @@ -9433,7 +9483,7 @@ $name)
    -

    method endTOCPage [line 2623]

    +

    method endTOCPage [line 2813]

    @@ -9464,7 +9514,7 @@ $name)
    -

    method Error [line 2480]

    +

    method Error [line 2670]

    @@ -9503,7 +9553,7 @@ $msg)
    -

    method Footer [line 2906]

    +

    method Footer [line 3095]

    @@ -9528,7 +9578,7 @@ $msg)
    -

    method formatPageNumber [line 12384]

    +

    method formatPageNumber [line 12679]

    @@ -9567,7 +9617,7 @@ $num)
    -

    method formatTOCPageNumber [line 12396]

    +

    method formatTOCPageNumber [line 12691]

    @@ -9609,7 +9659,7 @@ $num)
    -

    method GetAbsX [line 5918]

    +

    method GetAbsX [line 6109]

    @@ -9640,7 +9690,7 @@ $num)
    -

    method getAliasNbPages [line 12292]

    +

    method getAliasNbPages [line 12587]

    @@ -9671,7 +9721,7 @@ $num)
    -

    method getAliasNumPage [line 12320]

    +

    method getAliasNumPage [line 12615]

    @@ -9702,7 +9752,7 @@ $num)
    -

    method getAnnotOptFromJSProp [line 11220]

    +

    method getAnnotOptFromJSProp [line 11515]

    @@ -9747,7 +9797,7 @@ $prop)
    -

    method GetArrStringWidth [line 3367]

    +

    method GetArrStringWidth [line 3556]

    @@ -9816,7 +9866,7 @@ $getarray = false])
    -

    method getBarcode [line 13579]

    +

    method getBarcode [line 13874]

    @@ -9844,7 +9894,7 @@ $getarray = false])
    -

    method getBorderMode [line 4667]

    +

    method getBorderMode [line 4856]

    @@ -9892,7 +9942,7 @@ $position = 'start'])
    -

    method getBreakMargin [line 2205]

    +

    method getBreakMargin [line 2395]

    @@ -9940,7 +9990,7 @@ $pagenum = ''])
    -

    method getBuffer [line 17397]

    +

    method getBuffer [line 17692]

    @@ -9971,7 +10021,7 @@ $pagenum = ''])
    -

    method getCellCode [line 4098]

    +

    method getCellCode [line 4287]

    @@ -10079,7 +10129,7 @@ $valign = 'M'])
    -

    method getCellHeightRatio [line 12564]

    +

    method getCellHeightRatio [line 12859]

    @@ -10107,7 +10157,7 @@ $valign = 'M'])
    -

    method GetCharWidth [line 3403]

    +

    method GetCharWidth [line 3592]

    @@ -10152,7 +10202,7 @@ $char)
    -

    method getEncPermissionsString [line 9205]

    +

    method getEncPermissionsString [line 9500]

    @@ -10194,7 +10244,7 @@ $protection)
    -

    method getFontAscent [line 3737]

    +

    method getFontAscent [line 3926]

    @@ -10248,7 +10298,7 @@ $size = 0])
    -

    method getFontBuffer [line 17557]

    +

    method getFontBuffer [line 17852]

    @@ -10290,7 +10340,7 @@ $font)
    -

    method getFontDescent [line 3716]

    +

    method getFontDescent [line 3905]

    @@ -10344,7 +10394,7 @@ $size = 0])
    -

    method getFontFamily [line 14063]

    +

    method getFontFamily [line 14358]

    @@ -10375,7 +10425,7 @@ $size = 0])
    -

    method getFontSize [line 14043]

    +

    method getFontSize [line 14338]

    @@ -10406,7 +10456,7 @@ $size = 0])
    -

    method getFontSizePt [line 14053]

    +

    method getFontSizePt [line 14348]

    @@ -10437,7 +10487,7 @@ $size = 0])
    -

    method getFontsList [line 3442]

    +

    method getFontsList [line 3631]

    @@ -10465,7 +10515,7 @@ $size = 0])
    -

    method getFontStyle [line 14073]

    +

    method getFontStyle [line 14368]

    @@ -10496,7 +10546,7 @@ $size = 0])
    -

    method getFooterFont [line 8530]

    +

    method getFooterFont [line 8808]

    @@ -10524,7 +10574,7 @@ $size = 0])
    -

    method getFooterMargin [line 2820]

    +

    method getFooterMargin [line 3009]

    @@ -10552,7 +10602,7 @@ $size = 0])
    -

    method getFormDefaultProp [line 11595]

    +

    method getFormDefaultProp [line 11890]

    @@ -10586,7 +10636,7 @@ $size = 0])
    -

    method getGDgamma [line 5858]

    +

    method getGDgamma [line 6049]

    @@ -10625,7 +10675,7 @@ $v)
    -

    method getGraphicVars [line 17261]

    +

    method getGraphicVars [line 17556]

    @@ -10656,7 +10706,7 @@ $v)
    -

    method getGroupPageNo [line 12333]

    +

    method getGroupPageNo [line 12628]

    @@ -10687,7 +10737,7 @@ $v)
    -

    method getGroupPageNoFormatted [line 12343]

    +

    method getGroupPageNoFormatted [line 12638]

    @@ -10718,7 +10768,7 @@ $v)
    -

    method getHeaderData [line 2775]

    +

    method getHeaderData [line 2964]

    @@ -10746,7 +10796,7 @@ $v)
    -

    method getHeaderFont [line 8510]

    +

    method getHeaderFont [line 8788]

    @@ -10774,7 +10824,7 @@ $v)
    -

    method getHeaderMargin [line 2800]

    +

    method getHeaderMargin [line 2989]

    @@ -10802,7 +10852,7 @@ $v)
    -

    method getHtmlDomArray [line 14109]

    +

    method getHtmlDomArray [line 14404]

    @@ -10841,7 +10891,7 @@ $html)
    -

    method getHTMLUnitToUnits [line 16976]

    +

    method getHTMLUnitToUnits [line 17271]

    @@ -10907,7 +10957,7 @@ $point)
    -

    method getHyphenPatternsFromTEX [line 18504]

    +

    method getHyphenPatternsFromTEX [line 18799]

    @@ -10952,7 +11002,7 @@ $file)
    -

    method getImageBuffer [line 17499]

    +

    method getImageBuffer [line 17794]

    @@ -10994,7 +11044,7 @@ $image)
    -

    method getImageFileType [line 5236]

    +

    method getImageFileType [line 5425]

    @@ -11042,7 +11092,7 @@ $iminfo = array()])
    -

    method getImageRBX [line 2846]

    +

    method getImageRBX [line 3035]

    @@ -11067,7 +11117,7 @@ $iminfo = array()])
    -

    method getImageRBY [line 2855]

    +

    method getImageRBY [line 3044]

    @@ -11092,7 +11142,7 @@ $iminfo = array()])
    -

    method getImageScale [line 2144]

    +

    method getImageScale [line 2334]

    @@ -11126,7 +11176,7 @@ $iminfo = array()])
    -

    method getLastH [line 2122]

    +

    method getLastH [line 2312]

    @@ -11157,7 +11207,7 @@ $iminfo = array()])
    -

    method GetLineWidth [line 9548]

    +

    method GetLineWidth [line 9843]

    @@ -11191,7 +11241,7 @@ $iminfo = array()])
    -

    method getMargins [line 14006]

    +

    method getMargins [line 14301]

    @@ -11222,7 +11272,7 @@ $iminfo = array()])
    -

    method GetNumChars [line 3430]

    +

    method GetNumChars [line 3619]

    @@ -11264,7 +11314,7 @@ $s)
    -

    method getNumLines [line 4755]

    +

    method getNumLines [line 4944]

    @@ -11317,7 +11367,7 @@ $w = 0])
    -

    method getNumPages [line 2601]

    +

    method getNumPages [line 2791]

    @@ -11351,7 +11401,7 @@ $w = 0])
    -

    method getObjFilename [line 17329]

    +

    method getObjFilename [line 17624]

    @@ -11396,7 +11446,7 @@ $prefix)
    -

    method getOriginalMargins [line 14029]

    +

    method getOriginalMargins [line 14324]

    @@ -11427,7 +11477,7 @@ $prefix)
    -

    method getPage [line 2589]

    +

    method getPage [line 2779]

    @@ -11461,7 +11511,7 @@ $prefix)
    -

    method getPageBuffer [line 17440]

    +

    method getPageBuffer [line 17735]

    @@ -11503,7 +11553,7 @@ $page)
    -

    method getPageDimensions [line 2157]

    +

    method getPageDimensions [line 2347]

    @@ -11513,7 +11563,7 @@ $pagenum = ''])

    - Returns an array of page dimensions:

    • $this->pagedim[$this->page]['w'] => page_width_in_points
    • $this->pagedim[$this->page]['h'] => height in points
    • $this->pagedim[$this->page]['wk'] => page_width_in_points
    • $this->pagedim[$this->page]['hk'] => height
    • $this->pagedim[$this->page]['tm'] => top_margin
    • $this->pagedim[$this->page]['bm'] => bottom_margin
    • $this->pagedim[$this->page]['lm'] => left_margin
    • $this->pagedim[$this->page]['rm'] => right_margin
    • $this->pagedim[$this->page]['pb'] => auto_page_break
    • $this->pagedim[$this->page]['or'] => page_orientation
    • $this->pagedim[$this->page]['olm'] => original_left_margin
    • $this->pagedim[$this->page]['orm'] => original_right_margin




    + Returns an array of page dimensions:

    • $this->pagedim[$this->page]['w'] = page width in points
    • $this->pagedim[$this->page]['h'] = height in points
    • $this->pagedim[$this->page]['wk'] = page width in user units
    • $this->pagedim[$this->page]['hk'] = page height in user units
    • $this->pagedim[$this->page]['tm'] = top margin
    • $this->pagedim[$this->page]['bm'] = bottom margin
    • $this->pagedim[$this->page]['lm'] = left margin
    • $this->pagedim[$this->page]['rm'] = right margin
    • $this->pagedim[$this->page]['pb'] = auto page break
    • $this->pagedim[$this->page]['or'] = page orientation
    • $this->pagedim[$this->page]['olm'] = original left margin
    • $this->pagedim[$this->page]['orm'] = original right margin
    • $this->pagedim[$this->page]['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.
    • $this->pagedim[$this->page]['PZ'] = The page's preferred zoom (magnification) factor.
    • $this->pagedim[$this->page]['trans'] : the style and duration of the visual transition to use when moving from another page to the given page during a presentation
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['trans']['S'] = transition style : Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade
      • $this->pagedim[$this->page]['trans']['D'] = The duration of the transition effect, in seconds.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['trans']['B'] = (Fly transition style only) If true, the area that shall be flown in is rectangular and opaque. Default: false.
    • $this->pagedim[$this->page]['MediaBox'] : the boundaries of the physical medium on which the page shall be displayed or printed
      • $this->pagedim[$this->page]['MediaBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['CropBox'] : the visible region of default user space
      • $this->pagedim[$this->page]['CropBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['CropBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['CropBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['CropBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['BleedBox'] : the region to which the contents of the page shall be clipped when output in a production environment
      • $this->pagedim[$this->page]['BleedBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['TrimBox'] : the intended dimensions of the finished page after trimming
      • $this->pagedim[$this->page]['TrimBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['ArtBox'] : the extent of the page's meaningful content
      • $this->pagedim[$this->page]['ArtBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['ury'] = upper-right y coordinate in points




    Tags:

    @@ -11548,7 +11598,7 @@ $pagenum = ''])
    -

    method getPageGroupAlias [line 12355]

    +

    method getPageGroupAlias [line 12650]

    @@ -11579,7 +11629,7 @@ $pagenum = ''])
    -

    method getPageHeight [line 2189]

    +

    method getPageHeight [line 2379]

    @@ -11627,7 +11677,7 @@ $pagenum = ''])
    -

    method getPageNumGroupAlias [line 12370]

    +

    method getPageNumGroupAlias [line 12665]

    @@ -11656,9 +11706,51 @@ $pagenum = ''])
    [ Top ]
    +
    + +

    method getPageSizeFromFormat [line 1902]

    +
    +
    +
    + array getPageSizeFromFormat( +mixed +$format) +
    +

    + + Get page dimensions from fromat name.



    +

    Tags:

    +
    + + + + + + + + + + +
    return:  containing page width and height in points
    since:  5.0.010 (2010-05-17)
    access:  public
    +
    +

    + + +

    Parameters:

    +
    + + + + + + +
    mixed  $format  The format name. It can be
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    +

    +
    [ Top ]
    +

    -

    method getPageWidth [line 2173]

    +

    method getPageWidth [line 2363]

    @@ -11706,7 +11798,7 @@ $pagenum = ''])
    -

    method getPathPaintOperator [line 18616]

    +

    method getPathPaintOperator [line 18911]

    @@ -11760,7 +11852,7 @@ $mode)
    -

    method getPDFData [line 8553]

    +

    method getPDFData [line 8831]

    @@ -11785,7 +11877,7 @@ $mode)
    -

    method getRemainingWidth [line 5137]

    +

    method getRemainingWidth [line 5326]

    @@ -11813,7 +11905,7 @@ $mode)
    -

    method getRTL [line 2057]

    +

    method getRTL [line 2247]

    @@ -11841,7 +11933,7 @@ $mode)
    -

    method getScaleFactor [line 2219]

    +

    method getScaleFactor [line 2409]

    @@ -11875,7 +11967,7 @@ $mode)
    -

    method getSpaceString [line 14652]

    +

    method getSpaceString [line 14947]

    @@ -11906,7 +11998,7 @@ $mode)
    -

    method GetStringWidth [line 3351]

    +

    method GetStringWidth [line 3540]

    @@ -11975,7 +12067,7 @@ $getarray = false])
    -

    method getSVGTransformMatrix [line 18991]

    +

    method getSVGTransformMatrix [line 19286]

    @@ -12020,7 +12112,7 @@ $attribute)
    -

    method getTransformationMatrixProduct [line 19095]

    +

    method getTransformationMatrixProduct [line 19390]

    @@ -12071,7 +12163,7 @@ $tb)
    -

    method getUserPermissionCode [line 9063]

    +

    method getUserPermissionCode [line 9341]

    @@ -12119,7 +12211,7 @@ $mode = 0])
    -

    method getVectorsAngle [line 19726]

    +

    method getVectorsAngle [line 20021]

    @@ -12179,7 +12271,7 @@ $y2)
    -

    method GetX [line 5902]

    +

    method GetX [line 6093]

    @@ -12210,7 +12302,7 @@ $y2)
    -

    method GetY [line 5929]

    +

    method GetY [line 6120]

    @@ -12241,7 +12333,7 @@ $y2)
    -

    method get_mqr [line 5576]

    +

    method get_mqr [line 5765]

    @@ -12272,7 +12364,7 @@ $y2)
    -

    method Gradient [line 12953]

    +

    method Gradient [line 13248]

    @@ -12338,7 +12430,7 @@ $antialias = false])
    -

    method Header [line 2864]

    +

    method Header [line 3053]

    @@ -12363,7 +12455,7 @@ $antialias = false])
    -

    method hyphenateText [line 18543]

    +

    method hyphenateText [line 18838]

    @@ -12444,7 +12536,7 @@ $charmax = 8])
    -

    method hyphenateWord [line 18434]

    +

    method hyphenateWord [line 18729]

    @@ -12525,7 +12617,7 @@ $charmax = 8])
    -

    method Image [line 5286]

    +

    method Image [line 5475]

    @@ -12663,7 +12755,7 @@ $fitonpage = false])
    -

    method ImageEps [line 13293]

    +

    method ImageEps [line 13588]

    @@ -12765,7 +12857,7 @@ $fitonpage = false])
    -

    method ImagePngAlpha [line 5814]

    +

    method ImagePngAlpha [line 6003]

    @@ -12870,7 +12962,7 @@ $palign = ''])
    -

    method ImageSVG [line 18707]

    +

    method ImageSVG [line 19002]

    @@ -12966,7 +13058,7 @@ $fitonpage = false])
    -

    method IncludeJS [line 11083]

    +

    method IncludeJS [line 11378]

    @@ -13008,7 +13100,7 @@ $script)
    -

    method intToRoman [line 17055]

    +

    method intToRoman [line 17350]

    @@ -13050,7 +13142,7 @@ $number)
    -

    method isRTLTextDir [line 2101]

    +

    method isRTLTextDir [line 2291]

    @@ -13078,7 +13170,7 @@ $number)
    -

    method lastPage [line 2578]

    +

    method lastPage [line 2768]

    @@ -13120,7 +13212,7 @@ $resetmargins = false])
    -

    method Line [line 9718]

    +

    method Line [line 10013]

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

    method LinearGradient [line 12803]

    +

    method LinearGradient [line 13098]

    @@ -13264,7 +13356,7 @@ $coords = array(0,0,1,0)])
    -

    method Link [line 3805]

    +

    method Link [line 3994]

    @@ -13336,7 +13428,7 @@ $spaces = 0])
    -

    method ListBox [line 11792]

    +

    method ListBox [line 12087]

    @@ -13426,7 +13518,7 @@ $js = false])
    -

    method Ln [line 5871]

    +

    method Ln [line 6062]

    @@ -13474,7 +13566,7 @@ $cell = false])
    -

    method MirrorH [line 9330]

    +

    method MirrorH [line 9625]

    @@ -13516,7 +13608,7 @@ $x = ''])
    -

    method MirrorL [line 9366]

    +

    method MirrorL [line 9661]

    @@ -13570,7 +13662,7 @@ $y = ''])
    -

    method MirrorP [line 9353]

    +

    method MirrorP [line 9648]

    @@ -13618,7 +13710,7 @@ $y = ''])
    -

    method MirrorV [line 9341]

    +

    method MirrorV [line 9636]

    @@ -13660,7 +13752,7 @@ $y = ''])
    -

    method movePage [line 17574]

    +

    method movePage [line 17869]

    @@ -13708,7 +13800,7 @@ $topage)
    -

    method MultiCell [line 4508]

    +

    method MultiCell [line 4697]

    @@ -13834,7 +13926,7 @@ $maxh = 0])
    -

    method objclone [line 18221]

    +

    method objclone [line 18516]

    @@ -13876,7 +13968,7 @@ $object)
    -

    method Open [line 2495]

    +

    method Open [line 2685]

    @@ -13907,7 +13999,7 @@ $object)
    -

    method openHTMLTagHandler [line 15822]

    +

    method openHTMLTagHandler [line 16117]

    @@ -13961,7 +14053,7 @@ $dom)
    -

    method Output [line 6021]

    +

    method Output [line 6212]

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

    method PageNo [line 3067]

    +

    method PageNo [line 3256]

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

    method PageNoFormatted [line 12406]

    +

    method PageNoFormatted [line 12701]

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

    method PieSector [line 13232]

    +

    method PieSector [line 13527]

    @@ -14170,7 +14262,7 @@ $o:)
    -

    method PieSectorXY [line 13253]

    +

    method PieSectorXY [line 13548]

    @@ -14278,7 +14370,7 @@ $o:)
    -

    method pixelsToUnits [line 8662]

    +

    method pixelsToUnits [line 8940]

    @@ -14320,7 +14412,7 @@ $px)
    -

    method Polycurve [line 9829]

    +

    method Polycurve [line 10124]

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

    method Polygon [line 10035]

    +

    method Polygon [line 10330]

    @@ -14455,7 +14547,7 @@ $closed = true])
    -

    method PolyLine [line 10016]

    +

    method PolyLine [line 10311]

    @@ -14518,7 +14610,7 @@ $closed)
    -

    method putHtmlListBullet [line 17120]

    +

    method putHtmlListBullet [line 17415]

    @@ -14569,7 +14661,7 @@ $size = 10])
    -

    method RadialGradient [line 12821]

    +

    method RadialGradient [line 13116]

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

    method RadioButton [line 11704]

    +

    method RadioButton [line 11999]

    @@ -14737,7 +14829,7 @@ $js = false])
    -

    method readDiskCache [line 17369]

    +

    method readDiskCache [line 17664]

    @@ -14785,7 +14877,7 @@ $file)
    -

    method Rect [line 9746]

    +

    method Rect [line 10041]

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

    method registrationMark [line 12772]

    +

    method registrationMark [line 13067]

    @@ -14935,7 +15027,7 @@ $colb = array(255,255,255)])
    -

    method RegularPolygon [line 10133]

    +

    method RegularPolygon [line 10428]

    @@ -15046,7 +15138,7 @@ $r:)
    -

    method removeSHY [line 4061]

    +

    method removeSHY [line 4250]

    @@ -15088,7 +15180,7 @@ $txt = ''])
    -

    method revstrpos [line 18245]

    +

    method revstrpos [line 18540]

    @@ -15142,7 +15234,7 @@ $offset = 0])
    -

    method rfread [line 5784]

    +

    method rfread [line 5973]

    @@ -15193,7 +15285,7 @@ $length)
    -

    method rollbackTransaction [line 18192]

    +

    method rollbackTransaction [line 18487]

    @@ -15235,7 +15327,7 @@ $self = false])
    -

    method Rotate [line 9422]

    +

    method Rotate [line 9717]

    @@ -15289,7 +15381,7 @@ $y = ''])
    -

    method RoundedRect [line 10223]

    +

    method RoundedRect [line 10518]

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

    method RoundedRectXY [line 10242]

    +

    method RoundedRectXY [line 10537]

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

    method Scale [line 9298]

    +

    method Scale [line 9593]

    @@ -15529,7 +15621,7 @@ $y = ''])
    -

    method ScaleX [line 9258]

    +

    method ScaleX [line 9553]

    @@ -15583,7 +15675,7 @@ $y = ''])
    -

    method ScaleXY [line 9284]

    +

    method ScaleXY [line 9579]

    @@ -15637,7 +15729,7 @@ $y = ''])
    -

    method ScaleY [line 9271]

    +

    method ScaleY [line 9566]

    @@ -15691,7 +15783,7 @@ $y = ''])
    -

    method segSVGContentHandler [line 20178]

    +

    method segSVGContentHandler [line 20473]

    @@ -15739,7 +15831,7 @@ $data)
    -

    method selectColumn [line 18308]

    +

    method selectColumn [line 18603]

    @@ -15778,7 +15870,7 @@ $col = ''])
    -

    method serializeTCPDFtagParameters [line 18359]

    +

    method serializeTCPDFtagParameters [line 18654]

    @@ -15820,7 +15912,7 @@ $pararray)
    -

    method setAlpha [line 12521]

    +

    method setAlpha [line 12816]

    @@ -15865,7 +15957,7 @@ $bm = 'Normal'])
    -

    method SetAuthor [line 2444]

    +

    method SetAuthor [line 2634]

    @@ -15907,7 +15999,7 @@ $author)
    -

    method SetAutoPageBreak [line 2311]

    +

    method SetAutoPageBreak [line 2501]

    @@ -15955,7 +16047,7 @@ $margin = 0])
    -

    method setBarcode [line 13569]

    +

    method setBarcode [line 13864]

    @@ -15991,7 +16083,7 @@ $bc = ''])
    -

    method SetBooklet [line 16890]

    +

    method SetBooklet [line 17185]

    @@ -16042,7 +16134,7 @@ $outer = -1])
    -

    method setBuffer [line 17379]

    +

    method setBuffer [line 17674]

    @@ -16081,7 +16173,7 @@ $data)
    -

    method setCellHeightRatio [line 12555]

    +

    method setCellHeightRatio [line 12850]

    @@ -16120,7 +16212,7 @@ $h)
    -

    method SetCellPadding [line 2299]

    +

    method SetCellPadding [line 2489]

    @@ -16162,7 +16254,7 @@ $pad)
    -

    method setColumnsArray [line 18295]

    +

    method setColumnsArray [line 18590]

    @@ -16201,7 +16293,7 @@ $columns)
    -

    method SetCompression [line 2404]

    +

    method SetCompression [line 2594]

    @@ -16240,7 +16332,7 @@ $compress)
    -

    method setContentMark [line 2742]

    +

    method setContentMark [line 2931]

    @@ -16279,7 +16371,7 @@ $page = 0])
    -

    method SetCreator [line 2468]

    +

    method SetCreator [line 2658]

    @@ -16321,7 +16413,7 @@ $creator)
    -

    method SetDefaultMonospacedFont [line 3755]

    +

    method SetDefaultMonospacedFont [line 3944]

    @@ -16360,7 +16452,7 @@ $font)
    -

    method setDefaultTableColumns [line 12545]

    +

    method setDefaultTableColumns [line 12840]

    @@ -16399,7 +16491,7 @@ $cols = 4])
    -

    method SetDisplayMode [line 2326]

    +

    method SetDisplayMode [line 2516]

    @@ -16450,7 +16542,7 @@ $mode = 'UseNone'])
    -

    method SetDrawColor [line 3122]

    +

    method SetDrawColor [line 3311]

    @@ -16510,7 +16602,7 @@ $col4 = -1])
    -

    method SetDrawColorArray [line 3099]

    +

    method SetDrawColorArray [line 3288]

    @@ -16552,7 +16644,7 @@ $color)
    -

    method SetDrawSpotColor [line 3163]

    +

    method SetDrawSpotColor [line 3352]

    @@ -16600,7 +16692,7 @@ $tint = 100])
    -

    method setEqualColumns [line 18262]

    +

    method setEqualColumns [line 18557]

    @@ -16651,7 +16743,7 @@ $y = ''])
    -

    method setExtGState [line 12487]

    +

    method setExtGState [line 12782]

    @@ -16690,7 +16782,7 @@ $gs)
    -

    method SetFillColor [line 3205]

    +

    method SetFillColor [line 3394]

    @@ -16750,7 +16842,7 @@ $col4 = -1])
    -

    method SetFillColorArray [line 3182]

    +

    method SetFillColorArray [line 3371]

    @@ -16792,7 +16884,7 @@ $color)
    -

    method SetFillSpotColor [line 3247]

    +

    method SetFillSpotColor [line 3436]

    @@ -16840,7 +16932,7 @@ $tint = 100])
    -

    method SetFont [line 3668]

    +

    method SetFont [line 3857]

    @@ -16900,7 +16992,7 @@ $fontfile = ''])
    -

    method setFontBuffer [line 17515]

    +

    method setFontBuffer [line 17810]

    @@ -16945,7 +17037,7 @@ $data)
    -

    method SetFontSize [line 3688]

    +

    method SetFontSize [line 3877]

    @@ -16987,7 +17079,7 @@ $size)
    -

    method setFontSubBuffer [line 17537]

    +

    method setFontSubBuffer [line 17832]

    @@ -17038,7 +17130,7 @@ $data)
    -

    method setFooter [line 2977]

    +

    method setFooter [line 3166]

    @@ -17066,7 +17158,7 @@ $data)
    -

    method setFooterFont [line 8520]

    +

    method setFooterFont [line 8798]

    @@ -17105,7 +17197,7 @@ $font)
    -

    method setFooterMargin [line 2810]

    +

    method setFooterMargin [line 2999]

    @@ -17141,7 +17233,7 @@ $fm = 10])
    -

    method setFormDefaultProp [line 11584]

    +

    method setFormDefaultProp [line 11879]

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

    method setGraphicVars [line 17294]

    +

    method setGraphicVars [line 17589]

    @@ -17222,7 +17314,7 @@ $gvars)
    -

    method setHeader [line 2941]

    +

    method setHeader [line 3130]

    @@ -17250,7 +17342,7 @@ $gvars)
    -

    method setHeaderData [line 2761]

    +

    method setHeaderData [line 2950]

    @@ -17304,7 +17396,7 @@ $hs = ''])
    -

    method setHeaderFont [line 8500]

    +

    method setHeaderFont [line 8778]

    @@ -17343,7 +17435,7 @@ $font)
    -

    method setHeaderMargin [line 2790]

    +

    method setHeaderMargin [line 2979]

    @@ -17379,7 +17471,7 @@ $hm = 10])
    -

    method setHtmlLinksStyle [line 16961]

    +

    method setHtmlLinksStyle [line 17256]

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

    method setHtmlVSpace [line 16930]

    +

    method setHtmlVSpace [line 17225]

    @@ -17463,7 +17555,7 @@ $tagvs)
    -

    method setImageBuffer [line 17456]

    +

    method setImageBuffer [line 17751]

    @@ -17508,7 +17600,7 @@ $data)
    -

    method setImageScale [line 2133]

    +

    method setImageScale [line 2323]

    @@ -17550,7 +17642,7 @@ $scale)
    -

    method setImageSubBuffer [line 17479]

    +

    method setImageSubBuffer [line 17774]

    @@ -17601,7 +17693,7 @@ $data)
    -

    method setJPEGQuality [line 12532]

    +

    method setJPEGQuality [line 12827]

    @@ -17640,7 +17732,7 @@ $quality)
    -

    method SetKeywords [line 2456]

    +

    method SetKeywords [line 2646]

    @@ -17682,7 +17774,7 @@ $keywords)
    -

    method setLanguageArray [line 8540]

    +

    method setLanguageArray [line 8818]

    @@ -17721,7 +17813,7 @@ $language)
    -

    method setLastH [line 2112]

    +

    method setLastH [line 2302]

    @@ -17763,7 +17855,7 @@ $h)
    -

    method SetLeftMargin [line 2255]

    +

    method SetLeftMargin [line 2445]

    @@ -17805,7 +17897,7 @@ $margin)
    -

    method SetLineStyle [line 9573]

    +

    method SetLineStyle [line 9868]

    @@ -17851,7 +17943,7 @@ $style)
    -

    method SetLineWidth [line 9532]

    +

    method SetLineWidth [line 9827]

    @@ -17893,7 +17985,7 @@ $width)
    -

    method SetLink [line 3782]

    +

    method SetLink [line 3971]

    @@ -17947,7 +18039,7 @@ $page = -1])
    -

    method setListIndentWidth [line 16940]

    +

    method setListIndentWidth [line 17235]

    @@ -17986,7 +18078,7 @@ $width)
    -

    method setLIsymbol [line 16851]

    +

    method setLIsymbol [line 17146]

    @@ -18025,7 +18117,7 @@ $symbol = '!'])
    -

    method SetMargins [line 2233]

    +

    method SetMargins [line 2423]

    @@ -18085,7 +18177,7 @@ $keepmargins = false])
    -

    method setOpenCell [line 16950]

    +

    method setOpenCell [line 17245]

    @@ -18124,7 +18216,7 @@ $isopen)
    -

    method setPage [line 2531]

    +

    method setPage [line 2721]

    @@ -18170,9 +18262,78 @@ $resetmargins = false])
    [ Top ]
    +
    + +

    method setPageBoxes [line 2080]

    +
    +
    +
    + void setPageBoxes( +int +$page, string +$type, float +$llx, float +$lly, float +$urx, float +$ury) +
    +

    + + Set page boundaries.



    +

    Tags:

    +
    + + + + + + + +
    since:  5.0.010 (2010-05-17)
    access:  public
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int  $page  page number
    string  $type  valid values are:
    • 'MediaBox' : the boundaries of the physical medium on which the page shall be displayed or printed;
    • 'CropBox' : the visible region of default user space;
    • 'BleedBox' : the region to which the contents of the page shall be clipped when output in a production environment;
    • 'TrimBox' : the intended dimensions of the finished page after trimming;
    • 'ArtBox' : the page's meaningful content (including potential white space).
    float  $llx  lower-left x coordinate in user units</li>
    float  $lly  lower-left y coordinate in user units</li>
    float  $urx  upper-right x coordinate in user units</li>
    float  $ury  upper-right y coordinate in user units</li>
    +

    +
    [ Top ]
    +

    -

    method setPageBuffer [line 17413]

    +

    method setPageBuffer [line 17708]

    - + - + - +
    @@ -18223,13 +18384,13 @@ $append = false])
    -

    method setPageFormat [line 1901]

    +

    method setPageFormat [line 1966]

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

    @@ -18255,12 +18416,12 @@ $orientation = 'P'])
    mixed   $format  The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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.
    string     $orientation  page orientation. Possible values are (case insensitive):
    • P or PORTRAIT (default)
    • L or LANDSCAPE

    @@ -18268,7 +18429,7 @@ $orientation = 'P'])
    -

    method setPageMark [line 2730]

    +

    method setPageMark [line 2919]

    @@ -18296,7 +18457,7 @@ $orientation = 'P'])
    -

    method setPageOrientation [line 1974]

    +

    method setPageOrientation [line 2124]

    @@ -18347,7 +18508,7 @@ $bottommargin = ''])
    -

    method setPageUnit [line 1857]

    +

    method setPageUnit [line 1858]

    @@ -18386,7 +18547,7 @@ $unit)
    -

    method setPDFVersion [line 12574]

    +

    method setPDFVersion [line 12869]

    @@ -18425,7 +18586,7 @@ $version = '1.7'])
    -

    method setPrintFooter [line 2837]

    +

    method setPrintFooter [line 3026]

    @@ -18467,7 +18628,7 @@ $value)
    -

    method setPrintHeader [line 2828]

    +

    method setPrintHeader [line 3017]

    @@ -18503,7 +18664,7 @@ $val = true])
    -

    method SetProtection [line 9107]

    +

    method SetProtection [line 9385]

    @@ -18569,7 +18730,7 @@ $pubkeys = null])
    -

    method setRasterizeVectorImages [line 18590]

    +

    method setRasterizeVectorImages [line 18885]

    @@ -18608,7 +18769,7 @@ $mode)
    -

    method SetRightMargin [line 2285]

    +

    method SetRightMargin [line 2475]

    @@ -18650,7 +18811,7 @@ $margin)
    -

    method setRTL [line 2041]

    +

    method setRTL [line 2231]

    @@ -18695,7 +18856,7 @@ $resetx = true])
    -

    method setSignature [line 12236]

    +

    method setSignature [line 12531]

    @@ -18767,7 +18928,7 @@ $info = array()])
    -

    method setSpacesRE [line 2026]

    +

    method setSpacesRE [line 2216]

    @@ -18806,7 +18967,7 @@ $re = '/[\s]/'])
    -

    method SetSubject [line 2432]

    +

    method SetSubject [line 2622]

    @@ -18848,7 +19009,7 @@ $subject)
    -

    method setSVGStyles [line 19152]

    +

    method setSVGStyles [line 19447]

    @@ -18932,7 +19093,7 @@ $clip_params = array()])
    -

    method setTableHeader [line 3023]

    +

    method setTableHeader [line 3212]

    @@ -18960,7 +19121,7 @@ $clip_params = array()])
    -

    method setTempRTL [line 2067]

    +

    method setTempRTL [line 2257]

    @@ -18999,7 +19160,7 @@ $mode)
    -

    method SetTextColor [line 3289]

    +

    method SetTextColor [line 3478]

    @@ -19059,7 +19220,7 @@ $col4 = -1])
    -

    method SetTextColorArray [line 3266]

    +

    method SetTextColorArray [line 3455]

    @@ -19101,7 +19262,7 @@ $color)
    -

    method setTextRenderingMode [line 18371]

    +

    method setTextRenderingMode [line 18666]

    @@ -19152,7 +19313,7 @@ $clip = false])
    -

    method SetTextSpotColor [line 3328]

    +

    method SetTextSpotColor [line 3517]

    @@ -19200,7 +19361,7 @@ $tint = 100])
    -

    method SetTitle [line 2420]

    +

    method SetTitle [line 2610]

    @@ -19242,7 +19403,7 @@ $title)
    -

    method SetTopMargin [line 2270]

    +

    method SetTopMargin [line 2460]

    @@ -19284,7 +19445,7 @@ $margin)
    -

    method setUserRights [line 12203]

    +

    method setUserRights [line 12498]

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

    method setViewerPreferences [line 12587]

    +

    method setViewerPreferences [line 12882]

    @@ -19392,7 +19553,7 @@ $preferences)
    -

    method setVisibility [line 12432]

    +

    method setVisibility [line 12727]

    @@ -19431,7 +19592,7 @@ $v)
    -

    method SetX [line 5942]

    +

    method SetX [line 6133]

    @@ -19479,7 +19640,7 @@ $rtloff = false])
    -

    method SetXY [line 6006]

    +

    method SetXY [line 6197]

    @@ -19533,7 +19694,7 @@ $rtloff = false])
    -

    method SetY [line 5974]

    +

    method SetY [line 6165]

    @@ -19587,7 +19748,7 @@ $rtloff = false])
    -

    method set_mqr [line 5561]

    +

    method set_mqr [line 5750]

    @@ -19626,7 +19787,7 @@ $mqr)
    -

    method Skew [line 9478]

    +

    method Skew [line 9773]

    @@ -19686,7 +19847,7 @@ $y = ''])
    -

    method SkewX [line 9451]

    +

    method SkewX [line 9746]

    @@ -19740,7 +19901,7 @@ $y = ''])
    -

    method SkewY [line 9464]

    +

    method SkewY [line 9759]

    @@ -19794,7 +19955,7 @@ $y = ''])
    -

    method StarPolygon [line 10181]

    +

    method StarPolygon [line 10476]

    - + - + - +
    @@ -19918,14 +20079,14 @@ $draw_circle:)
    -

    method startPage [line 2686]

    +

    method startPage [line 2875]

    void startPage( [string $orientation = ''], [mixed -$format = ''], [boolean +$format = ''], [ $tocpage = false])

    @@ -19959,12 +20120,12 @@ $tocpage = false])
    mixed   $format  The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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.
    boolean     $tocpage  if true set the tocpage state to true (the added page will be used to display Table of Content).

    @@ -19972,7 +20133,7 @@ $tocpage = false])
    -

    method startPageGroup [line 12265]

    +

    method startPageGroup [line 12560]

    @@ -20011,7 +20172,7 @@ $page = ''])
    -

    method startSVGElementHandler [line 19749]

    +

    method startSVGElementHandler [line 20044]

    @@ -20065,7 +20226,7 @@ $attribs)
    -

    method startTransaction [line 18161]

    +

    method startTransaction [line 18456]

    @@ -20093,7 +20254,7 @@ $attribs)
    -

    method StartTransform [line 9226]

    +

    method StartTransform [line 9521]

    @@ -20124,7 +20285,7 @@ $attribs)
    -

    method StopTransform [line 9241]

    +

    method StopTransform [line 9536]

    @@ -20155,7 +20316,7 @@ $attribs)
    -

    method SVGPath [line 19408]

    +

    method SVGPath [line 19703]

    @@ -20206,7 +20367,7 @@ $style = ''])
    -

    method SVGTransform [line 19133]

    +

    method SVGTransform [line 19428]

    @@ -20245,7 +20406,7 @@ $tm)
    -

    method swapMargins [line 16906]

    +

    method swapMargins [line 17201]

    @@ -20282,9 +20443,48 @@ $reverse = true])
    [ Top ]
    +
    + +

    method swapPageBoxCoordinates [line 2101]

    +
    +
    +
    + void swapPageBoxCoordinates( +int +$page) +
    +

    + + Swap X and Y coordinates of page boxes (change page boxes orientation).



    +

    Tags:

    +
    + + + + + + + +
    since:  5.0.010 (2010-05-17)
    access:  protected
    +
    +

    + + +

    Parameters:

    +
    + + + + + + +
    int  $page  page number
    +

    +
    [ Top ]
    +

    -

    method Text [line 3944]

    +

    method Text [line 4133]

    @@ -20416,7 +20616,7 @@ $rtloff = false])
    -

    method TextField [line 11613]

    +

    method TextField [line 11908]

    @@ -20500,7 +20700,7 @@ $js = false])
    -

    method Transform [line 9508]

    +

    method Transform [line 9803]

    @@ -20542,7 +20742,7 @@ $tm)
    -

    method Translate [line 9401]

    +

    method Translate [line 9696]

    @@ -20590,7 +20790,7 @@ $t_y)
    -

    method TranslateX [line 9378]

    +

    method TranslateX [line 9673]

    @@ -20632,7 +20832,7 @@ $t_x)
    -

    method TranslateY [line 9389]

    +

    method TranslateY [line 9684]

    @@ -20674,7 +20874,7 @@ $t_y)
    -

    method unhtmlentities [line 8673]

    +

    method unhtmlentities [line 8951]

    @@ -20713,7 +20913,7 @@ $text_to_convert)
    -

    method UniArrSubString [line 5176]

    +

    method UniArrSubString [line 5365]

    @@ -20767,7 +20967,7 @@ $end = ''])
    -

    method unichr [line 5209]

    +

    method unichr [line 5398]

    @@ -20812,7 +21012,7 @@ $c)
    -

    method UTF8ArrayToUniArray [line 5197]

    +

    method UTF8ArrayToUniArray [line 5386]

    @@ -20854,7 +21054,7 @@ $ta)
    -

    method UTF8ArrSubString [line 5153]

    +

    method UTF8ArrSubString [line 5342]

    @@ -20905,7 +21105,7 @@ $end = ''])
    -

    method UTF8ArrToLatin1 [line 8410]

    +

    method UTF8ArrToLatin1 [line 8688]

    @@ -20947,7 +21147,7 @@ $unicode)
    -

    method utf8Bidi [line 10403]

    +

    method utf8Bidi [line 10698]

    @@ -21004,7 +21204,7 @@ $forcertl = false])
    -

    method utf8StrArrRev [line 10389]

    +

    method utf8StrArrRev [line 10684]

    @@ -21064,7 +21264,7 @@ $forcertl = false])
    -

    method UTF8StringToArray [line 8273]

    +

    method UTF8StringToArray [line 8551]

    @@ -21130,7 +21330,7 @@ $str)
    -

    method utf8StrRev [line 10374]

    +

    method utf8StrRev [line 10669]

    @@ -21184,7 +21384,7 @@ $forcertl = false])
    -

    method UTF8ToLatin1 [line 8380]

    +

    method UTF8ToLatin1 [line 8658]

    @@ -21226,7 +21426,7 @@ $str)
    -

    method UTF8ToUTF16BE [line 8364]

    +

    method UTF8ToUTF16BE [line 8642]

    @@ -21277,7 +21477,7 @@ $setbom = true])
    -

    method Write [line 4799]

    +

    method Write [line 4988]

    @@ -21373,7 +21573,7 @@ $maxh = 0])
    -

    method write1DBarcode [line 13598]

    +

    method write1DBarcode [line 13893]

    @@ -21463,7 +21663,7 @@ $align = ''])
    -

    method write2DBarcode [line 13840]

    +

    method write2DBarcode [line 14135]

    @@ -21547,7 +21747,7 @@ $align = ''])
    -

    method writeBarcode [line 13790]

    +

    method writeBarcode [line 14085]

    @@ -21637,7 +21837,7 @@ $code)
    -

    method writeDiskCache [line 17341]

    +

    method writeDiskCache [line 17636]

    @@ -21694,7 +21894,7 @@ $file)
    -

    method writeHTML [line 14672]

    +

    method writeHTML [line 14967]

    @@ -21760,7 +21960,7 @@ $align = ''])
    -

    method writeHTMLCell [line 14097]

    +

    method writeHTMLCell [line 14392]

    @@ -21862,7 +22062,7 @@ $autopadding = true])
    -

    method _addfield [line 11185]

    +

    method _addfield [line 11480]

    @@ -21940,7 +22140,7 @@ $prop)
    -

    method _AES [line 8895]

    +

    method _AES [line 9173]

    @@ -21991,7 +22191,7 @@ $text)
    -

    method _beginpage [line 7957]

    +

    method _beginpage [line 8230]

    - +
    @@ -22025,7 +22225,7 @@ $format = ''])
    mixed   $format  The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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.

    @@ -22033,7 +22233,7 @@ $format = ''])
    -

    method _dataannobjstring [line 8129]

    +

    method _dataannobjstring [line 8407]

    @@ -22072,7 +22272,7 @@ $s)
    -

    method _datastring [line 8118]

    +

    method _datastring [line 8396]

    @@ -22111,7 +22311,7 @@ $s)
    -

    method _datestring [line 8140]

    +

    method _datestring [line 8418]

    @@ -22142,7 +22342,7 @@ $s)
    -

    method _destroy [line 6215]

    +

    method _destroy [line 6406]

    @@ -22187,7 +22387,7 @@ $preserve_objcopy = false])
    -

    method _dochecks [line 6243]

    +

    method _dochecks [line 6434]

    @@ -22212,7 +22412,7 @@ $preserve_objcopy = false])
    -

    method _dolinethrough [line 8045]

    +

    method _dolinethrough [line 8323]

    @@ -22260,7 +22460,7 @@ $txt)
    -

    method _dolinethroughw [line 8058]

    +

    method _dolinethroughw [line 8336]

    @@ -22317,7 +22517,7 @@ $txt)
    -

    method _dooverline [line 8071]

    +

    method _dooverline [line 8349]

    @@ -22368,7 +22568,7 @@ $txt)
    -

    method _dooverlinew [line 8084]

    +

    method _dooverlinew [line 8362]

    @@ -22419,7 +22619,7 @@ $w)
    -

    method _dounderline [line 8020]

    +

    method _dounderline [line 8298]

    @@ -22467,7 +22667,7 @@ $txt)
    -

    method _dounderlinew [line 8033]

    +

    method _dounderlinew [line 8311]

    @@ -22518,7 +22718,7 @@ $w)
    -

    method _encrypt_data [line 8706]

    +

    method _encrypt_data [line 8984]

    @@ -22566,7 +22766,7 @@ $s)
    -

    method _enddoc [line 7856]

    +

    method _enddoc [line 8129]

    @@ -22591,7 +22791,7 @@ $s)
    -

    method _endpage [line 7996]

    +

    method _endpage [line 8274]

    @@ -22616,7 +22816,7 @@ $s)
    -

    method _escape [line 8107]

    +

    method _escape [line 8385]

    @@ -22655,7 +22855,7 @@ $s)
    -

    method _escapetext [line 8179]

    +

    method _escapetext [line 8457]

    @@ -22694,7 +22894,7 @@ $s)
    -

    method _freadint [line 8096]

    +

    method _freadint [line 8374]

    @@ -22733,7 +22933,7 @@ $f)
    -

    method _generateencryptionkey [line 8982]

    +

    method _generateencryptionkey [line 9260]

    @@ -22785,9 +22985,51 @@ $protection)
    [ Top ]
    +
    + +

    method _getannotsrefs [line 6679]

    +
    +
    +
    + string _getannotsrefs( +int +$n) +
    +

    + + Get references to page annotations.



    +

    Tags:

    +
    + + + + + + + + + + +
    author:  Nicola Asuni
    since:  5.0.010 (2010-05-17)
    access:  protected
    +
    +

    + + +

    Parameters:

    +
    + + + + + + +
    int  $n  page number
    +

    +
    [ Top ]
    +

    -

    method _getfontpath [line 6259]

    +

    method _getfontpath [line 6450]

    @@ -22812,7 +23054,7 @@ $protection)
    -

    method _getstream [line 8197]

    +

    method _getstream [line 8475]

    @@ -22854,7 +23096,7 @@ $n = 0])
    -

    method _JScolor [line 11161]

    +

    method _JScolor [line 11456]

    @@ -22896,7 +23138,7 @@ $color)
    -

    method _md5_16 [line 8913]

    +

    method _md5_16 [line 9191]

    @@ -22941,7 +23183,7 @@ $str)
    -

    method _newobj [line 8006]

    +

    method _newobj [line 8284]

    @@ -22969,7 +23211,7 @@ $str)
    -

    method _objectkey [line 8687]

    +

    method _objectkey [line 8965]

    @@ -23011,7 +23253,7 @@ $n)
    -

    method _out [line 8221]

    +

    method _out [line 8499]

    @@ -23047,7 +23289,7 @@ $s)
    -

    method _outCurve [line 9673]

    +

    method _outCurve [line 9968]

    @@ -23116,7 +23358,7 @@ $y3)
    -

    method _outCurveV [line 9687]

    +

    method _outCurveV [line 9982]

    @@ -23173,7 +23415,7 @@ $y3)
    -

    method _outCurveY [line 9703]

    +

    method _outCurveY [line 9998]

    @@ -23242,7 +23484,7 @@ $y2)
    -

    method _outellipticalarc [line 9900]

    +

    method _outellipticalarc [line 10195]

    @@ -23350,7 +23592,7 @@ $angf:)
    -

    method _outLine [line 9643]

    +

    method _outLine [line 9938]

    @@ -23395,7 +23637,7 @@ $y)
    -

    method _outPoint [line 9631]

    +

    method _outPoint [line 9926]

    @@ -23440,7 +23682,7 @@ $y)
    -

    method _outRect [line 9657]

    +

    method _outRect [line 9952]

    @@ -23503,7 +23745,7 @@ $op)
    -

    method _Ovalue [line 8926]

    +

    method _Ovalue [line 9204]

    @@ -23554,7 +23796,7 @@ $owner_pass)
    -

    method _parsejpeg [line 5653]

    +

    method _parsejpeg [line 5842]

    @@ -23593,7 +23835,7 @@ $file)
    -

    method _parsepng [line 5679]

    +

    method _parsepng [line 5868]

    @@ -23632,7 +23874,7 @@ $file)
    -

    method _putannotsobjs [line 6438]

    +

    method _putannotsobjs [line 6711]

    @@ -23663,7 +23905,7 @@ $file)
    -

    method _putannotsrefs [line 6406]

    +

    method _putannotsrefs [line 6667]

    + + + @@ -23705,7 +23950,7 @@ $n)
    -

    method _putAPXObject [line 7050]

    +

    method _putAPXObject [line 7323]

    @@ -23680,6 +23922,9 @@ $n)
    author:  Nicola Asuni
    deprecated:  
    since:  4.7.000 (2008-08-29)
    @@ -23759,7 +24004,7 @@ $stream = ''])
    -

    method _putbookmarks [line 11002]

    +

    method _putbookmarks [line 11297]

    @@ -23790,7 +24035,7 @@ $stream = ''])
    -

    method _putcatalog [line 7674]

    +

    method _putcatalog [line 7947]

    @@ -23815,7 +24060,7 @@ $stream = ''])
    -

    method _putcidfont0 [line 7408]

    +

    method _putcidfont0 [line 7681]

    @@ -23860,7 +24105,7 @@ $font)
    -

    method _putEmbeddedFiles [line 3902]

    +

    method _putEmbeddedFiles [line 4091]

    @@ -23891,7 +24136,7 @@ $font)
    -

    method _putencryption [line 8730]

    +

    method _putencryption [line 9008]

    @@ -23922,7 +24167,7 @@ $font)
    -

    method _putextgstates [line 12497]

    +

    method _putextgstates [line 12792]

    @@ -23961,7 +24206,7 @@ $gs)
    -

    method _putfonts [line 7079]

    +

    method _putfonts [line 7352]

    @@ -23986,7 +24231,7 @@ $gs)
    -

    method _putfontwidths [line 7216]

    +

    method _putfontwidths [line 7489]

    @@ -24037,7 +24282,7 @@ $cidoffset = 0])
    -

    method _putheader [line 7848]

    +

    method _putheader [line 8121]

    @@ -24062,7 +24307,7 @@ $cidoffset = 0])
    -

    method _putimages [line 7475]

    +

    method _putimages [line 7748]

    @@ -24087,7 +24332,7 @@ $cidoffset = 0])
    -

    method _putinfo [line 7630]

    +

    method _putinfo [line 7903]

    @@ -24112,7 +24357,7 @@ $cidoffset = 0])
    -

    method _putjavascript [line 11108]

    +

    method _putjavascript [line 11403]

    @@ -24143,7 +24388,7 @@ $cidoffset = 0])
    -

    method _putocg [line 12415]

    +

    method _putocg [line 12710]

    @@ -24171,7 +24416,7 @@ $cidoffset = 0])
    -

    method _putpages [line 6270]

    +

    method _putpages [line 6461]

    @@ -24196,7 +24441,7 @@ $cidoffset = 0])
    -

    method _putresourcedict [line 7547]

    +

    method _putresourcedict [line 7820]

    @@ -24221,7 +24466,7 @@ $cidoffset = 0])
    -

    method _putresources [line 7607]

    +

    method _putresources [line 7880]

    @@ -24246,7 +24491,7 @@ $cidoffset = 0])
    -

    method _putshaders [line 13051]

    +

    method _putshaders [line 13346]

    @@ -24277,7 +24522,7 @@ $cidoffset = 0])
    -

    method _putsignature [line 12133]

    +

    method _putsignature [line 12428]

    @@ -24308,7 +24553,7 @@ $cidoffset = 0])
    -

    method _putspotcolors [line 7529]

    +

    method _putspotcolors [line 7802]

    @@ -24336,7 +24581,7 @@ $cidoffset = 0])
    -

    method _putstream [line 8212]

    +

    method _putstream [line 8490]

    @@ -24378,7 +24623,7 @@ $n = 0])
    -

    method _puttrailer [line 7831]

    +

    method _puttrailer [line 8104]

    @@ -24403,7 +24648,7 @@ $n = 0])
    -

    method _puttruetypeunicode [line 7315]

    +

    method _puttruetypeunicode [line 7588]

    diff --git a/examples/index.php b/examples/index.php index bdda12b..fce23ad 100644 --- a/examples/index.php +++ b/examples/index.php @@ -78,6 +78,7 @@ echo '<'.'?'.'xml version="1.0" encoding="UTF-8"'.'?'.'>';
  • Cell vertical alignments: [PDF]
  • SVG Image: [PDF]
  • Table Of Content with HTML templates: [PDF]
  • +
  • Advanced page settings: [PDF]
  • diff --git a/tcpdf.php b/tcpdf.php index b5e09e7..ab5ee39 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -2,9 +2,9 @@ //============================================================+ // File name : tcpdf.php // Begin : 2002-08-03 -// Last Update : 2010-05-16 +// Last Update : 2010-05-17 // Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org -// Version : 5.0.009 +// Version : 5.0.010 // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // ---------------------------------------------------------------------------- // Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l. @@ -122,7 +122,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.0.009 + * @version 5.0.010 */ /** @@ -146,14 +146,14 @@ if (!class_exists('TCPDF', false)) { /** * define default PDF document producer */ - define('PDF_PRODUCER', 'TCPDF 5.0.009 (http://www.tcpdf.org)'); + define('PDF_PRODUCER', 'TCPDF 5.0.010 (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.0.009 + * @version 5.0.010 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -211,7 +211,8 @@ if (!class_exists('TCPDF', false)) { protected $CurOrientation; /** - * @var array that stores page dimensions and graphic status.
    • $this->pagedim[$this->page]['w'] => page_width_in_points
    • $this->pagedim[$this->page]['h'] => height in points
    • $this->pagedim[$this->page]['wk'] => page_width_in_points
    • $this->pagedim[$this->page]['hk'] => height
    • $this->pagedim[$this->page]['tm'] => top_margin
    • $this->pagedim[$this->page]['bm'] => bottom_margin
    • $this->pagedim[$this->page]['lm'] => left_margin
    • $this->pagedim[$this->page]['rm'] => right_margin
    • $this->pagedim[$this->page]['pb'] => auto_page_break
    • $this->pagedim[$this->page]['or'] => page_orientation
    • $this->pagedim[$this->page]['olm'] => original_left_margin
    • $this->pagedim[$this->page]['orm'] => original_right_margin
    + * @var Page dimensions: + *
    • $this->pagedim[$this->page]['w'] = page width in points
    • $this->pagedim[$this->page]['h'] = height in points
    • $this->pagedim[$this->page]['wk'] = page width in user units
    • $this->pagedim[$this->page]['hk'] = page height in user units
    • $this->pagedim[$this->page]['tm'] = top margin
    • $this->pagedim[$this->page]['bm'] = bottom margin
    • $this->pagedim[$this->page]['lm'] = left margin
    • $this->pagedim[$this->page]['rm'] = right margin
    • $this->pagedim[$this->page]['pb'] = auto page break
    • $this->pagedim[$this->page]['or'] = page orientation
    • $this->pagedim[$this->page]['olm'] = original left margin
    • $this->pagedim[$this->page]['orm'] = original right margin
    • $this->pagedim[$this->page]['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.
    • $this->pagedim[$this->page]['PZ'] = The page's preferred zoom (magnification) factor.
    • $this->pagedim[$this->page]['trans'] : the style and duration of the visual transition to use when moving from another page to the given page during a presentation
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['trans']['S'] = transition style : Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade
      • $this->pagedim[$this->page]['trans']['D'] = The duration of the transition effect, in seconds.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['trans']['B'] = (Fly transition style only) If true, the area that shall be flown in is rectangular and opaque. Default: false.
    • $this->pagedim[$this->page]['MediaBox'] : the boundaries of the physical medium on which the page shall be displayed or printed
      • $this->pagedim[$this->page]['MediaBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['CropBox'] : the visible region of default user space
      • $this->pagedim[$this->page]['CropBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['CropBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['CropBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['CropBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['BleedBox'] : the region to which the contents of the page shall be clipped when output in a production environment
      • $this->pagedim[$this->page]['BleedBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['TrimBox'] : the intended dimensions of the finished page after trimming
      • $this->pagedim[$this->page]['TrimBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['ArtBox'] : the extent of the page's meaningful content
      • $this->pagedim[$this->page]['ArtBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['ury'] = upper-right y coordinate in points
    * @access protected */ protected $pagedim = array(); @@ -1704,7 +1705,7 @@ if (!class_exists('TCPDF', false)) { * @since 1.0 * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or Portrait (default)
    • L or Landscape
    * @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 following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    + * @param mixed $format The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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 boolean $unicode TRUE means that the input text is unicode (default = true) * @param boolean $diskcache if TRUE reduce the RAM memory usage by caching temporary data on filesystem (slower). * @param String $encoding charset encoding; default is UTF-8 @@ -1887,82 +1888,231 @@ if (!class_exists('TCPDF', false)) { } $this->pdfunit = $unit; if (isset($this->CurOrientation)) { - $this->setPageOrientation($this->CurOrientation); + $this->setPageOrientation($this->CurOrientation); } } + /** + * Get page dimensions from fromat name. + * @param mixed $format The format name. It can be
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    + * @return array containing page width and height in points + * @access public + * @since 5.0.010 (2010-05-17) + */ + public function getPageSizeFromFormat($format) { + // Page formats (45 standard ISO paper formats and 4 american common formats). + // Paper cordinates are calculated in this way: (inches * 72) where (1 inch = 2.54 cm) + switch (strtoupper($format)) { + case '4A0': {$pf = array(4767.87,6740.79); break;} + case '2A0': {$pf = array(3370.39,4767.87); break;} + case 'A0': {$pf = array(2383.94,3370.39); break;} + case 'A1': {$pf = array(1683.78,2383.94); break;} + case 'A2': {$pf = array(1190.55,1683.78); break;} + case 'A3': {$pf = array(841.89,1190.55); break;} + case 'A4': {$pf = array(595.28,841.89); break;} + case 'A5': {$pf = array(419.53,595.28); break;} + case 'A6': {$pf = array(297.64,419.53); break;} + case 'A7': {$pf = array(209.76,297.64); break;} + case 'A8': {$pf = array(147.40,209.76); break;} + case 'A9': {$pf = array(104.88,147.40); break;} + case 'A10': {$pf = array(73.70,104.88); break;} + case 'B0': {$pf = array(2834.65,4008.19); break;} + case 'B1': {$pf = array(2004.09,2834.65); break;} + case 'B2': {$pf = array(1417.32,2004.09); break;} + case 'B3': {$pf = array(1000.63,1417.32); break;} + case 'B4': {$pf = array(708.66,1000.63); break;} + case 'B5': {$pf = array(498.90,708.66); break;} + case 'B6': {$pf = array(354.33,498.90); break;} + case 'B7': {$pf = array(249.45,354.33); break;} + case 'B8': {$pf = array(175.75,249.45); break;} + case 'B9': {$pf = array(124.72,175.75); break;} + case 'B10': {$pf = array(87.87,124.72); break;} + case 'C0': {$pf = array(2599.37,3676.54); break;} + case 'C1': {$pf = array(1836.85,2599.37); break;} + case 'C2': {$pf = array(1298.27,1836.85); break;} + case 'C3': {$pf = array(918.43,1298.27); break;} + case 'C4': {$pf = array(649.13,918.43); break;} + case 'C5': {$pf = array(459.21,649.13); break;} + case 'C6': {$pf = array(323.15,459.21); break;} + case 'C7': {$pf = array(229.61,323.15); break;} + case 'C8': {$pf = array(161.57,229.61); break;} + case 'C9': {$pf = array(113.39,161.57); break;} + case 'C10': {$pf = array(79.37,113.39); break;} + case 'RA0': {$pf = array(2437.80,3458.27); break;} + case 'RA1': {$pf = array(1729.13,2437.80); break;} + case 'RA2': {$pf = array(1218.90,1729.13); break;} + case 'RA3': {$pf = array(864.57,1218.90); break;} + case 'RA4': {$pf = array(609.45,864.57); break;} + case 'SRA0': {$pf = array(2551.18,3628.35); break;} + case 'SRA1': {$pf = array(1814.17,2551.18); break;} + case 'SRA2': {$pf = array(1275.59,1814.17); break;} + case 'SRA3': {$pf = array(907.09,1275.59); break;} + case 'SRA4': {$pf = array(637.80,907.09); break;} + case 'LETTER': {$pf = array(612.00,792.00); break;} + case 'LEGAL': {$pf = array(612.00,1008.00); break;} + case 'EXECUTIVE': {$pf = array(521.86,756.00); break;} + case 'FOLIO': {$pf = array(612.00,936.00); break;} + default: {$pf = array(595.28,841.89); break;} // DEFAULT A4 + } + return $pf; + } + /** * Set the page format - * @param mixed $format The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    - * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or PORTRAIT (default)
    • L or LANDSCAPE
    + * @param mixed $format The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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.
    * @access public * @since 3.0.015 (2008-06-06) */ public function setPageFormat($format, $orientation='P') { //Page format if (is_string($format)) { - // Page formats (45 standard ISO paper formats and 4 american common formats). - // Paper cordinates are calculated in this way: (inches * 72) where (1 inch = 2.54 cm) - switch (strtoupper($format)) { - case '4A0': {$format = array(4767.87,6740.79); break;} - case '2A0': {$format = array(3370.39,4767.87); break;} - case 'A0': {$format = array(2383.94,3370.39); break;} - case 'A1': {$format = array(1683.78,2383.94); break;} - case 'A2': {$format = array(1190.55,1683.78); break;} - case 'A3': {$format = array(841.89,1190.55); break;} - case 'A4': default: {$format = array(595.28,841.89); break;} - case 'A5': {$format = array(419.53,595.28); break;} - case 'A6': {$format = array(297.64,419.53); break;} - case 'A7': {$format = array(209.76,297.64); break;} - case 'A8': {$format = array(147.40,209.76); break;} - case 'A9': {$format = array(104.88,147.40); break;} - case 'A10': {$format = array(73.70,104.88); break;} - case 'B0': {$format = array(2834.65,4008.19); break;} - case 'B1': {$format = array(2004.09,2834.65); break;} - case 'B2': {$format = array(1417.32,2004.09); break;} - case 'B3': {$format = array(1000.63,1417.32); break;} - case 'B4': {$format = array(708.66,1000.63); break;} - case 'B5': {$format = array(498.90,708.66); break;} - case 'B6': {$format = array(354.33,498.90); break;} - case 'B7': {$format = array(249.45,354.33); break;} - case 'B8': {$format = array(175.75,249.45); break;} - case 'B9': {$format = array(124.72,175.75); break;} - case 'B10': {$format = array(87.87,124.72); break;} - case 'C0': {$format = array(2599.37,3676.54); break;} - case 'C1': {$format = array(1836.85,2599.37); break;} - case 'C2': {$format = array(1298.27,1836.85); break;} - case 'C3': {$format = array(918.43,1298.27); break;} - case 'C4': {$format = array(649.13,918.43); break;} - case 'C5': {$format = array(459.21,649.13); break;} - case 'C6': {$format = array(323.15,459.21); break;} - case 'C7': {$format = array(229.61,323.15); break;} - case 'C8': {$format = array(161.57,229.61); break;} - case 'C9': {$format = array(113.39,161.57); break;} - case 'C10': {$format = array(79.37,113.39); break;} - case 'RA0': {$format = array(2437.80,3458.27); break;} - case 'RA1': {$format = array(1729.13,2437.80); break;} - case 'RA2': {$format = array(1218.90,1729.13); break;} - case 'RA3': {$format = array(864.57,1218.90); break;} - case 'RA4': {$format = array(609.45,864.57); break;} - case 'SRA0': {$format = array(2551.18,3628.35); break;} - case 'SRA1': {$format = array(1814.17,2551.18); break;} - case 'SRA2': {$format = array(1275.59,1814.17); break;} - case 'SRA3': {$format = array(907.09,1275.59); break;} - case 'SRA4': {$format = array(637.80,907.09); break;} - case 'LETTER': {$format = array(612.00,792.00); break;} - case 'LEGAL': {$format = array(612.00,1008.00); break;} - case 'EXECUTIVE': {$format = array(521.86,756.00); break;} - case 'FOLIO': {$format = array(612.00,936.00); break;} - } - $this->fwPt = $format[0]; - $this->fhPt = $format[1]; + // get page measures from format name + $pf = $this->getPageSizeFromFormat($format); + $this->fwPt = $pf[0]; + $this->fhPt = $pf[1]; } else { - $this->fwPt = $format[0] * $this->k; - $this->fhPt = $format[1] * $this->k; + // the boundaries of the physical medium on which the page shall be displayed or printed + if (isset($format['MediaBox'])) { + $this->setPageBoxes($this->page, 'MediaBox', $format['MediaBox']['llx'], $format['MediaBox']['lly'], $format['MediaBox']['urx'], $format['MediaBox']['ury']); + $this->fwPt = (($format['MediaBox']['urx'] - $format['MediaBox']['llx']) * $this->k); + $this->fhPt = (($format['MediaBox']['ury'] - $format['MediaBox']['lly']) * $this->k); + } else { + if (isset($format[0]) AND is_numeric($format[0]) AND isset($format[1]) AND is_numeric($format[1])) { + $pf = array($format[0], $format[1]); + } else { + if (!isset($format['format'])) { + // default value + $format['format'] = 'A4'; + } + $pf = $this->getPageSizeFromFormat($format['format']); + } + $this->setPageBoxes($this->page, 'MediaBox', 0, 0, $pf[0], $pf[1]); + $this->fwPt = ($pf[0] * $this->k); + $this->fhPt = ($pf[1] * $this->k); + } + // the visible region of default user space + if (isset($format['CropBox'])) { + $this->setPageBoxes($this->page, 'CropBox', $format['CropBox']['llx'], $format['CropBox']['lly'], $format['CropBox']['urx'], $format['CropBox']['ury']); + } + // the region to which the contents of the page shall be clipped when output in a production environment + if (isset($format['BleedBox'])) { + $this->setPageBoxes($this->page, 'BleedBox', $format['BleedBox']['llx'], $format['BleedBox']['lly'], $format['BleedBox']['urx'], $format['BleedBox']['ury']); + } + // the intended dimensions of the finished page after trimming + if (isset($format['TrimBox'])) { + $this->setPageBoxes($this->page, 'TrimBox', $format['TrimBox']['llx'], $format['TrimBox']['lly'], $format['TrimBox']['urx'], $format['TrimBox']['ury']); + } + // the page's meaningful content (including potential white space) + if (isset($format['ArtBox'])) { + $this->setPageBoxes($this->page, 'ArtBox', $format['ArtBox']['llx'], $format['ArtBox']['lly'], $format['ArtBox']['urx'], $format['ArtBox']['ury']); + } + // specify the colours and other visual characteristics that should be used in displaying guidelines on the screen for the various page boundaries + if (isset($format['BoxColorInfo'])) { + $this->pagedim[$this->page]['BoxColorInfo'] = $format['BoxColorInfo']; + } + if (isset($format['Rotate']) AND (($format['Rotate'] % 90) == 0)) { + // The number of degrees by which the page shall be rotated clockwise when displayed or printed. The value shall be a multiple of 90. + $this->pagedim[$this->page]['Rotate'] = intval($format['Rotate']); + } + if (isset($format['PZ'])) { + // The page's preferred zoom (magnification) factor + $this->pagedim[$this->page]['PZ'] = floatval($format['PZ']); + } + if (isset($format['trans'])) { + // The style and duration of the visual transition to use when moving from another page to the given page during a presentation + if (isset($format['trans']['Dur'])) { + // The page's display duration + $this->pagedim[$this->page]['trans']['Dur'] = floatval($format['trans']['Dur']); + } + $stansition_styles = array('Split', 'Blinds', 'Box', 'Wipe', 'Dissolve', 'Glitter', 'R', 'Fly', 'Push', 'Cover', 'Uncover', 'Fade'); + if (isset($format['trans']['S']) AND in_array($format['trans']['S'], $stansition_styles)) { + // The transition style that shall be used when moving to this page from another during a presentation + $this->pagedim[$this->page]['trans']['S'] = $format['trans']['S']; + $valid_effect = array('Split', 'Blinds'); + $valid_vals = array('H', 'V'); + if (isset($format['trans']['Dm']) AND in_array($format['trans']['S'], $valid_effect) AND in_array($format['trans']['Dm'], $valid_vals)) { + $this->pagedim[$this->page]['trans']['Dm'] = $format['trans']['Dm']; + } + $valid_effect = array('Split', 'Box', 'Fly'); + $valid_vals = array('I', 'O'); + if (isset($format['trans']['M']) AND in_array($format['trans']['S'], $valid_effect) AND in_array($format['trans']['M'], $valid_vals)) { + $this->pagedim[$this->page]['trans']['M'] = $format['trans']['M']; + } + $valid_effect = array('Wipe', 'Glitter', 'Fly', 'Cover', 'Uncover', 'Push'); + if (isset($format['trans']['Di']) AND in_array($format['trans']['S'], $valid_effect)) { + if (((($format['trans']['Di'] == 90) OR ($format['trans']['Di'] == 180)) AND ($format['trans']['S'] == 'Wipe')) + OR (($format['trans']['Di'] == 315) AND ($format['trans']['S'] == 'Glitter')) + OR (($format['trans']['Di'] == 0) OR ($format['trans']['Di'] == 270))) { + $this->pagedim[$this->page]['trans']['Di'] = intval($format['trans']['Di']); + } + } + if (isset($format['trans']['SS']) AND ($format['trans']['S'] == 'Fly')) { + $this->pagedim[$this->page]['trans']['SS'] = floatval($format['trans']['SS']); + } + if (isset($format['trans']['B']) AND ($format['trans']['B'] === true) AND ($format['trans']['S'] == 'Fly')) { + $this->pagedim[$this->page]['trans']['B'] = 'true'; + } + } else { + $this->pagedim[$this->page]['trans']['S'] = 'R'; + } + if (isset($format['trans']['D'])) { + // The duration of the transition effect, in seconds + $this->pagedim[$this->page]['trans']['D'] = floatval($format['trans']['D']); + } else { + $this->pagedim[$this->page]['trans']['D'] = 1; + } + } } $this->setPageOrientation($orientation); } + /** + * Set page boundaries. + * @param int $page page number + * @param string $type valid values are:
    • 'MediaBox' : the boundaries of the physical medium on which the page shall be displayed or printed;
    • 'CropBox' : the visible region of default user space;
    • 'BleedBox' : the region to which the contents of the page shall be clipped when output in a production environment;
    • 'TrimBox' : the intended dimensions of the finished page after trimming;
    • 'ArtBox' : the page's meaningful content (including potential white space).
    + * @param float $llx lower-left x coordinate in user units + * @param float $lly lower-left y coordinate in user units + * @param float $urx upper-right x coordinate in user units + * @param float $ury upper-right y coordinate in user units + * @access public + * @since 5.0.010 (2010-05-17) + */ + public function setPageBoxes($page, $type, $llx, $lly, $urx, $ury) { + if (!isset($this->pagedim[$this->page])) { + // initialize array + $this->pagedim[$this->page] = array(); + } + $pageboxes = array('MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox'); + if (!in_array($type, $pageboxes)) { + return; + } + $this->pagedim[$page][$type]['llx'] = ($llx * $this->k); + $this->pagedim[$page][$type]['lly'] = ($lly * $this->k); + $this->pagedim[$page][$type]['urx'] = ($urx * $this->k); + $this->pagedim[$page][$type]['ury'] = ($ury * $this->k); + } + + /** + * Swap X and Y coordinates of page boxes (change page boxes orientation). + * @param int $page page number + * @access protected + * @since 5.0.010 (2010-05-17) + */ + protected function swapPageBoxCoordinates($page) { + $pageboxes = array('MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox'); + foreach ($pageboxes as $type) { + // swap X and Y coordinates + if (isset($this->pagedim[$page][$type])) { + $tmp = $this->pagedim[$page][$type]['llx']; + $this->pagedim[$page][$type]['llx'] = $this->pagedim[$page][$type]['lly']; + $this->pagedim[$page][$type]['lly'] = $tmp; + $tmp = $this->pagedim[$page][$type]['urx']; + $this->pagedim[$page][$type]['urx'] = $this->pagedim[$page][$type]['ury']; + $this->pagedim[$page][$type]['ury'] = $tmp; + } + } + } + /** * Set page orientation. * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or PORTRAIT (default)
    • L or LANDSCAPE
    @@ -1972,6 +2122,34 @@ if (!class_exists('TCPDF', false)) { * @since 3.0.015 (2008-06-06) */ public function setPageOrientation($orientation, $autopagebreak='', $bottommargin='') { + if (!isset($this->pagedim[$this->page]['MediaBox'])) { + // the boundaries of the physical medium on which the page shall be displayed or printed + $this->setPageBoxes($this->page, 'MediaBox', 0, 0, ($this->fwPt / $this->k), ($this->fhPt / $this->k)); + } + if (!isset($this->pagedim[$this->page]['CropBox'])) { + // the visible region of default user space + $this->setPageBoxes($this->page, 'CropBox', $this->pagedim[$this->page]['MediaBox']['llx'], $this->pagedim[$this->page]['MediaBox']['lly'], $this->pagedim[$this->page]['MediaBox']['urx'], $this->pagedim[$this->page]['MediaBox']['ury']); + } + if (!isset($this->pagedim[$this->page]['BleedBox'])) { + // the region to which the contents of the page shall be clipped when output in a production environment + $this->setPageBoxes($this->page, 'BleedBox', $this->pagedim[$this->page]['CropBox']['llx'], $this->pagedim[$this->page]['CropBox']['lly'], $this->pagedim[$this->page]['CropBox']['urx'], $this->pagedim[$this->page]['CropBox']['ury']); + } + if (!isset($this->pagedim[$this->page]['TrimBox'])) { + // the intended dimensions of the finished page after trimming + $this->setPageBoxes($this->page, 'TrimBox', $this->pagedim[$this->page]['CropBox']['llx'], $this->pagedim[$this->page]['CropBox']['lly'], $this->pagedim[$this->page]['CropBox']['urx'], $this->pagedim[$this->page]['CropBox']['ury']); + } + if (!isset($this->pagedim[$this->page]['ArtBox'])) { + // the page's meaningful content (including potential white space) + $this->setPageBoxes($this->page, 'ArtBox', $this->pagedim[$this->page]['CropBox']['llx'], $this->pagedim[$this->page]['CropBox']['lly'], $this->pagedim[$this->page]['CropBox']['urx'], $this->pagedim[$this->page]['CropBox']['ury']); + } + if (!isset($this->pagedim[$this->page]['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. + $this->pagedim[$this->page]['Rotate'] = 0; + } + if (!isset($this->pagedim[$this->page]['PZ'])) { + // The page's preferred zoom (magnification) factor + $this->pagedim[$this->page]['PZ'] = 1; + } if ($this->fwPt > $this->fhPt) { // landscape $default_orientation = 'L'; @@ -1990,6 +2168,7 @@ if (!class_exists('TCPDF', false)) { $this->CurOrientation = $orientation; $this->wPt = $this->fhPt; $this->hPt = $this->fwPt; + $this->swapPageBoxCoordinates($this->page); } else { $this->CurOrientation = $default_orientation; $this->wPt = $this->fwPt; @@ -2014,7 +2193,18 @@ if (!class_exists('TCPDF', false)) { } $this->SetAutoPageBreak($autopagebreak, $bottommargin); // store page dimensions - $this->pagedim[$this->page] = array('w' => $this->wPt, 'h' => $this->hPt, 'wk' => $this->w, 'hk' => $this->h, 'tm' => $this->tMargin, 'bm' => $bottommargin, 'lm' => $this->lMargin, 'rm' => $this->rMargin, 'pb' => $autopagebreak, 'or' => $this->CurOrientation, 'olm' => $this->original_lMargin, 'orm' => $this->original_rMargin); + $this->pagedim[$this->page]['w'] = $this->wPt; + $this->pagedim[$this->page]['h'] = $this->hPt; + $this->pagedim[$this->page]['wk'] = $this->w; + $this->pagedim[$this->page]['hk'] = $this->h; + $this->pagedim[$this->page]['tm'] = $this->tMargin; + $this->pagedim[$this->page]['bm'] = $bottommargin; + $this->pagedim[$this->page]['lm'] = $this->lMargin; + $this->pagedim[$this->page]['rm'] = $this->rMargin; + $this->pagedim[$this->page]['pb'] = $autopagebreak; + $this->pagedim[$this->page]['or'] = $this->CurOrientation; + $this->pagedim[$this->page]['olm'] = $this->original_lMargin; + $this->pagedim[$this->page]['orm'] = $this->original_rMargin; } /** @@ -2147,7 +2337,7 @@ if (!class_exists('TCPDF', false)) { /** * Returns an array of page dimensions: - *
    • $this->pagedim[$this->page]['w'] => page_width_in_points
    • $this->pagedim[$this->page]['h'] => height in points
    • $this->pagedim[$this->page]['wk'] => page_width_in_points
    • $this->pagedim[$this->page]['hk'] => height
    • $this->pagedim[$this->page]['tm'] => top_margin
    • $this->pagedim[$this->page]['bm'] => bottom_margin
    • $this->pagedim[$this->page]['lm'] => left_margin
    • $this->pagedim[$this->page]['rm'] => right_margin
    • $this->pagedim[$this->page]['pb'] => auto_page_break
    • $this->pagedim[$this->page]['or'] => page_orientation
    • $this->pagedim[$this->page]['olm'] => original_left_margin
    • $this->pagedim[$this->page]['orm'] => original_right_margin
    + *
    • $this->pagedim[$this->page]['w'] = page width in points
    • $this->pagedim[$this->page]['h'] = height in points
    • $this->pagedim[$this->page]['wk'] = page width in user units
    • $this->pagedim[$this->page]['hk'] = page height in user units
    • $this->pagedim[$this->page]['tm'] = top margin
    • $this->pagedim[$this->page]['bm'] = bottom margin
    • $this->pagedim[$this->page]['lm'] = left margin
    • $this->pagedim[$this->page]['rm'] = right margin
    • $this->pagedim[$this->page]['pb'] = auto page break
    • $this->pagedim[$this->page]['or'] = page orientation
    • $this->pagedim[$this->page]['olm'] = original left margin
    • $this->pagedim[$this->page]['orm'] = original right margin
    • $this->pagedim[$this->page]['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.
    • $this->pagedim[$this->page]['PZ'] = The page's preferred zoom (magnification) factor.
    • $this->pagedim[$this->page]['trans'] : the style and duration of the visual transition to use when moving from another page to the given page during a presentation
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['trans']['S'] = transition style : Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade
      • $this->pagedim[$this->page]['trans']['D'] = The duration of the transition effect, in seconds.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['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.
      • $this->pagedim[$this->page]['trans']['B'] = (Fly transition style only) If true, the area that shall be flown in is rectangular and opaque. Default: false.
    • $this->pagedim[$this->page]['MediaBox'] : the boundaries of the physical medium on which the page shall be displayed or printed
      • $this->pagedim[$this->page]['MediaBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['MediaBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['CropBox'] : the visible region of default user space
      • $this->pagedim[$this->page]['CropBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['CropBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['CropBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['CropBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['BleedBox'] : the region to which the contents of the page shall be clipped when output in a production environment
      • $this->pagedim[$this->page]['BleedBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['BleedBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['TrimBox'] : the intended dimensions of the finished page after trimming
      • $this->pagedim[$this->page]['TrimBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['TrimBox']['ury'] = upper-right y coordinate in points
    • $this->pagedim[$this->page]['ArtBox'] : the extent of the page's meaningful content
      • $this->pagedim[$this->page]['ArtBox']['llx'] = lower-left x coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['lly'] = lower-left y coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['urx'] = upper-right x coordinate in points
      • $this->pagedim[$this->page]['ArtBox']['ury'] = upper-right y coordinate in points
    * @param int $pagenum page number (empty = current page) * @return array of page dimensions. * @author Nicola Asuni @@ -2540,8 +2730,8 @@ if (!class_exists('TCPDF', false)) { $this->page = $pnum; $this->wPt = $this->pagedim[$this->page]['w']; $this->hPt = $this->pagedim[$this->page]['h']; - $this->w = $this->wPt / $this->k; - $this->h = $this->hPt / $this->k; + $this->w = $this->pagedim[$this->page]['wk']; + $this->h = $this->pagedim[$this->page]['hk']; $this->tMargin = $this->pagedim[$this->page]['tm']; $this->bMargin = $this->pagedim[$this->page]['bm']; $this->original_lMargin = $this->pagedim[$this->page]['olm']; @@ -2628,7 +2818,7 @@ if (!class_exists('TCPDF', false)) { * Adds a new page to the document. If a page is already present, the Footer() method is called first to output the footer (if enabled). Then the page is added, the current position set to the top-left corner according to the left and top margins (or top-right if in RTL mode), and Header() is called to display the header (if enabled). * The origin of the coordinate system is at the top-left corner (or top-right for RTL) and increasing ordinates go downwards. * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or PORTRAIT (default)
    • L or LANDSCAPE
    - * @param mixed $format The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    + * @param mixed $format The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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 boolean $keepmargins if true overwrites the default page margins with the current margins * @param boolean $tocpage if true set the tocpage state to true (the added page will be used to display Table Of Content). * @access public @@ -2677,8 +2867,7 @@ if (!class_exists('TCPDF', false)) { * Starts a new page to the document. The page must be closed using the endPage() function. * The origin of the coordinate system is at the top-left corner and increasing ordinates go downwards. * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or PORTRAIT (default)
    • L or LANDSCAPE
    - * @param mixed $format The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    - * @param boolean $tocpage if true set the tocpage state to true (the added page will be used to display Table of Content). + * @param mixed $format The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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.
    * @access public * @since 4.2.010 (2008-11-14) * @see AddPage(), endPage(), addTOCPage(), endTOCPage() @@ -5726,7 +5915,7 @@ if (!class_exists('TCPDF', false)) { return false; } fread($f, 4); - $parms = '/DecodeParms <>'; + $parms = '/DecodeParms << /Predictor 15 /Colors '.($ct == 2 ? 3 : 1).' /BitsPerComponent '.$bpc.' /Columns '.$w.' >>'; //Scan chunks looking for palette, transparency and image data $pal = ''; $trns = ''; @@ -5817,16 +6006,18 @@ if (!class_exists('TCPDF', false)) { // generate images $img = imagecreatefrompng($file); $imgalpha = imagecreate($wpx, $hpx); - // generate gray scale pallete + // generate gray scale palette (0 -> 255) for ($c = 0; $c < 256; ++$c) { ImageColorAllocate($imgalpha, $c, $c, $c); } // extract alpha channel for ($xpx = 0; $xpx < $wpx; ++$xpx) { for ($ypx = 0; $ypx < $hpx; ++$ypx) { - $colorindex = imagecolorat($img, $xpx, $ypx); - $col = imagecolorsforindex($img, $colorindex); - imagesetpixel($imgalpha, $xpx, $ypx, $this->getGDgamma((127 - $col['alpha']) * 255 / 127)); + $color = imagecolorat($img, $xpx, $ypx); + $alpha = ($color >> 24); // shifts off the first 24 bits (where 8x3 are used for each color), and returns the remaining 7 allocated bits (commonly used for alpha) + $alpha = (((127 - $alpha) / 127) * 255); // GD alpha is only 7 bit (0 -> 127) + $alpha = $this->getGDgamma($alpha); // correct gamma + imagesetpixel($imgalpha, $xpx, $ypx, $alpha); } } // create temp alpha file @@ -6369,14 +6560,83 @@ if (!class_exists('TCPDF', false)) { $temppage = str_replace($this->epsmarker, '', $temppage); //Page $this->page_obj_id[$n] = $this->_newobj(); - $out = '<pagedim[$n]['w'], $this->pagedim[$n]['h']); - $out .= ' /Group << /Type /Group /S /Transparency /CS /DeviceRGB >>'; + $out .= ' /LastModified '.$this->_datestring(); $out .= ' /Resources 2 0 R'; + $boxes = array('MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox'); + foreach ($boxes as $box) { + $out .= ' /'.$box; + $out .= sprintf(' [%.2F %.2F %.2F %.2F]', $this->pagedim[$n][$box]['llx'], $this->pagedim[$n][$box]['lly'], $this->pagedim[$n][$box]['urx'], $this->pagedim[$n][$box]['ury']); + } + if (isset($this->pagedim[$n]['BoxColorInfo']) AND !empty($this->pagedim[$n]['BoxColorInfo'])) { + $out .= ' /BoxColorInfo <<'; + foreach ($boxes as $box) { + if (isset($this->pagedim[$n]['BoxColorInfo'][$box])) { + $out .= ' /'.$box.' <<'; + if (isset($this->pagedim[$n]['BoxColorInfo'][$box]['C'])) { + $color = $this->pagedim[$n]['BoxColorInfo'][$box]['C']; + $out .= ' /C ['; + $out .= sprintf(' %.3F %.3F %.3F', $color[0]/255, $color[1]/255, $color[2]/255); + $out .= ' ]'; + } + if (isset($this->pagedim[$n]['BoxColorInfo'][$box]['W'])) { + $out .= ' /W '.($this->pagedim[$n]['BoxColorInfo'][$box]['W'] * $this->k); + } + if (isset($this->pagedim[$n]['BoxColorInfo'][$box]['S'])) { + $out .= ' /S /'.$this->pagedim[$n]['BoxColorInfo'][$box]['S']; + } + if (isset($this->pagedim[$n]['BoxColorInfo'][$box]['D'])) { + $dashes = $this->pagedim[$n]['BoxColorInfo'][$box]['D']; + $out .= ' /D ['; + foreach ($dashes as $dash) { + $out .= sprintf(' %.3F', ($dash * $this->k)); + } + $out .= ' ]'; + } + $out .= ' >>'; + } + } + $out .= ' >>'; + } + $out .= ' /Contents '.($this->n + 1).' 0 R'; + $out .= ' /Rotate '.$this->pagedim[$n]['Rotate']; + $out .= ' /Group << /Type /Group /S /Transparency /CS /DeviceRGB >>'; + if (isset($this->pagedim[$n]['trans']) AND !empty($this->pagedim[$n]['trans'])) { + // page transitions + if (isset($this->pagedim[$n]['trans']['Dur'])) { + $out .= ' /Dur '.$this->pagedim[$n]['trans']['Dur']; + } + $out .= ' /Trans <<'; + $out .= ' /Type /Trans'; + if (isset($this->pagedim[$n]['trans']['S'])) { + $out .= ' /S /'.$this->pagedim[$n]['trans']['S']; + } + if (isset($this->pagedim[$n]['trans']['D'])) { + $out .= ' /D '.$this->pagedim[$n]['trans']['D']; + } + if (isset($this->pagedim[$n]['trans']['Dm'])) { + $out .= ' /Dm /'.$this->pagedim[$n]['trans']['Dm']; + } + if (isset($this->pagedim[$n]['trans']['M'])) { + $out .= ' /M /'.$this->pagedim[$n]['trans']['M']; + } + if (isset($this->pagedim[$n]['trans']['Di'])) { + $out .= ' /Di '.$this->pagedim[$n]['trans']['Di']; + } + if (isset($this->pagedim[$n]['trans']['SS'])) { + $out .= ' /SS '.$this->pagedim[$n]['trans']['SS']; + } + if (isset($this->pagedim[$n]['trans']['B'])) { + $out .= ' /B '.$this->pagedim[$n]['trans']['B']; + } + $out .= ' >>'; + } + $out .= $this->_getannotsrefs($n); + $out .= ' /PZ '.$this->pagedim[$n]['PZ']; + $out .= ' >> endobj'; $this->_out($out); - $this->_putannotsrefs($n); - $this->_out('/Contents '.($this->n + 1).' 0 R>> endobj'); //Page content $p = ($this->compress) ? gzcompress($temppage) : $temppage; $this->_newobj(); @@ -6388,7 +6648,7 @@ if (!class_exists('TCPDF', false)) { } //Pages root $this->offsets[1] = $this->bufferlen; - $out = '1 0 obj <page_obj_id as $page_obj) { $out .= ' '.$page_obj.' 0 R'; } @@ -6402,12 +6662,25 @@ if (!class_exists('TCPDF', false)) { * @access protected * @author Nicola Asuni * @since 4.7.000 (2008-08-29) + * @deprecated */ protected function _putannotsrefs($n) { + $this->_out(_getannotsrefs($n)); + } + + /** + * Get references to page annotations. + * @param int $n page number + * @return string + * @access protected + * @author Nicola Asuni + * @since 5.0.010 (2010-05-17) + */ + protected function _getannotsrefs($n) { if (!(isset($this->PageAnnots[$n]) OR ($this->sign AND isset($this->signature_data['cert_type'])))) { - return; + return ''; } - $out = '/Annots ['; + $out = ' /Annots ['; if (isset($this->PageAnnots[$n])) { $num_annots = count($this->PageAnnots[$n]); for ($i = 0; $i < $num_annots; ++$i) { @@ -6424,7 +6697,7 @@ if (!class_exists('TCPDF', false)) { $out .= ' '.$this->sig_annot_ref; } $out .= ' ]'; - $this->_out($out); + return $out; } /** @@ -7951,7 +8224,7 @@ if (!class_exists('TCPDF', false)) { /** * Initialize a new page. * @param string $orientation page orientation. Possible values are (case insensitive):
    • P or PORTRAIT (default)
    • L or LANDSCAPE
    - * @param mixed $format The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
    + * @param mixed $format The format used for pages. It can be either:
    • A string indicating the page format:
      • 4A0
      • 2A0
      • A0
      • A1
      • A2
      • A3
      • A4 (default)
      • A5
      • A6
      • A7
      • A8
      • A9
      • A10
      • B0
      • B1
      • B2
      • B3
      • B4
      • B5
      • B6
      • B7
      • B8
      • B9
      • B10
      • C0
      • C1
      • C2
      • C3
      • C4
      • C5
      • C6
      • C7
      • C8
      • C9
      • C10
      • RA0
      • RA1
      • RA2
      • RA3
      • RA4
      • SRA0
      • SRA1
      • SRA2
      • SRA3
      • SRA4
      • LETTER
      • LEGAL
      • EXECUTIVE
      • FOLIO
    • 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.
    * @access protected */ protected function _beginpage($orientation='', $format='') { @@ -7963,11 +8236,16 @@ if (!class_exists('TCPDF', false)) { if ($this->empty_string($orientation)) { if (isset($this->CurOrientation)) { $orientation = $this->CurOrientation; + } elseif ($this->fwPt > $this->fhPt) { + // landscape + $orientation = 'L'; } else { + // portrait $orientation = 'P'; } } if ($this->empty_string($format)) { + $this->pagedim[$this->page] = $this->pagedim[($this->page - 1)]; $this->setPageOrientation($orientation); } else { $this->setPageFormat($format, $orientation); @@ -8032,7 +8310,7 @@ if (!class_exists('TCPDF', false)) { */ protected function _dounderlinew($x, $y, $w) { $linew = - $this->CurrentFont['ut'] / 1000 * $this->FontSizePt; - return sprintf('%.2F %.2F %.2F %.2F re f', $x * $this->k, ($this->h - $y + ($linew / 2)) * $this->k, $w * $this->k, $linew); + return sprintf('%.2F %.2F %.2F %.2F re f', $x * $this->k, ((($this->h - $y) * $this->k) + $linew), $w * $this->k, $linew); } /** @@ -8057,7 +8335,7 @@ if (!class_exists('TCPDF', false)) { */ protected function _dolinethroughw($x, $y, $w) { $linew = - $this->CurrentFont['ut'] / 1000 * $this->FontSizePt; - return sprintf('%.2F %.2F %.2F %.2F re f', $x * $this->k, ($this->h - $y + ($this->FontSize / 3) + ($linew / 2)) * $this->k, $w * $this->k, $linew); + return sprintf('%.2F %.2F %.2F %.2F re f', $x * $this->k, ((($this->h - $y) * $this->k) + $linew + ($this->FontSizePt / 3)), $w * $this->k, $linew); } /** @@ -8083,7 +8361,7 @@ if (!class_exists('TCPDF', false)) { */ protected function _dooverlinew($x, $y, $w) { $linew = - $this->CurrentFont['ut'] / 1000 * $this->FontSizePt; - return sprintf('%.2F %.2F %.2F %.2F re f', $x * $this->k, ($this->h - $y + $this->FontAscent - ($linew / 2)) * $this->k, $w * $this->k, $linew); + return sprintf('%.2F %.2F %.2F %.2F re f', $x * $this->k, (($this->h - $y + $this->FontAscent) * $this->k) - $linew, $w * $this->k, $linew); } @@ -9194,6 +9472,23 @@ if (!class_exists('TCPDF', false)) { return $string; } + /** + * Convert string to hexadecimal string (byte string) + * @param string $s string to convert + * @return byte string + * @access protected + * @since 5.0.010 (2010-05-17) + * @author Nicola Asuni + */ + protected function convertStringToHexString($s) { + $bs = ''; + $chars = preg_split('//', $s, -1, PREG_SPLIT_NO_EMPTY); + foreach ($chars as $c) { + $bs .= sprintf('%02s', dechex(ord($c))); + } + return $bs; + } + /** * Convert encryption P value to a string of bytes, low-order byte first. * @param string $protection 32bit encryption permission value (P value)
    @@ -24448,7 +24693,7 @@ $font)
    -

    method _putviewerpreferences [line 7760]

    +

    method _putviewerpreferences [line 8033]

    diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index f3c7612..d5bf2af 100644 --- a/doc/li_com-tecnick-tcpdf.html +++ b/doc/li_com-tecnick-tcpdf.html @@ -64,7 +64,7 @@ This documentation was generated by phpDocumentor v1.4.3

    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:51 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/index.html b/doc/index.html index f3c7612..d5bf2af 100644 --- a/doc/index.html +++ b/doc/index.html @@ -64,7 +64,7 @@ This documentation was generated by phpDocumentor v1.4.3

    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:51 +0200 by phpDocumentor 1.4.3
    @@ -24482,7 +24727,7 @@ $font)
    -

    method _RC4 [line 8849]

    +

    method _RC4 [line 9127]

    diff --git a/doc/errors.html b/doc/errors.html index 7314663..2481966 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -37,14 +37,21 @@

    tcpdf.php

    Warnings:


    -Warning on line 18065 - Unknown tag "@parma" used
    +Warning on line 18360 - Unknown tag "@parma" used
    +

    Errors:


    +Error on line 217 - Unclosed list tag in DocBlock, parsing will be incorrect
    +Error on line 1713 - Unclosed list tag in DocBlock, parsing will be incorrect
    +Error on line 1965 - Unclosed list tag in DocBlock, parsing will be incorrect
    +Error on line 2827 - Unclosed list tag in DocBlock, parsing will be incorrect
    +Error on line 2874 - Unclosed list tag in DocBlock, parsing will be incorrect
    +Error on line 8229 - Unclosed list tag in DocBlock, parsing will be incorrect

    2dbarcodes.php

    Errors:


    Error on line 79 - Text cannot be outside of li tag in a DocBlock list, parsing will be incorrect

    - Documentation generated on Sun, 16 May 2010 19:26:02 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:56 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index 55f2582..019d6c6 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -136,6 +136,8 @@
    in file tcpdf.php, method TCPDF::_freadint()
        Read a 4-byte integer from file.
    _generateencryptionkey
    in file tcpdf.php, method TCPDF::_generateencryptionkey()
        Compute encryption key
    +
    _getannotsrefs
    +
    in file tcpdf.php, method TCPDF::_getannotsrefs()
        Get references to page annotations.
    _getfontpath
    in file tcpdf.php, method TCPDF::_getfontpath()
        Return fonts path
    _getstream
    @@ -494,6 +496,8 @@
    in file tcpdf.php, method TCPDF::convertHexStringToString()
        Convert hexadecimal string to string
    convertHTMLColorToDec
    in file tcpdf.php, method TCPDF::convertHTMLColorToDec()
        Returns an associative array (keys: R,G,B) from an html color name or a six-digit or three-digit hexadecimal color representation (i.e. #3FE5AA or #7FF).
    +
    convertStringToHexString
    +
    in file tcpdf.php, method TCPDF::convertStringToHexString()
        Convert string to hexadecimal string (byte string)
    convertSVGtMatrix
    in file tcpdf.php, method TCPDF::convertSVGtMatrix()
        Convert SVG transformation matrix to PDF.
    CoonsPatchMesh
    @@ -844,6 +848,8 @@
    in file tcpdf.php, method TCPDF::getPageHeight()
        Returns the page height in units.
    getPageNumGroupAlias
    in file tcpdf.php, method TCPDF::getPageNumGroupAlias()
        Return the alias for the page number on the current page group If the current font is unicode type, the returned string is surrounded by additional curly braces.
    +
    getPageSizeFromFormat
    +
    in file tcpdf.php, method TCPDF::getPageSizeFromFormat()
        Get page dimensions from fromat name.
    getPageWidth
    in file tcpdf.php, method TCPDF::getPageWidth()
        Returns the page width in units.
    getPathPaintOperator
    @@ -1571,10 +1577,10 @@
    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 tcpdf.php, method TCPDF::setBarcode()
        Set document barcode.
    -
    setBarcode
    in file 2dbarcodes.php, method TCPDF2DBarcode::setBarcode()
        Set the barcode.
    setBarcode
    +
    in file tcpdf.php, method TCPDF::setBarcode()
        Set document 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.
    @@ -1678,6 +1684,8 @@
    in file tcpdf.php, method TCPDF::setOpenCell()
        Set the top/bottom cell sides to be open or closed when the cell cross the page.
    setPage
    in file tcpdf.php, method TCPDF::setPage()
        Move pointer at the specified document page and update page dimensions.
    +
    setPageBoxes
    +
    in file tcpdf.php, method TCPDF::setPageBoxes()
        Set page boundaries.
    setPageBuffer
    in file tcpdf.php, method TCPDF::setPageBuffer()
        Set page buffer content.
    setPageFormat
    @@ -1772,6 +1780,8 @@
    in file tcpdf.php, method TCPDF::SVGTransform()
        Apply SVG graphic transformation matrix.
    swapMargins
    in file tcpdf.php, method TCPDF::swapMargins()
        Swap the left and right margins.
    +
    swapPageBoxCoordinates
    +
    in file tcpdf.php, method TCPDF::swapPageBoxCoordinates()
        Swap X and Y coordinates of page boxes (change page boxes orientation).
    top
    @@ -1975,7 +1985,7 @@ top

    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:51 +0200 by phpDocumentor 1.4.3
    @@ -24533,7 +24778,7 @@ $text)
    -

    method _setGDImageTransparency [line 5632]

    +

    method _setGDImageTransparency [line 5821]

    diff --git a/doc/elementindex.html b/doc/elementindex.html index 8d55c28..5ab9351 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -315,6 +315,8 @@
    in file tcpdf.php, method TCPDF::convertHexStringToString()
        Convert hexadecimal string to string
    convertHTMLColorToDec
    in file tcpdf.php, method TCPDF::convertHTMLColorToDec()
        Returns an associative array (keys: R,G,B) from an html color name or a six-digit or three-digit hexadecimal color representation (i.e. #3FE5AA or #7FF).
    +
    convertStringToHexString
    +
    in file tcpdf.php, method TCPDF::convertStringToHexString()
        Convert string to hexadecimal string (byte string)
    convertSVGtMatrix
    in file tcpdf.php, method TCPDF::convertSVGtMatrix()
        Convert SVG transformation matrix to PDF.
    CoonsPatchMesh
    @@ -665,6 +667,8 @@
    in file tcpdf.php, method TCPDF::getPageHeight()
        Returns the page height in units.
    getPageNumGroupAlias
    in file tcpdf.php, method TCPDF::getPageNumGroupAlias()
        Return the alias for the page number on the current page group If the current font is unicode type, the returned string is surrounded by additional curly braces.
    +
    getPageSizeFromFormat
    +
    in file tcpdf.php, method TCPDF::getPageSizeFromFormat()
        Get page dimensions from fromat name.
    getPageWidth
    in file tcpdf.php, method TCPDF::getPageWidth()
        Returns the page width in units.
    getPathPaintOperator
    @@ -1392,10 +1396,10 @@
    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 tcpdf.php, method TCPDF::setBarcode()
        Set document barcode.
    -
    setBarcode
    in file 2dbarcodes.php, method TCPDF2DBarcode::setBarcode()
        Set the barcode.
    setBarcode
    +
    in file tcpdf.php, method TCPDF::setBarcode()
        Set document 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.
    @@ -1499,6 +1503,8 @@
    in file tcpdf.php, method TCPDF::setOpenCell()
        Set the top/bottom cell sides to be open or closed when the cell cross the page.
    setPage
    in file tcpdf.php, method TCPDF::setPage()
        Move pointer at the specified document page and update page dimensions.
    +
    setPageBoxes
    +
    in file tcpdf.php, method TCPDF::setPageBoxes()
        Set page boundaries.
    setPageBuffer
    in file tcpdf.php, method TCPDF::setPageBuffer()
        Set page buffer content.
    setPageFormat
    @@ -1593,6 +1599,8 @@
    in file tcpdf.php, method TCPDF::SVGTransform()
        Apply SVG graphic transformation matrix.
    swapMargins
    in file tcpdf.php, method TCPDF::swapMargins()
        Swap the left and right margins.
    +
    swapPageBoxCoordinates
    +
    in file tcpdf.php, method TCPDF::swapPageBoxCoordinates()
        Swap X and Y coordinates of page boxes (change page boxes orientation).
    top
    @@ -1831,6 +1839,8 @@
    in file tcpdf.php, method TCPDF::_freadint()
        Read a 4-byte integer from file.
    _generateencryptionkey
    in file tcpdf.php, method TCPDF::_generateencryptionkey()
        Compute encryption key
    +
    _getannotsrefs
    +
    in file tcpdf.php, method TCPDF::_getannotsrefs()
        Get references to page annotations.
    _getfontpath
    in file tcpdf.php, method TCPDF::_getfontpath()
        Return fonts path
    _getstream
    @@ -1946,7 +1956,7 @@ top

    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:51 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index b35f8f4..e08b08f 100644 --- a/doc/com-tecnick-tcpdf/_unicode_data.php.html +++ b/doc/com-tecnick-tcpdf/_unicode_data.php.html @@ -243,7 +243,7 @@ Unicode Include file for TCPDF.




    - Documentation generated on Sun, 16 May 2010 19:26:02 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:56 +0200 by phpDocumentor 1.4.3
    @@ -24578,7 +24823,7 @@ $image)
    -

    method _textannobjstring [line 8165]

    +

    method _textannobjstring [line 8443]

    diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index dabf9da..580d587 100644 --- a/doc/com-tecnick-tcpdf/_tcpdf.php.html +++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html @@ -79,7 +79,7 @@ This is a PHP class for generating PDF documents without requiring external exte - + @@ -110,7 +110,7 @@ unicode data

    @@ -24617,7 +24862,7 @@ $s)
    -

    method _textstring [line 8151]

    +

    method _textstring [line 8429]

    diff --git a/doc/com-tecnick-tcpdf/_qrcode.php.html b/doc/com-tecnick-tcpdf/_qrcode.php.html index 4168c68..15f4001 100644 --- a/doc/com-tecnick-tcpdf/_qrcode.php.html +++ b/doc/com-tecnick-tcpdf/_qrcode.php.html @@ -477,7 +477,7 @@ string $string, [int $split_length = 1])

    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:52 +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 8f102d9..37dcd09 100644 --- a/doc/com-tecnick-tcpdf/_htmlcolors.php.html +++ b/doc/com-tecnick-tcpdf/_htmlcolors.php.html @@ -94,7 +94,7 @@ Array of WEB safe colors.




    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:52 +0200 by phpDocumentor 1.4.3
    @@ -24656,7 +24901,7 @@ $s)
    -

    method _toJPEG [line 5595]

    +

    method _toJPEG [line 5784]

    diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index 3eb8140..d3576ce 100644 --- a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html +++ b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html @@ -539,7 +539,7 @@ Configuration file for TCPDF.




    - Documentation generated on Sun, 16 May 2010 19:26:02 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:56 +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 b72d855..d55f77b 100644 --- a/doc/com-tecnick-tcpdf/_barcodes.php.html +++ b/doc/com-tecnick-tcpdf/_barcodes.php.html @@ -102,7 +102,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit

    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:52 +0200 by phpDocumentor 1.4.3
    @@ -24698,7 +24943,7 @@ $file)
    -

    method _toPNG [line 5614]

    +

    method _toPNG [line 5803]

    diff --git a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html index 6dd1943..c125e6d 100644 --- a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html +++ b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html @@ -102,7 +102,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF

    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:51 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index 4fbcd7d..51a8649 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -1374,7 +1374,7 @@ $type)

    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:52 +0200 by phpDocumentor 1.4.3
    @@ -24743,7 +24988,7 @@ $file)
    -

    method _Uvalue [line 8955]

    +

    method _Uvalue [line 9233]

    diff --git a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html index 381fc71..b2903b2 100644 --- a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html @@ -296,7 +296,7 @@ $type)

    - Documentation generated on Sun, 16 May 2010 19:25:58 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:51 +0200 by phpDocumentor 1.4.3
    @@ -24780,7 +25025,7 @@ $file)

    - Documentation generated on Sun, 16 May 2010 19:25:59 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:53 +0200 by phpDocumentor 1.4.3
    author:  Nicola Asuni
    version:  5.0.009version:  5.0.010
    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.0.009 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 5.0.010 (http://www.tcpdf.org)'
    @@ -121,7 +121,7 @@ unicode data


    - Documentation generated on Sun, 16 May 2010 19:25:59 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 17 May 2010 20:00:53 +0200 by phpDocumentor 1.4.3