Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • TcpdfWrapper

Class TcpdfWrapper

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.

TCPDF
Extended by TcpdfWrapper

Direct known subclasses

DefaultInvoicePdf, QuickbooksInvoicePdf

Package: com\tecnick\tcpdf\blesta\components\invoice\templates
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: LGPL
Author: Nicola Asuni - info@tecnick.com
Version: 4.9.004
Link: http://www.tcpdf.org
Located at components/invoice_templates/tcpdf_wrapper.php

Methods summary

protected
# drawTable( array $data = array(), array $options = null )

Draws a table using the given data and options

Draws a table using the given data and options

Parameters

$data
array
$data An array of 'column' => values
$options
array
$options An array of options affecting the table including: -type The type of table (multicell or cell, default 'multicell') -x_pos The X position of the table (default current X post) -y_pos The Y position of the table (default current Y pos) -border Border thickness (default 0) -align Table alignment (default L) -text_color An RGB array of text color (default null, whatever the default text color is set to) -font_size The font size for the table (default current font size) -height The width of the cell(s) (default 0 - auto) -width The height of the cell(s) (default 0 - to end of screen) -font The font to set for the cell(s) -line_style The line style attributes (@see TCPDF::setLineStyle()) -fill_color The color to fill the cell(s) with -padding The padding value to use for the cell(s) (null - auto padding) -col All options from $options that affect the given column by name or index -row All options from $options that affect the given row by index -cell All options from $options that affect the given cell by both column and row
private integer
# drawRow( array $row, integer $i, array $opt )

Renders the table row

Renders the table row

Parameters

$row
array
$row The row to render
$i
integer
$i The index of this row in the table
$opt
array
$opt An array of render options

Returns

integer
The maximum number of units required to render the height of the tallest cell

Methods inherited from TCPDF

