Property | Type | Description | |
---|---|---|---|
$CurrPageGroup | variable containing the number of pages of the groups | ||
$NewPageGroup | PAGE GROUP | ||
$PageGroups | variable indicating whether a new group was requested | ||
$angle | |||
$javascript | INCLUDE JS | ||
$n_js |
Method | Description | |
---|---|---|
GroupPageNo ( ) | current page in the group | |
Output ( string $name = '', string $dest = 'I', boolean $print = false ) : string | void | ||
PageGroupAlias ( ) | alias of the current page group -- will be replaced by the total number of pages in this group | |
StartPageGroup ( ) | create a new page group; call this before calling AddPage() | |
__construct ( $orientation = 'P', $unit = 'mm', $size = [210, 297] ) | ||
_beginpage ( $orientation, $size ) | ||
_putcatalog ( ) | ||
_putpages ( ) | ||
_putresources ( ) | ||
i25 ( $xpos, $ypos, $code, integer $basewidth = 1, integer $height = 10 ) | BarCode |
Method | Description | |
---|---|---|
IncludeJS ( $script ) | ||
_ ( ) | ||
_putjavascript ( ) | ||
calculateDimensions ( $width, $height, $maxwidth, $maxheight ) : array | ||
point2px ( $pt ) : float | ||
rotate ( $angle, integer $x, integer $y ) | ||
textFitCell ( $w, $h, $txt, $border, $ln, $align, float $dec = 0.1 ) |
public Output ( string $name = '', string $dest = 'I', boolean $print = false ) : string | void | ||
$name | string | |
$dest | string | I: send the file inline to the browser. D: send to the browser and force download. F: save to a local S: return as a string. name is ignored. |
boolean | 1 imprime 0 nao imprime | |
return | string | void |
public PageGroupAlias ( ) |
public StartPageGroup ( ) |
public __construct ( $orientation = 'P', $unit = 'mm', $size = [210, 297] ) |
protected calculateDimensions ( $width, $height, $maxwidth, $maxheight ) : array | ||
$width | ||
$height | ||
$maxwidth | ||
$maxheight | ||
return | array |
protected textFitCell ( $w, $h, $txt, $border, $ln, $align, float $dec = 0.1 ) | ||
$w | ||
$h | ||
$txt | ||
$border | ||
$ln | ||
$align | ||
$dec | float |
protected $CurrPageGroup |
protected $PageGroups |