PdfBlock Class Reference

Inheritance diagram for PdfBlock:

Inheritance graph
[legend]

List of all members.


Detailed Description

PDF renderer helper class, used to store data, sizes etc..

Public Member Functions

 run ($oPdf)
 line ($iLPos, $iLHeight, $iRPos, $iRHeight)
 text ($iLPos, $iLHeight, $sString)
 font ($sType, $sWeight, $sSize)
 ajustHeight ($iDelta)

Protected Member Functions

 _toCache ($sFunc, $aParams)

Protected Attributes

 $_aCache = array()

Member Function Documentation

PdfBlock._toCache ( sFunc,
aParams 
) [protected]

Stores cacheable parameters

Parameters:
string $sFunc cacheable function name
array $aParams cacheable parameters
Returns:
null

PdfBlock.run ( oPdf  ) 

Runs and evaluates cached code

Parameters:
object $oPdf object which methods will be executed
Returns:
null

PdfBlock.line ( iLPos,
iLHeight,
iRPos,
iRHeight 
)

Caches Line call with parameters

Parameters:
int $iLPos left position
int $iLHeight left height
int $iRPos right position
int $iRHeight right height
Returns:
null

PdfBlock.text ( iLPos,
iLHeight,
sString 
)

Caches Text call with parameters

Parameters:
int $iLPos left position
int $iLHeight height
string $sString string to write
Returns:
null

PdfBlock.font ( sType,
sWeight,
sSize 
)

Caches SetFont call with parameters

Parameters:
string $sType font type (Arial, Tahoma ...)
string $sWeight font weight ('', 'B', 'U' ...)
string $sSize font size ('10', '8', '6' ...)
Returns:
null

PdfBlock.ajustHeight ( iDelta  ) 

Adjusts height after new page addition

Parameters:
int $iDelta new height
Returns:
null


Member Data Documentation

PdfBlock.$_aCache = array() [protected]


The documentation for this class was generated from the following file:

Generated on Wed Oct 29 23:47:08 2008 for OXID eShop CE by  doxygen 1.5.5