PHP Class PhpSigep\Pdf\ImprovedFPDF

Author: : Stavarengo
Inheritance: extends PhpSigepFPDF
Show file Open project: stavarengo/php-sigep Class Usage Examples

Public Methods

Method Description
AutoPrint ( $dialog = false )
AutoPrintToPrinter ( $server, $printer, $dialog = false )
CellXp ( $w, $txt, $align = '', $ln, $h = null, $border, $fill = false, $link = '' )
CheckPageBreak ( $h )
GetStringWidthXd ( $s )
IncludeJS ( $script )
MultiCellXp ( $w, $txt, $h = null, $border, $align = 'L', $fill = false )
NbLines ( $w, $txt )
RoundedRect ( $x, $y, $w, $h, $r, $corners = '1234', $style = '' )
Row ( $data )
SetAligns ( $a )
SetDash ( $black = null, $white = null )
SetWidths ( $w )
_ ( $str )
_Arc ( $x1, $y1, $x2, $y2, $x3, $y3 )
__construct ( $orientation = 'P', $unit = 'mm', $size = 'A4' )
_putcatalog ( )
_putjavascript ( )
_putresources ( )
gdImage ( $im, $x = null, $y = null, $w, $h, $link = '' )
getLineHeigth ( integer $padding = null ) : integer
memImage ( $data, $x = null, $y = null, $w, $h, $link = '' )
restoreLastState ( )
saveState ( )
setLineHeightPadding ( integer $padding )

Method Details

AutoPrint() public method

public AutoPrint ( $dialog = false )

AutoPrintToPrinter() public method

public AutoPrintToPrinter ( $server, $printer, $dialog = false )

CellXp() public method

public CellXp ( $w, $txt, $align = '', $ln, $h = null, $border, $fill = false, $link = '' )

CheckPageBreak() public method

public CheckPageBreak ( $h )

GetStringWidthXd() public method

public GetStringWidthXd ( $s )

IncludeJS() public method

public IncludeJS ( $script )

MultiCellXp() public method

public MultiCellXp ( $w, $txt, $h = null, $border, $align = 'L', $fill = false )

NbLines() public method

public NbLines ( $w, $txt )

RoundedRect() public method

public RoundedRect ( $x, $y, $w, $h, $r, $corners = '1234', $style = '' )

Row() public method

public Row ( $data )

SetAligns() public method

public SetAligns ( $a )

SetDash() public method

public SetDash ( $black = null, $white = null )

SetWidths() public method

public SetWidths ( $w )

_() public method

public _ ( $str )

_Arc() public method

public _Arc ( $x1, $y1, $x2, $y2, $x3, $y3 )

__construct() public method

public __construct ( $orientation = 'P', $unit = 'mm', $size = 'A4' )

_putcatalog() public method

public _putcatalog ( )

_putjavascript() public method

public _putjavascript ( )

_putresources() public method

public _putresources ( )

gdImage() public method

public gdImage ( $im, $x = null, $y = null, $w, $h, $link = '' )

getLineHeigth() public method

public getLineHeigth ( integer $padding = null ) : integer
$padding integer Deve ser informado usando a unidade de medida passada no construtor.
return integer

memImage() public method

public memImage ( $data, $x = null, $y = null, $w, $h, $link = '' )

restoreLastState() public method

public restoreLastState ( )

saveState() public method

public saveState ( )

setLineHeightPadding() public method

public setLineHeightPadding ( integer $padding )
$padding integer Deve ser informado usando a unidade de medida passada no construtor.