| | Procedural File: pdf.incSource Location: /lib/pdf.inc
 
 
 
 Page Details:LDAP Account Manager PDF printing library. It consists of lamPDF class,  the createModulePDF() function that may be called by other pages  and furthermore some helper functions.
 
 
 
 Tags:
 
 Includes:
 
 
 
 
 LAMPDF_LINEWIDTH [line 33]
 
 
 
 createModulePDF [line 56]
    | | void createModulePDF(
array $accounts, [string $pdf_structure = "default"]) | 
 | 
 
		This function creates the PDF output of one or more accounts. At the moment  this function can create a PDF page for user, group and host accounts. But  this is not limited by the function itself but by the account types that are  allowed in LAM and the exsisting PDF structure definitions.    
	
    		 Parameters
		      
        | array | $accounts | A numbered array containing all accounts the PDF page should  be created for. The entries of the array must be AccountContainer objects. |  
        | string | $pdf_structure | The filename of the structure definition that should be used  to create the PDF page. If not submitted the 'default.user' structure definition  for the appropriate account type. |  
 getSectionHeadline [line 166]
    | | string getSectionHeadline(
string $line) | 
 | 
 
		Creates a section headline.
 Tags:Parameters
		      
        | string | $line | section name |  
 processAttributes [line 294]
    | | array processAttributes(
string $attrs, [array $return = array()]) | 
 | 
 
		Processes width, height and alignment attributes.
 Tags:Parameters
		      
        | string | $attrs | attributes |  
        | array | $return | XML code |  
 processFormatTags [line 261]
    | | array processFormatTags(
string $line, string $style) | 
 | 
 
		Formats the XML code.
 Tags:Parameters
		      
        | string | $line | XML code of PDF entry |  
        | string | $style | style commands |  
 processLine [line 185]
    | | array processLine(
string $line, [boolean $first_td = true],  $fontName) | 
 | 
 
		Creates the XML code for an PDF entry.
 Tags:Parameters
		      
        | string | $line | XML code of PDF entry |  
        | boolean | $first_td | True if this is the first column |  
        |  | $fontName |  |  | 
 |