Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /var/www/html/php_jh_pdf-1.1.0/class.jh_pdf_barcode_jhpci-1.1.0.inc.php
php_jh_pdf -

jh_pdf_barcode_jhpci

jh_pdf_base
   |
  +-- jh_pdf_barcode
     |
    +-- jh_pdf_barcode_jhpci

JHPCI extensions for barcode rendering

 

public class jh_pdf_barcode_jhpci extends jh_pdf_barcode

JHPCI extensions for barcode rendering
Extends the jh_pdf_barcode with JHPCI methods so it can beused together with jh_pdf_table.

 

Methods inherited from jh_pdf_barcode

jh_pdf_barcode, settext, settype, putcode, char2code39, char2code25i

Methods inherited from jh_pdf_base

setcolor

Public Method Summary

void

jhpci_setwidth(float $width)

Set the width for the cell
void

jhpci_setdata(mixed $data)

Set the data for the cell
void

jhpci_getrequiredheight()

Get the required height
void

jhpci_putdata(float $xpos, float $ypos)

Put the data on the PDF document
void

setheight(float $height)

Set the height of the barcode
void

jh_pdf_barcode_jhpci( &$pdf)

Warning: documentation is missing.

Fields inherited from jh_pdf_barcode

$pdf, $text, $type

Private Field Summary

unknown

$width

unknown

$height

Public Method Details

jhpci_setwidth

public void jhpci_setwidth( float $width )

  Set the width for the cell
Gets called by the jh_pdf_table class to notify the interface classabout the width of the cell where it must place its contents into.

Parameter
float $width
The width of the cell meassured in PDF
pixels
Returns void


jhpci_setdata

public void jhpci_setdata( mixed $data )

  Set the data for the cell
Gets called by the jh_pdf_table class to notify the interface classabout the data which it must place into the cell. Please note thatthe jh_pdf_table class does not care about the type of the data,it is simply passes it through to this function!

Parameter
mixed $data
The data of the cell
Returns void


jhpci_getrequiredheight

public void jhpci_getrequiredheight( )

  Get the required height
Gets called by the jh_pdf_table class to get the required heightof the cell for putting in the contents set by jhpci_setdata()with the width set via jhpci_setwidth().

Returns void


jhpci_putdata

public void jhpci_putdata( float $xpos, float $ypos )

  Put the data on the PDF document
Gets called by the jh_pdf_table class to tell the interface classto put the data onto the PDF document at the passed coordinates.

Parameter
float $xpos
The left starting position
float $ypos
The top starting position
Returns void


setheight

public void setheight( float $height )

  Set the height of the barcode
Sets the height of the barcode irrespective of the width.

Parameter
float $height
The width of the barcode
Returns void


jh_pdf_barcode_jhpci

public void jh_pdf_barcode_jhpci( &$pdf )

 

Warning: documentation is missing.

Parameter
&$pdf
Warning: documentation is missing.
Returns void


Private Field Details

$width

private unknown $width

>><<



$height

private unknown $height

>><<




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta