Copied!
CloneableInstantiable
Constants
public FPDF::VERSION = '1.86'
Methods
public __construct()
public FPDF::AcceptPageBreak()
public FPDF::AddFont( $family, $style = '', $file = '', $dir = '')
public FPDF::AddLink()
public FPDF::AddPage( $orientation = '', $size = '', $rotation = 0)
public FPDF::AliasNbPages( $alias = '{nb}')
public FPDF::Cell( $w, $h = 0, $txt = '', $border = 0, $ln = 0, $align = '', $fill = false, $link = '')
public cleanStreet(string $street, bool $minimize = true) : string
public FPDF::Close()
public FPDF::Error( $msg)
public FPDF::Footer()
public generate(array $data, string $title, float $distance, string $units, float $ascent, float $descent) : static
 
  • param array<string,string> $data
public FPDF::GetPageHeight()
public FPDF::GetPageWidth()
public FPDF::GetStringWidth( $s)
public FPDF::GetX()
public FPDF::GetY()
public FPDF::Header()
public FPDF::Image( $file, $x = NULL, $y = NULL, $w = 0, $h = 0, $type = '', $link = '')
public FPDF::Line( $x1, $y1, $x2, $y2)
public FPDF::Link( $x, $y, $w, $h, $link)
public FPDF::Ln( $h = NULL)
public FPDF::MultiCell( $w, $h, $txt, $border = 0, $align = 'J', $fill = false)
public FPDF::Output( $dest = '', $name = '', $isUTF8 = false)
public FPDF::PageNo()
public FPDF::Rect( $x, $y, $w, $h, $style = '')
public FPDF::SetAuthor( $author, $isUTF8 = false)
public FPDF::SetAutoPageBreak( $auto, $margin = 0)
public FPDF::SetCompression( $compress)
public FPDF::SetCreator( $creator, $isUTF8 = false)
public FPDF::SetDisplayMode( $zoom, $layout = 'default')
public FPDF::SetDrawColor( $r, $g = NULL, $b = NULL)
public FPDF::SetFillColor( $r, $g = NULL, $b = NULL)
public FPDF::SetFont( $family, $style = '', $size = 0)
public FPDF::SetFontSize( $size)
public FPDF::SetKeywords( $keywords, $isUTF8 = false)
public FPDF::SetLeftMargin( $margin)
public FPDF::SetLineWidth( $width)
public FPDF::SetLink( $link, $y = 0, $page = -1)
public FPDF::SetMargins( $left, $top, $right = NULL)
public FPDF::SetRightMargin( $margin)
public FPDF::SetSubject( $subject, $isUTF8 = false)
public FPDF::SetTextColor( $r, $g = NULL, $b = NULL)
public FPDF::SetTitle( $title, $isUTF8 = false)
public FPDF::SetTopMargin( $margin)
public FPDF::SetX( $x)
public FPDF::SetXY( $x, $y)
public FPDF::SetY( $y, $resetX = true)
public FPDF::Text( $x, $y, $txt)
public FPDF::Write( $h, $txt, $link = '')
Properties
protected FPDF::$AliasNbPages = NULL
protected FPDF::$AutoPageBreak = NULL
protected FPDF::$bMargin = NULL
protected FPDF::$buffer = NULL
protected FPDF::$cmaps = NULL
protected FPDF::$cMargin = NULL
protected FPDF::$ColorFlag = NULL
protected FPDF::$compress = NULL
protected FPDF::$CoreFonts = NULL
protected FPDF::$CreationDate = NULL
protected FPDF::$CurOrientation = NULL
protected FPDF::$CurPageSize = NULL
protected FPDF::$CurrentFont = NULL
protected FPDF::$CurRotation = NULL
protected FPDF::$DefOrientation = NULL
protected FPDF::$DefPageSize = NULL
protected FPDF::$DrawColor = NULL
protected FPDF::$encodings = NULL
protected FPDF::$FillColor = NULL
protected FPDF::$FontFamily = NULL
protected FPDF::$FontFiles = NULL
protected FPDF::$fontpath = NULL
protected FPDF::$fonts = NULL
protected FPDF::$FontSize = NULL
protected FPDF::$FontSizePt = NULL
protected FPDF::$FontStyle = NULL
protected FPDF::$h = NULL
protected FPDF::$hPt = NULL
protected FPDF::$iconv = NULL
protected FPDF::$images = NULL
protected FPDF::$InFooter = NULL
protected FPDF::$InHeader = NULL
protected FPDF::$k = NULL
protected FPDF::$lasth = NULL
protected FPDF::$LayoutMode = NULL
protected FPDF::$LineWidth = NULL
protected FPDF::$links = NULL
protected FPDF::$lMargin = NULL
protected FPDF::$metadata = NULL
protected FPDF::$n = NULL
protected FPDF::$offsets = NULL
protected FPDF::$page = NULL
protected FPDF::$PageBreakTrigger = NULL
protected FPDF::$PageInfo = NULL
protected FPDF::$PageLinks = NULL
protected FPDF::$pages = NULL
protected FPDF::$PDFVersion = NULL
protected FPDF::$rMargin = NULL
protected FPDF::$state = NULL
protected FPDF::$StdPageSizes = NULL
protected FPDF::$TextColor = NULL
protected FPDF::$tMargin = NULL
protected FPDF::$underline = NULL
protected FPDF::$w = NULL
protected FPDF::$WithAlpha = NULL
protected FPDF::$wPt = NULL
protected FPDF::$ws = NULL
protected FPDF::$x = NULL
protected FPDF::$y = NULL
protected FPDF::$ZoomMode = NULL
Methods
protected FPDF::_beginpage( $orientation, $size, $rotation)
protected FPDF::_checkoutput()
protected FPDF::_dounderline( $x, $y, $txt)
protected FPDF::_enddoc()
protected FPDF::_endpage()
protected FPDF::_escape( $s)
protected FPDF::_getoffset()
protected FPDF::_getpagesize( $size)
protected FPDF::_httpencode( $param, $value, $isUTF8)
protected FPDF::_isascii( $s)
protected FPDF::_loadfont( $path)
protected FPDF::_newobj( $n = NULL)
protected FPDF::_out( $s)
protected FPDF::_parsegif( $file)
protected FPDF::_parsejpg( $file)
protected FPDF::_parsepng( $file)
protected FPDF::_parsepngstream( $f, $file)
protected FPDF::_put( $s)
protected FPDF::_putcatalog()
protected FPDF::_putfonts()
protected FPDF::_putheader()
protected FPDF::_putimage( $info)
protected FPDF::_putimages()
protected FPDF::_putinfo()
protected FPDF::_putlinks( $n)
protected FPDF::_putpage( $n)
protected FPDF::_putpages()
protected FPDF::_putresourcedict()
protected FPDF::_putresources()
protected FPDF::_putstream( $data)
protected FPDF::_putstreamobject( $data)
protected FPDF::_puttrailer()
protected FPDF::_putxobjectdict()
protected FPDF::_readint( $f)
protected FPDF::_readstream( $f, $n)
protected FPDF::_textstring( $s)
protected FPDF::_tounicodecmap( $uv)
protected FPDF::_UTF8encode( $s)
protected FPDF::_UTF8toUTF16( $s)
Properties
private int $angle = 0
private int $ascent = 0
private int $descent = 0
private float $distance = 0
private float $firstColumn
private float $height = 0
private float $lastDistance = 0
private float $margin = 0
private float $secondColumn
private float $secondRow
private float $topMargin
private float $topRow
private string $units
private float $width
Methods
private limit(string $street, float $streetWidth) : string
private newPage(string $title, string $units) : void
private printRow(float $x, float $y, array $row, string $border, float $lineHeight = 7) : float
 
  • param array<string,string> $row
private printSection(float $x, float $y, float $height, ArrayIterator $reader) : void
 
  • param \ArrayIterator<string,string> $reader
private Rotate(int $angle, float $x = -1, float $y = -1) : void
private SetDash(?float $black = NULL, ?float $white = NULL) : static
private writeLabel(string $label, string $value) : void
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration