| 
Public Member Functions | 
|  | run ($oPdf) | 
|  | line ($iLPos, $iLHeight, $iRPos, $iRHeight) | 
|  | text ($iLPos, $iLHeight, $sString) | 
|  | font ($sType, $sWeight, $sSize) | 
|  | ajustHeight ($iDelta) | 
|  | getFont () | 
| 
Protected Member Functions | 
|  | _toCache ($sFunc, $aParams) | 
Detailed Description
PDF renderer helper class, used to store data, sizes etc.. 
Definition at line 6 of file invoicepdfblock.php.
Member Function Documentation
  
  | 
        
          | InvoicepdfBlock::_toCache | ( |  | $sFunc, |  
          |  |  |  | $aParams |  
          |  | ) |  |  |  | protected | 
 
Stores cacheable parameters.
- Parameters
- 
  
    | string | $sFunc | cacheable function name |  | array | $aParams | cacheable parameters |  
 
Definition at line 29 of file invoicepdfblock.php.
 
 
      
        
          | InvoicepdfBlock::ajustHeight | ( |  | $iDelta | ) |  | 
      
 
 
      
        
          | InvoicepdfBlock::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' ...) |  
 
Definition at line 98 of file invoicepdfblock.php.
 
 
      
        
          | InvoicepdfBlock::getFont | ( |  | ) |  | 
      
 
 
      
        
          | InvoicepdfBlock::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 |  
 
Definition at line 74 of file invoicepdfblock.php.
 
 
      
        
          | InvoicepdfBlock::run | ( |  | $oPdf | ) |  | 
      
 
Runs and evaluates cached code.
- Parameters
- 
  
    | object | $oPdf | object which methods will be executed |  
 
Definition at line 42 of file invoicepdfblock.php.
 
 
      
        
          | InvoicepdfBlock::text | ( |  | $iLPos, | 
        
          |  |  |  | $iLHeight, | 
        
          |  |  |  | $sString | 
        
          |  | ) |  |  | 
      
 
Caches Text call with parameters.
- Parameters
- 
  
    | int | $iLPos | left position |  | int | $iLHeight | height |  | string | $sString | string to write |  
 
Definition at line 86 of file invoicepdfblock.php.
 
 
Member Data Documentation
  
  | 
        
          | InvoicepdfBlock::$_aCache = array() |  | protected | 
 
 
  
  | 
        
          | InvoicepdfBlock::$_sFont = 'Arial' |  | protected | 
 
 
The documentation for this class was generated from the following file: