Documentation

PDF_JavaScript extends FPDF
in package

Table of Contents

Properties

$javascript  : mixed
$n_js  : mixed
$AliasNbPages  : mixed
$AutoPageBreak  : mixed
$bMargin  : mixed
$buffer  : mixed
$cmaps  : mixed
$cMargin  : mixed
$ColorFlag  : mixed
$compress  : mixed
$CoreFonts  : mixed
$CurOrientation  : mixed
$CurPageSize  : mixed
$CurrentFont  : mixed
$CurRotation  : mixed
$DefOrientation  : mixed
$DefPageSize  : mixed
$DrawColor  : mixed
$encodings  : mixed
$FillColor  : mixed
$FontFamily  : mixed
$FontFiles  : mixed
$fontpath  : mixed
$fonts  : mixed
$FontSize  : mixed
$FontSizePt  : mixed
$FontStyle  : mixed
$h  : mixed
$hPt  : mixed
$images  : mixed
$InFooter  : mixed
$InHeader  : mixed
$k  : mixed
$lasth  : mixed
$LayoutMode  : mixed
$LineWidth  : mixed
$links  : mixed
$lMargin  : mixed
$metadata  : mixed
$n  : mixed
$offsets  : mixed
$page  : mixed
$PageBreakTrigger  : mixed
$PageInfo  : mixed
$PageLinks  : mixed
$pages  : mixed
$PDFVersion  : mixed
$rMargin  : mixed
$state  : mixed
$StdPageSizes  : mixed
$TextColor  : mixed
$tMargin  : mixed
$underline  : mixed
$w  : mixed
$WithAlpha  : mixed
$wPt  : mixed
$ws  : mixed
$x  : mixed
$y  : mixed
$ZoomMode  : mixed

Methods

__construct()  : mixed
_putcatalog()  : mixed
_putjavascript()  : mixed
_putresources()  : mixed
AcceptPageBreak()  : mixed
AddFont()  : mixed
AddLink()  : mixed
AddPage()  : mixed
AliasNbPages()  : mixed
Cell()  : mixed
Close()  : mixed
Error()  : mixed
Footer()  : mixed
GetPageHeight()  : mixed
GetPageWidth()  : mixed
GetStringWidth()  : mixed
GetX()  : mixed
GetY()  : mixed
Header()  : mixed
Image()  : mixed
IncludeJS()  : mixed
Line()  : mixed
Link()  : mixed
Ln()  : mixed
MultiCell()  : mixed
Output()  : mixed
PageNo()  : mixed
Rect()  : mixed
SetAuthor()  : mixed
SetAutoPageBreak()  : mixed
SetCompression()  : mixed
SetCreator()  : mixed
SetDisplayMode()  : mixed
SetDrawColor()  : mixed
SetFillColor()  : mixed
SetFont()  : mixed
SetFontSize()  : mixed
SetKeywords()  : mixed
SetLeftMargin()  : mixed
SetLineWidth()  : mixed
SetLink()  : mixed
SetMargins()  : mixed
SetRightMargin()  : mixed
SetSubject()  : mixed
SetTextColor()  : mixed
SetTitle()  : mixed
SetTopMargin()  : mixed
SetX()  : mixed
SetXY()  : mixed
SetY()  : mixed
Text()  : mixed
Write()  : mixed
_beginpage()  : mixed
_checkoutput()  : mixed
_dochecks()  : mixed
_dounderline()  : mixed
_enddoc()  : mixed
_endpage()  : mixed
_escape()  : mixed
_getoffset()  : mixed
_getpagesize()  : mixed
_httpencode()  : mixed
_isascii()  : mixed
_loadfont()  : mixed
_newobj()  : mixed
_out()  : mixed
_parsegif()  : mixed
_parsejpg()  : mixed
_parsepng()  : mixed
_parsepngstream()  : mixed
_put()  : mixed
_putfonts()  : mixed
_putheader()  : mixed
_putimage()  : mixed
_putimages()  : mixed
_putinfo()  : mixed
_putpage()  : mixed
_putpages()  : mixed
_putresourcedict()  : mixed
_putstream()  : mixed
_putstreamobject()  : mixed
_puttrailer()  : mixed
_putxobjectdict()  : mixed
_readint()  : mixed
_readstream()  : mixed
_textstring()  : mixed
_tounicodecmap()  : mixed
_UTF8toUTF16()  : mixed

Properties

$javascript

public mixed $javascript

$AutoPageBreak

protected mixed $AutoPageBreak

$CurOrientation

protected mixed $CurOrientation

$DefOrientation

protected mixed $DefOrientation

$PageBreakTrigger

protected mixed $PageBreakTrigger

Methods

__construct()

public __construct([mixed $orientation = 'P' ][, mixed $unit = 'mm' ][, mixed $size = 'A4' ]) : mixed
Parameters
$orientation : mixed = 'P'
$unit : mixed = 'mm'
$size : mixed = 'A4'

