PDF extends FPDF/FPDI.
- Note
- This class requires FPDI
- Author
- ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m
Definition at line 27 of file PDF.php.
Overriden to set the template on the page.
Definition at line 35 of file PDF.php.
Call this method when rendering a new page.
Definition at line 43 of file PDF.php.
Call this method when rendering a page finished.
Definition at line 51 of file PDF.php.
Determine if a new page started.
- Returns
- Boolean
Definition at line 60 of file PDF.php.
Determine if a page finished.
- Returns
- Boolean
Definition at line 68 of file PDF.php.
Move the render position down by given units.
- Parameters
-
$units | The number of units to move |
Definition at line 76 of file PDF.php.
Move the render position right by given units.
- Parameters
-
$units | The number of units to move |
Definition at line 84 of file PDF.php.
numberOfLines |
( |
|
$width, |
|
|
|
$text |
|
) |
| |
Computes the number of lines a MultiCell of width w will take instead of NbLines it correctly handles linebreaks.
- Parameters
-
$width | The width |
$text | The text |
Definition at line 94 of file PDF.php.
The following code is taken from FPDF Add-On 'Table with MultiCells'.
- See also
- http://www.fpdf.de/downloads/addons/3/ If the height h would cause an overflow, add a new page immediately
- Parameters
-
- Returns
- Boolean whether a new page was inserted or not
Definition at line 113 of file PDF.php.
Computes the number of lines a MultiCell of width w will take.
- Parameters
-
Definition at line 126 of file PDF.php.