AcceptPageBreak(), AddFont(), AddLink(), AddPage(), AddSpotColor(), AliasNbPages(), AliasNumPage(), Annotation(), Arrow(), Bookmark(), Button(), Cell(), CheckBox(), Circle(), Clip(), Close(), ComboBox(), CoonsPatchMesh(), Curve(), Ellipse(), Error(), Footer(), GetAbsX(), GetArrStringWidth(), GetCharWidth(), GetLineWidth(), GetNumChars(), GetStringWidth(), GetX(), GetY(), Gradient(), Header(), Image(), ImageEps(), ImagePngAlpha(), IncludeJS(), Line(), LinearGradient(), Link(), ListBox(), Ln(), MirrorH(), MirrorL(), MirrorP(), MirrorV(), MultiCell(), Open(), Output(), PageNo(), PageNoFormatted(), PieSector(), PolyLine(), Polycurve(), Polygon(), RadialGradient(), RadioButton(), Rect(), RegularPolygon(), Rotate(), RoundedRect(), Scale(), ScaleX(), ScaleXY(), ScaleY(), SetAuthor(), SetAutoPageBreak(), SetBooklet(), SetCellPadding(), SetCompression(), SetCreator(), SetDefaultMonospacedFont(), SetDisplayMode(), SetDrawColor(), SetDrawColorArray(), SetDrawSpotColor(), SetFillColor(), SetFillColorArray(), SetFillSpotColor(), SetFont(), SetFontSize(), SetKeywords(), SetLeftMargin(), SetLineStyle(), SetLineWidth(), SetLink(), SetMargins(), SetProtection(), SetRightMargin(), SetSubject(), SetTextColor(), SetTextColorArray(), SetTextSpotColor(), SetTitle(), SetTopMargin(), SetX(), SetXY(), SetY(), Skew(), SkewX(), SkewY(), StarPolygon(), StartTransform(), StopTransform(), Text(), TextField(), Transform(), Translate(), TranslateX(), TranslateY(), UTF8ArrSubString(), UTF8ArrToLatin1(), UTF8ArrayToUniArray(), UTF8StringToArray(), UTF8ToLatin1(), UTF8ToUTF16BE(), UniArrSubString(), Write(), _JScolor(), _Ovalue(), _RC4(), _Uvalue(), __construct(), __destruct(), _addfield(), _beginpage(), _dataannobjstring(), _datastring(), _datestring(), _destroy(), _dochecks(), _dolinethrough(), _dolinethroughw(), _dounderline(), _dounderlinew(), _enddoc(), _endpage(), _escape(), _escapetext(), _freadint(), _generateencryptionkey(), _getfontpath(), _md5_16(), _newobj(), _objectkey(), _out(), _outCurve(), _outLine(), _outPoint(), _outRect(), _outarc(), _parsejpeg(), _parsepng(), _putAPXObject(), _putEmbeddedFiles(), _putannotsobjs(), _putannotsrefs(), _putbookmarks(), _putcatalog(), _putcidfont0(), _putencryption(), _putextgstates(), _putfonts(), _putfontwidths(), _putheader(), _putimages(), _putinfo(), _putjavascript(), _putocg(), _putpages(), _putresourcedict(), _putresources(), _putshaders(), _putsignature(), _putspotcolors(), _putstream(), _puttrailer(), _puttruetypeunicode(), _putviewerpreferences(), _putxobjectdict(), _textstring(), _toJPEG(), addExtGState(), addHTMLVertSpace(), addHtmlLink(), addJavascriptObject(), addTOC(), arrUTF8ToUTF16BE(), checkPageBreak(), closeHTMLTagHandler(), colorRegistrationBar(), commitTransaction(), convertHTMLColorToDec(), cropMark(), deletePage(), empty_string(), endPage(), formatPageNumber(), formatTOCPageNumber(), getAliasNbPages(), getAliasNumPage(), getAnnotOptFromJSProp(), getBarcode(), getBorderMode(), getBreakMargin(), getBuffer(), getCellCode(), getCellHeightRatio(), getFontAscent(), getFontBuffer(), getFontDescent(), getFontFamily(), getFontSize(), getFontSizePt(), getFontStyle(), getFontsList(), getFooterFont(), getFooterMargin(), getFormDefaultProp(), getGDgamma(), getGraphicVars(), getGroupPageNo(), getGroupPageNoFormatted(), getHTMLUnitToUnits(), getHeaderData(), getHeaderFont(), getHeaderMargin(), getHtmlDomArray(), getImageBuffer(), getImageFileType(), getImageRBX(), getImageRBY(), getImageScale(), getLastH(), getMargins(), getNumLines(), getNumPages(), getObjFilename(), getOriginalMargins(), getPDFData(), getPage(), getPageBuffer(), getPageDimensions(), getPageGroupAlias(), getPageHeight(), getPageNumGroupAlias(), getPageWidth(), getRTL(), getRemainingWidth(), getScaleFactor(), getSpaceString(), get_mqr(), intToRoman(), isRTLTextDir(), lastPage(), movePage(), objclone(), openHTMLTagHandler(), pixelsToUnits(), putHtmlListBullet(), readDiskCache(), registrationMark(), removeSHY(), revstrpos(), rfread(), rollbackTransaction(), selectColumn(), setAlpha(), setBarcode(), setBuffer(), setCellHeightRatio(), setColumnsArray(), setContentMark(), setDefaultTableColumns(), setEqualColumns(), setExtGState(), setFontBuffer(), setFontSubBuffer(), setFooter(), setFooterFont(), setFooterMargin(), setFormDefaultProp(), setGraphicVars(), setHeader(), setHeaderData(), setHeaderFont(), setHeaderMargin(), setHtmlLinksStyle(), setHtmlVSpace(), setImageBuffer(), setImageScale(), setImageSubBuffer(), setJPEGQuality(), setLIsymbol(), setLanguageArray(), setLastH(), setListIndentWidth(), setOpenCell(), setPDFVersion(), setPage(), setPageBuffer(), setPageFormat(), setPageMark(), setPageOrientation(), setPageUnit(), setPrintFooter(), setPrintHeader(), setRTL(), setSignature(), setSpacesRE(), setTableHeader(), setTempRTL(), setUserRights(), setViewerPreferences(), setVisibility(), set_mqr(), startPage(), startPageGroup(), startTransaction(), swapMargins(), unhtmlentities(), unichr(), utf8Bidi(), utf8StrArrRev(), utf8StrRev(), write1DBarcode(), write2DBarcode(), writeBarcode(), writeDiskCache(), writeHTML(), writeHTMLCell()