_putcatalog()

public _putcatalog() : mixed

_putjavascript()

public _putjavascript() : mixed

_putresources()

public _putresources() : mixed

AcceptPageBreak()

public AcceptPageBreak() : mixed

AddFont()

public AddFont(mixed $family[, mixed $style = '' ][, mixed $file = '' ]) : mixed
Parameters
$family : mixed
$style : mixed = ''
$file : mixed = ''

AddPage()

public AddPage([mixed $orientation = '' ][, mixed $size = '' ][, mixed $rotation = 0 ]) : mixed
Parameters
$orientation : mixed = ''
$size : mixed = ''
$rotation : mixed = 0

AliasNbPages()

public AliasNbPages([mixed $alias = '{nb}' ]) : mixed
Parameters
$alias : mixed = '{nb}'

Cell()

public Cell(mixed $w[, mixed $h = 0 ][, mixed $txt = '' ][, mixed $border = 0 ][, mixed $ln = 0 ][, mixed $align = '' ][, mixed $fill = false ][, mixed $link = '' ]) : mixed
Parameters
$w : mixed
$h : mixed = 0
$txt : mixed = ''
$border : mixed = 0
$ln : mixed = 0
$align : mixed = ''
$fill : mixed = false
$link : mixed = ''

Error()

public Error(mixed $msg) : mixed
Parameters
$msg : mixed

GetPageHeight()

public GetPageHeight() : mixed

GetPageWidth()

public GetPageWidth() : mixed

GetStringWidth()

public GetStringWidth(mixed $s) : mixed
Parameters
$s : mixed

Image()

public Image(mixed $file[, mixed $x = null ][, mixed $y = null ][, mixed $w = 0 ][, mixed $h = 0 ][, mixed $type = '' ][, mixed $link = '' ]) : mixed
Parameters
$file : mixed
$x : mixed = null
$y : mixed = null
$w : mixed = 0
$h : mixed = 0
$type : mixed = ''
$link : mixed = ''

IncludeJS()

public IncludeJS(mixed $script) : mixed
Parameters
$script : mixed

Line()

public Line(mixed $x1, mixed $y1, mixed $x2, mixed $y2) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
public Link(mixed $x, mixed $y, mixed $w, mixed $h, mixed $link) : mixed
Parameters
$x : mixed
$y : mixed
$w : mixed
$h : mixed
$link : mixed

Ln()

public Ln([mixed $h = null ]) : mixed
Parameters
$h : mixed = null

MultiCell()

public MultiCell(mixed $w, mixed $h, mixed $txt[, mixed $border = 0 ][, mixed $align = 'J' ][, mixed $fill = false ]) : mixed
Parameters
$w : mixed
$h : mixed
$txt : mixed
$border : mixed = 0
$align : mixed = 'J'
$fill : mixed = false

Output()

public Output([mixed $dest = '' ][, mixed $name = '' ][, mixed $isUTF8 = false ]) : mixed
Parameters
$dest : mixed = ''
$name : mixed = ''
$isUTF8 : mixed = false

Rect()

public Rect(mixed $x, mixed $y, mixed $w, mixed $h[, mixed $style = '' ]) : mixed
Parameters
$x : mixed
$y : mixed
$w : mixed
$h : mixed
$style : mixed = ''

SetAuthor()

public SetAuthor(mixed $author[, mixed $isUTF8 = false ]) : mixed
Parameters
$author : mixed
$isUTF8 : mixed = false

SetAutoPageBreak()

public SetAutoPageBreak(mixed $auto[, mixed $margin = 0 ]) : mixed
Parameters
$auto : mixed
$margin : mixed = 0

SetCompression()

public SetCompression(mixed $compress) : mixed
Parameters
$compress : mixed

SetCreator()

public SetCreator(mixed $creator[, mixed $isUTF8 = false ]) : mixed
Parameters
$creator : mixed
$isUTF8 : mixed = false

SetDisplayMode()

public SetDisplayMode(mixed $zoom[, mixed $layout = 'default' ]) : mixed
Parameters
$zoom : mixed
$layout : mixed = 'default'

SetDrawColor()

public SetDrawColor(mixed $r[, mixed $g = null ][, mixed $b = null ]) : mixed
Parameters
$r : mixed
$g : mixed = null
$b : mixed = null

SetFillColor()

public SetFillColor(mixed $r[, mixed $g = null ][, mixed $b = null ]) : mixed
Parameters
$r : mixed
$g : mixed = null
$b : mixed = null

SetFont()

public SetFont(mixed $family[, mixed $style = '' ][, mixed $size = 0 ]) : mixed
Parameters
$family : mixed
$style : mixed = ''
$size : mixed = 0

SetFontSize()

public SetFontSize(mixed $size) : mixed
Parameters
$size : mixed

SetKeywords()

