Class Pdf

Description

Document Pdf.

This class extends FPDF, it represent the PDF document.

Located in /main/Pdf.php (line 38)

FPDF
   |
   --Pdf
Variable Summary
Method Summary
 void __construct ()
 void addStyles (array $styles)
 void footer ()
 void header ()
 void resetAllValues ()
 void resetFont ()
Variables
float $defaultLn = 5 (line 99)

default break line height.

  • access: public
object Xml2PdfTag_footer $footer = null (line 93)

document footer.

  • access: public
object Xml2PdfTag_header $header = null (line 87)

document header.

  • access: public
array $linksIds = array() (line 105)

links array.

  • access: public
string $pageDrawColor = '#000000' (line 69)

curent page draw color.

  • access: public
string $pageFillColor = '#ffffff' (line 75)

curent page fill color.

  • access: public
string $pageFont = PDF_DEFAULT_FONT (line 45)

curent page font.

  • access: public
string $pageFontColor = PDF_DEFAULT_FONTCOLOR (line 57)

curent page font color.

  • access: public
integer $pageFontSize = PDF_DEFAULT_FONTSIZE (line 51)

curent page font size.

  • access: public
string $pageFontStyle = PDF_DEFAULT_FONTSTYLE (line 63)

curent page font style.

  • access: public
array $styles = array() (line 81)

styles array.

  • access: public
Methods
Constructor __construct (line 115)

Constructor.

  • access: public
void __construct ()
addStyles (line 160)

Add styles.

Add styles tags, they are define using the tag <Xml2PdfTag_stylsheet>.

the format of the styles array is :

  1.  array('TAGNAME' => array(
  2.                       'font'       => 'times',
  3.                       'font-size'  => 10,
  4.                       'font-style' => 'B'
  5.                       'color'      => '#000000',
  6.                       'indent'     => 0),
  7.        'TAGNAME2' => array(
  8.                       'color' => '#ff0000')
  9.  );

  • access: public
void addStyles (array $styles)
  • array $styles
footer (line 186)

Method footer, see FPDF::footer().

  • access: public
void footer ()
header (line 172)

Method header, see FPDF::header().

  • access: public
void header ()
resetAllValues (line 203)

Reset all values.

Reset all values using the curent page values.

  • access: public
void resetAllValues ()
resetFont (line 129)

Reset the font properties.

Reset the font properties using page font properties.

  • access: public
void resetFont ()

Documentation generated on Wed, 11 Oct 2006 22:27:13 +0200 by phpDocumentor 1.3.0