Magic methods summary

Properties summary

Properties inherited from TCPDF

$AliasNbPages, $AliasNumPage, $AutoPageBreak, $ColorFlag, $CoreFonts, $CurOrientation, $CurrentFont, $DrawColor, $FillColor, $FontAscent, $FontDescent, $FontFamily, $FontFiles, $FontSize, $FontSizePt, $FontStyle, $HREF, $InFooter, $LayoutMode, $LineWidth, $OutlineRoot, $Ovalue, $PDFVersion, $PageAnnots, $PageBreakTrigger, $PageMode, $Pvalue, $TextColor, $Uvalue, $ZoomMode, $annot_obj_id, $annotation_fonts, $annots_start_obj_id, $apxo_obj_id, $apxo_start_obj_id, $author, $bMargin, $barcode, $bgcolor, $booklet, $buffer, $bufferlen, $byterange_string, $cMargin, $cache_UTF8StringToArray, $cache_file_length, $cache_maxsize_UTF8StringToArray, $cache_size_UTF8StringToArray, $cell_height_ratio, $cntmrk, $column_start_page, $columns, $compress, $creator, $curr_annot_obj_id, $current_column, $currpagegroup, $customlistindent, $default_form_prop, $default_monospaced_font, $default_table_columns, $diffs, $diskcache, $dpi, $embedded_start_obj_id, $embeddedfiles, $enc_obj_id, $encoding, $encrypted, $encryption_key, $endlinex, $epsmarker, $extgstates, $feps, $fgcolor, $fhPt, $font_obj_ids, $fontkeys, $fontlist, $fonts, $footer_font, $footer_margin, $footerlen, $footerpos, $form_action, $form_enctype, $form_mode, $form_obj_id, $fwPt, $gradients, $h, $hPt, $header_font, $header_logo, $header_logo_width, $header_margin, $header_string, $header_title, $htmlLinkColorArray, $htmlLinkFontStyle, $htmlvspace, $imagekeys, $images, $img_rb_x, $img_rb_y, $imgscale, $internal_encoding, $inthead, $intmrk, $isunicode, $javascript, $jpeg_quality, $js_obj_id, $js_objects, $js_start_obj_id, $k, $keywords, $l, $lMargin, $last_rc4_key, $last_rc4_key_c, $lasth, $linestyleCap, $linestyleDash, $linestyleJoin, $linestyleWidth, $linethrough, $links, $lispacer, $listcount, $listindent, $listnum, $listordered, $lisymbol, $n, $n_js, $n_ocg_print, $n_ocg_view, $newline, $newpagegroup, $num_columns, $numfonts, $numimages, $numpages, $objcopy, $offsets, $oldcMargin, $openMarkedContent, $opencell, $original_lMargin, $original_rMargin, $outlines, $padding, $page, $page_obj_id, $pagedim, $pagegroups, $pagelen, $pageopen, $pages, $premode, $print_footer, $print_header, $rMargin, $radio_groups, $radiobutton_groups, $re_spaces, $rtl, $sig_annot_ref, $sig_obj_id, $sign, $signature_data, $signature_max_length, $spot_colors, $start_transaction_page, $start_transaction_y, $state, $subject, $tMargin, $tagvspaces, $tempfontsize, $textindent, $thead, $theadMargins, $title, $tmprtl, $transfmatrix, $transfmatrix_key, $transfmrk, $underline, $ur, $ur_annots, $ur_document, $ur_form, $ur_signature, $viewer_preferences, $visibility, $w, $wPt, $x, $y

Blesta API documentation generated by ApiGen 2.8.0