public SetKeywords(mixed $keywords[, mixed $isUTF8 = false ]) : mixed
Parameters
$keywords : mixed
$isUTF8 : mixed = false

SetLeftMargin()

public SetLeftMargin(mixed $margin) : mixed
Parameters
$margin : mixed

SetLineWidth()

public SetLineWidth(mixed $width) : mixed
Parameters
$width : mixed
public SetLink(mixed $link[, mixed $y = 0 ][, mixed $page = -1 ]) : mixed
Parameters
$link : mixed
$y : mixed = 0
$page : mixed = -1

SetMargins()

public SetMargins(mixed $left, mixed $top[, mixed $right = null ]) : mixed
Parameters
$left : mixed
$top : mixed
$right : mixed = null

SetRightMargin()

public SetRightMargin(mixed $margin) : mixed
Parameters
$margin : mixed

SetSubject()

public SetSubject(mixed $subject[, mixed $isUTF8 = false ]) : mixed
Parameters
$subject : mixed
$isUTF8 : mixed = false

SetTextColor()

public SetTextColor(mixed $r[, mixed $g = null ][, mixed $b = null ]) : mixed
Parameters
$r : mixed
$g : mixed = null
$b : mixed = null

SetTitle()

public SetTitle(mixed $title[, mixed $isUTF8 = false ]) : mixed
Parameters
$title : mixed
$isUTF8 : mixed = false

SetTopMargin()

public SetTopMargin(mixed $margin) : mixed
Parameters
$margin : mixed

SetX()

public SetX(mixed $x) : mixed
Parameters
$x : mixed

SetXY()

public SetXY(mixed $x, mixed $y) : mixed
Parameters
$x : mixed
$y : mixed

SetY()

public SetY(mixed $y[, mixed $resetX = true ]) : mixed
Parameters
$y : mixed
$resetX : mixed = true

Text()

public Text(mixed $x, mixed $y, mixed $txt) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed

Write()

public Write(mixed $h, mixed $txt[, mixed $link = '' ]) : mixed
Parameters
$h : mixed
$txt : mixed
$link : mixed = ''

_beginpage()

protected _beginpage(mixed $orientation, mixed $size, mixed $rotation) : mixed
Parameters
$orientation : mixed
$size : mixed
$rotation : mixed

_checkoutput()

protected _checkoutput() : mixed

_dounderline()

protected _dounderline(mixed $x, mixed $y, mixed $txt) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed

_escape()

protected _escape(mixed $s) : mixed
Parameters
$s : mixed

_getoffset()

protected _getoffset() : mixed

_getpagesize()

protected _getpagesize(mixed $size) : mixed
Parameters
$size : mixed

_httpencode()

protected _httpencode(mixed $param, mixed $value, mixed $isUTF8) : mixed
Parameters
$param : mixed
$value : mixed
$isUTF8 : mixed

_isascii()

protected _isascii(mixed $s) : mixed
Parameters
$s : mixed

_loadfont()

protected _loadfont(mixed $font) : mixed
Parameters
$font : mixed

_newobj()

protected _newobj([mixed $n = null ]) : mixed
Parameters
$n : mixed = null

_out()

protected _out(mixed $s) : mixed
Parameters
$s : mixed

_parsegif()

protected _parsegif(mixed $file) : mixed
Parameters
$file : mixed

_parsejpg()

protected _parsejpg(mixed $file) : mixed
Parameters
$file : mixed

_parsepng()

protected _parsepng(mixed $file) : mixed
Parameters
$file : mixed

_parsepngstream()

protected _parsepngstream(mixed $f, mixed $file) : mixed
Parameters
$f : mixed
$file : mixed

_put()

protected _put(mixed $s) : mixed
Parameters
$s : mixed

_putheader()

protected _putheader() : mixed

_putimage()

protected _putimage(mixed &$info) : mixed
Parameters
$info : mixed

_putimages()

protected _putimages() : mixed

_putpage()

protected _putpage(mixed $n) : mixed
Parameters
$n : mixed

_putresourcedict()

protected _putresourcedict() : mixed

_putstream()

protected _putstream(mixed $data) : mixed
Parameters
$data : mixed

_putstreamobject()

protected _putstreamobject(mixed $data) : mixed
Parameters
$data : mixed

_puttrailer()

protected _puttrailer() : mixed

_putxobjectdict()

protected _putxobjectdict() : mixed

_readint()

protected _readint(mixed $f) : mixed
Parameters
$f : mixed

_readstream()

protected _readstream(mixed $f, mixed $n) : mixed
Parameters
$f : mixed
$n : mixed

_textstring()

protected _textstring(mixed $s) : mixed
Parameters
$s : mixed

_tounicodecmap()

protected _tounicodecmap(mixed $uv) : mixed
Parameters
$uv : mixed

_UTF8toUTF16()

protected _UTF8toUTF16(mixed $s) : mixed
Parameters
$s : mixed

        
On this page

Search results