Home « Server software «
Documentation: included/fpdf.php
included/fpdf.php - Software: FPDF *
Version: 1.52 *Date: 2003-12-30 * Author: Olivier PLATHEY * License: Freeware * * You may use, modify and redistribute this software as you wish. *
This script is a reference file of this system.
Auteurs:
- Olivier Plathey
class FPDF
FPDF() - *
function FPDF($orientation='P',$unit='mm',$format='A4')
- $orientation='P' -
- $unit='mm' -
- $format='A4' -
SetMargins()
function SetMargins($left,$top,$right=-1)
- $left -
- $top -
- $right=-1 -
SetLeftMargin()
function SetLeftMargin($margin)
- $margin -
SetTopMargin()
function SetTopMargin($margin)
- $margin -
SetRightMargin()
function SetRightMargin($margin)
- $margin -
SetAutoPageBreak()
function SetAutoPageBreak($auto,$margin=0)
- $auto -
- $margin=0 -
SetDisplayMode()
function SetDisplayMode($zoom,$layout='continuous')
- $zoom -
- $layout='continuous' -
SetCompression()
function SetCompression($compress)
- $compress -
SetTitle()
function SetTitle($title)
- $title -
SetSubject()
function SetSubject($subject)
- $subject -
SetAuthor()
function SetAuthor($author)
- $author -
SetKeywords()
function SetKeywords($keywords)
- $keywords -
SetCreator()
function SetCreator($creator)
- $creator -
AliasNbPages()
function AliasNbPages($alias='{nb}')
- $alias='{nb}' -
Error()
function Error($msg)
- $msg -
Open()
function Open()
Close()
function Close()
AddPage()
function AddPage($orientation='')
- $orientation='' -
Header()
function Header()
Footer()
function Footer()
PageNo()
function PageNo()
SetDrawColor()
function SetDrawColor($r,$g=-1,$b=-1)
- $r -
- $g=-1 -
- $b=-1 -
SetFillColor()
function SetFillColor($r,$g=-1,$b=-1)
- $r -
- $g=-1 -
- $b=-1 -
SetTextColor()
function SetTextColor($r,$g=-1,$b=-1)
- $r -
- $g=-1 -
- $b=-1 -
GetStringWidth()
function GetStringWidth($s)
- $s -
SetLineWidth()
function SetLineWidth($width)
- $width -
Line()
function Line($x1,$y1,$x2,$y2)
- $x1 -
- $y1 -
- $x2 -
- $y2 -
Rect()
function Rect($x,$y,$w,$h,$style='')
- $x -
- $y -
- $w -
- $h -
- $style='' -
AddFont()
function AddFont($family,$style='',$file='')
- $family -
- $style='' -
- $file='' -
SetFont()
function SetFont($family,$style='',$size=0)
- $family -
- $style='' -
- $size=0 -
SetFontSize()
function SetFontSize($size)
- $size -
AddLink()
function AddLink()
SetLink()
function SetLink($link,$y=0,$page=-1)
- $link -
- $y=0 -
- $page=-1 -
Link()
function Link($x,$y,$w,$h,$link)
- $x -
- $y -
- $w -
- $h -
- $link -
Text()
function Text($x,$y,$txt)
- $x -
- $y -
- $txt -
AcceptPageBreak()
function AcceptPageBreak()
Cell()
function Cell($w,$h=0,$txt='',$border=0,$ln=0,$align='',$fill=0,$link='')
- $w -
- $h=0 -
- $txt='' -
- $border=0 -
- $ln=0 -
- $align='' -
- $fill=0 -
- $link='' -
MultiCell()
function MultiCell($w,$h,$txt,$border=0,$align='J',$fill=0)
- $w -
- $h -
- $txt -
- $border=0 -
- $align='J' -
- $fill=0 -
Write()
function Write($h,$txt,$link='')
- $h -
- $txt -
- $link='' -
Image()
function Image($file,$x,$y,$w=0,$h=0,$type='',$link='')
- $file -
- $x -
- $y -
- $w=0 -
- $h=0 -
- $type='' -
- $link='' -
Ln()
function Ln($h='')
- $h='' -
GetX()
function GetX()
SetX()
function SetX($x)
- $x -
GetY()
function GetY()
SetY()
function SetY($y)
- $y -
SetXY()
function SetXY($x,$y)
- $x -
- $y -
Output()
function Output($name='',$dest='')
- $name='' -
- $dest='' -
_dochecks() - *
function _dochecks()
Protected methods * *_begindoc()
function _begindoc()
_putpages()
function _putpages()
_putfonts()
function _putfonts()
_putimages()
function _putimages()
_putresources()
function _putresources()
_putinfo()
function _putinfo()
_putcatalog()
function _putcatalog()
_puttrailer()
function _puttrailer()
_enddoc()
function _enddoc()
_beginpage()
function _beginpage($orientation)
- $orientation -
_endpage()
function _endpage()
_newobj()
function _newobj()
_dounderline()
function _dounderline($x,$y,$txt)
- $x -
- $y -
- $txt -
_parsejpg()
function _parsejpg($file)
- $file -
_parsepng()
function _parsepng($file)
- $file -
_freadint()
function _freadint($f)
- $f -
_textstring()
function _textstring($s)
- $s -
_escape()
function _escape($s)
- $s -
_putstream()
function _putstream($s)
- $s -
_out()
function _out($s)
- $s -