*****************************************************************************
***************************************************************************** * Public methods * ******************************************************************************
FPDF
FPDF
([ $orientation = 'P'], [ $unit = 'mm'], [ $format = 'A4'])
-
$orientation
-
$unit
-
$format
void
AddFont
( $family, [ $style = ''], [ $file = ''])
void
AddPage
([ $orientation = ''])
void
AliasNbPages
([ $alias = '{nb}'])
void
Bookmark
( $txt, $level, $y)
void
Cell
( $w, $h, [ $txt = ''], $border, $ln, [ $align = ''], $fill, [ $link = ''], $currentx)
-
$w
-
$h
-
$txt
-
$border
-
$ln
-
$align
-
$fill
-
$link
-
$currentx
void
Circle
( $x, $y, $r, [ $style = ''])
void
DisplayPreferences
( $preferences)
void
DottedRect
([ $x = 100], [ $y = 150], [ $w = 50], [ $h = 50])
void
Ellipse
( $x, $y, $rx, $ry, [ $style = 'D'])
void
finishFlowingBlock
([ $outofblock = false])
void
Footer
()
Redefined in descendants as:
void
GetStringWidth
( $s)
void
Header
()
Redefined in descendants as:
void
Image
( $file, $x, $y, $w, $h, [ $type = ''], [ $link = ''], [ $paint = true])
-
$file
-
$x
-
$y
-
$w
-
$h
-
$type
-
$link
-
$paint
void
Line
( $x1, $y1, $x2, $y2)
void
Link
( $x, $y, $w, $h, $link)
void
MultiCell
( $w, $h, $txt, $border, [ $align = 'J'], $fill, [ $link = ''])
-
$w
-
$h
-
$txt
-
$border
-
$align
-
$fill
-
$link
void
newFlowingBlock
( $w, $h, $b, [ $a = 'J'], $f, [ $is_table = false])
void
Output
([ $name = ''], [ $dest = ''])
void
Rect
( $x, $y, $w, $h, [ $style = ''])
void
restoreFont
( $saved)
void
SetAuthor
( $author)
void
SetAutoPageBreak
( $auto, $margin)
void
SetCompression
( $compress)
void
SetCreator
( $creator)
void
SetDash
([ $black = false], [ $white = false])
void
SetDisplayMode
( $zoom, [ $layout = 'continuous'])
void
SetDrawColor
( $r, [ $g = -1], [ $b = -1])
void
SetFillColor
( $r, [ $g = -1], [ $b = -1])
void
SetFont
( $family, [ $style = ''], $size)
void
SetFontSize
( $size)
void
SetKeywords
( $keywords)
void
SetLeftMargin
( $margin)
void
SetLineWidth
( $width)
void
SetLink
( $link, $y, [ $page = -1])
void
SetMargins
( $left, $top, [ $right = -1])
void
SetRightMargin
( $margin)
void
SetSubject
( $subject)
void
SetTextColor
( $r, [ $g = -1], [ $b = -1])
Set Text Ouline On/Off
Set Text Ouline On/Off
void
SetTextOutline
(mixed $width, int $r, [int $g = -1], [int $b = -1])
-
mixed
$width: If set to false the text rending mode is set to fill, else it's the width of the outline
-
int
$r: If g et b are given, red component; if not, indicates the gray level. Value between 0 and 255
-
int
$g: Green component (between 0 and 255)
-
int
$b: Blue component (between 0 and 255)
void
SetTopMargin
( $margin)
void
Text
( $x, $y, $txt)
void
WordWrap
( &$text, $maxwidth)
void
Write
( $h, $txt, $currentx, [ $link = ''])
void
WriteFlowingBlock
( $s, [ $outofblock = false])
void
_beginpage
( $orientation)
*****************************************************************************
***************************************************************************** * Protected methods * ******************************************************************************
void
_dochecks
()
void
_dounderline
( $x, $y, $txt)