Plugins

# Class: PdfLibLite Source Location: /plugins/exportPdf/client/PdfLibLite.php
### Class Overview
PDFLib Lite implementation of PdfWriter | ### Variables $blocks $format $general $images $isPageOpen $log $p $pageHeight $pageWidth $space | ### Methods __construct addGfxBlock addImage addLegend addPage addTable addTableCell addTableRow addTextBlock drawBox finalizeDocument getException getImage getInPt getPageDim getPageHeight getPageWidth getTextAlign initializeDocument setDash setFillColor setFont setStrokeColor
### Class Details [line 40] PDFLib Lite implementation of PdfWriter [ Top ] ### Class Variables #### $blocks = [line 47] #### Tags:
access: | protected
Type: | mixed
[ Top ] #### $format = [line 45] #### Tags:
access: | protected
Type: | mixed
[ Top ] #### $general = [line 44] #### Tags:
access: | protected
Type: | mixed
[ Top ] #### $images = array() [line 52] #### Tags:
access: | protected
Type: | mixed
[ Top ] #### $isPageOpen = false [line 51] #### Tags:
access: | protected
Type: | mixed
[ Top ] #### $log = [line 42] #### Tags:
access: | private
Type: | mixed
[ Top ] #### $p = [line 43] #### Tags:
access: | protected
Type: | mixed
[ Top ] #### $pageHeight = [line 50] #### Tags:
access: | protected
Type: | mixed
[ Top ] #### $pageWidth = [line 49] #### Tags:
access: | protected
Type: | mixed
[ Top ] #### $space = [line 46] #### Tags:
access: | protected
Type: | mixed
[ Top ] ### Class Methods ### constructor __construct [line 57]
`PdfLibLite __construct( ClientExportPdf $export)`
Constructor #### Tags:
access: | public
[ Top ] ### method addGfxBlock [line 370]
`void addGfxBlock( PdfBlock $block)`
#### Tags:
access: | protected
[ Top ] ### method addImage [line 349]
`void addImage( PdfBlock $block)`
Inserts an image in current PDF document. #### Tags:
access: | protected
[ Top ] ### method addLegend [line 389]
`void addLegend( PdfBlock $block)`
#### Tags:
access: | protected
[ Top ] ### method addPage [line 140]
`void addPage( )`
Adds a blank page to current PDF document. #### Tags:
access: | protected
[ Top ] ### method addTable [line 387]
`void addTable( PdfBlock $block)`
#### Tags:
access: | protected
[ Top ] ### method addTableCell [line 383]
`void addTableCell( )`
#### Tags:
access: | protected
[ Top ] ### method addTableRow [line 385]
`void addTableRow( )`
#### Tags:
access: | protected
[ Top ] ### method addTextBlock [line 272]
`void addTextBlock( PdfBlock $block)`
#### Tags:
access: | protected
[ Top ] ### method drawBox [line 208]
`void drawBox( PdfBlock $block)`
Draws a rectangle borders and fills it. #### Tags:
access: | protected
[ Top ] ### method finalizeDocument [line 391]
`void finalizeDocument( )`
#### Tags:
access: | protected
[ Top ] ### method getException [line 114]
`void getException( Exception $e)`
Returns caught PDFLib exceptions. #### Tags:
access: | protected
[ Top ] ### method getImage [line 314]
`void getImage( mixed $path)`
Returns an identifier for the asked image. If not already available, computes it and stores it, else gets it from images identifiers storage. #### Tags:
access: | protected
[ Top ] ### method getInPt [line 105]
`void getInPt( mixed $dist)`
Shortcut for distance units converter. #### Tags:
access: | protected
[ Top ] ### method getPageDim [line 87]
`void getPageDim( mixed $dim)`
#### Tags:
access: | protected
[ Top ] ### method getPageHeight [line 98]
`void getPageHeight( )`
#### Tags:
access: | protected
[ Top ] ### method getPageWidth [line 94]
`void getPageWidth( )`
#### Tags:
access: | protected
[ Top ] ### method getTextAlign [line 229]
`void getTextAlign( PdfBlock $block)`
#### Tags:
access: | protected
[ Top ] ### method initializeDocument [line 127]
`void initializeDocument( )`
#### Tags:
access: | protected
[ Top ] ### method setDash [line 159]
`void setDash( mixed $style)`
Sets line dash pattern. #### Tags:
access: | protected
[ Top ] ### method setFillColor [line 194]
`void setFillColor( mixed $color)`
#### Tags:
access: | protected
[ Top ] ### method setFont [line 251]
`void setFont( PdfBlock $block)`
#### Tags:
access: | protected
[ Top ] ### method setStrokeColor [line 182]
`void setStrokeColor( mixed $color)`
#### Tags:
access: | protected
[ Top ] Documentation generated on Fri, 21 Sep 2007 13:30:56 +0200 by phpDocumentor 1.3.0RC3