/******************************************************************************* * Public methods * *******************************************************************************/ function __construct($orientation='P', $unit='mm', $size='A4') function SetMargins($left, $top, $right=null) function SetLeftMargin($margin) function SetTopMargin($margin) function SetRightMargin($margin) function SetAutoPageBreak($auto, $margin=0) function SetDisplayMode($zoom, $layout='default') function SetCompression($compress) function SetTitle($title, $isUTF8=false) function SetAuthor($author, $isUTF8=false) function SetSubject($subject, $isUTF8=false) function SetKeywords($keywords, $isUTF8=false) function SetCreator($creator, $isUTF8=false) function AliasNbPages($alias='{nb}') function Error($msg) function Close() function AddPage($orientation='', $size='', $rotation=0) function Header() function Footer() function PageNo() function SetDrawColor($r, $g=null, $b=null) function SetFillColor($r, $g=null, $b=null) function SetTextColor($r, $g=null, $b=null) function GetStringWidth($s) function SetLineWidth($width) function Line($x1, $y1, $x2, $y2) function Rect($x, $y, $w, $h, $style='') function AddFont($family, $style='', $file='') function SetFont($family, $style='', $size=0) function SetFontSize($size) function AddLink() function SetLink($link, $y=0, $page=-1) function Link($x, $y, $w, $h, $link) function Text($x, $y, $txt) function AcceptPageBreak() function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='') function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false) function Write($h, $txt, $link='') function Ln($h=null) function Image($file, $x=null, $y=null, $w=0, $h=0, $type='', $link='') function GetPageWidth() function GetPageHeight() function GetX() function SetX($x) function GetY() function SetY($y, $resetX=true) function SetXY($x, $y) function Output($dest='', $name='', $isUTF8=false) /******************************************************************************* * Protected methods * *******************************************************************************/ protected function _checkoutput() protected function _getpagesize($size) protected function _beginpage($orientation, $size, $rotation) protected function _endpage() protected function _loadfont($font) protected function _isascii($s) protected function _httpencode($param, $value, $isUTF8) protected function _UTF8encode($s) protected function _UTF8toUTF16($s) protected function _escape($s) protected function _textstring($s) protected function _dounderline($x, $y, $txt) protected function _parsejpg($file) protected function _parsepng($file) protected function _parsepngstream($f, $file) protected function _readstream($f, $n) protected function _readint($f) protected function _parsegif($file) protected function _out($s) protected function _put($s) protected function _getoffset() protected function _newobj($n=null) protected function _putstream($data) protected function _putstreamobject($data) protected function _putlinks($n) protected function _putpage($n) protected function _putpages() protected function _putfonts() protected function _tounicodecmap($uv) protected function _putimages() protected function _putimage(&$info) protected function _putxobjectdict() protected function _putresourcedict() protected function _putresources() protected function _putinfo() protected function _putcatalog() protected function _putheader() protected function _puttrailer() protected function _enddoc()