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 |
|