|
wCMF
3.6
|
Inheritance diagram for PDF:Public Member Functions | |
| Header () | |
| startPage () | |
| endPage () | |
| isPageStarted () | |
| isPageEnded () | |
| moveDown ($units) | |
| moveRight ($units) | |
| numberOfLines ($width, $text) | |
| CheckPageBreak ($h) | |
| NbLines ($w, $txt) | |
Public Attributes | |
| $_pageStarted = false | |
| $_pageEnded = false | |
PDF extends FPDF/FPDI.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 29 of file class.PDF.php.
| PDF::Header | ( | ) |
Overriden to set the template on the page
Definition at line 37 of file class.PDF.php.
| PDF::startPage | ( | ) |
Call this method when rendering a new page
Definition at line 45 of file class.PDF.php.
| PDF::endPage | ( | ) |
Call this method when rendering a page finished
Definition at line 53 of file class.PDF.php.
| PDF::isPageStarted | ( | ) |
Determine if a new page started
Definition at line 62 of file class.PDF.php.
References $_pageStarted.
| PDF::isPageEnded | ( | ) |
Determine if a page finished
Definition at line 70 of file class.PDF.php.
References $_pageEnded.
| PDF::moveDown | ( | $units | ) |
Move the render position down by given units
| units | The number of units to move |
Definition at line 78 of file class.PDF.php.
| PDF::moveRight | ( | $units | ) |
Move the render position right by given units
| units | The number of units to move |
Definition at line 86 of file class.PDF.php.
| PDF::numberOfLines | ( | $width, | |
| $text | |||
| ) |
Computes the number of lines a MultiCell of width w will take instead of NbLines it correctly handles linebreaks
| width | The width |
| text | The text |
Definition at line 96 of file class.PDF.php.
References NbLines().
Here is the call graph for this function:| PDF::CheckPageBreak | ( | $h | ) |
The following code is taken from FPDF Add-On 'Table with MultiCells'
| h | The height |
Definition at line 115 of file class.PDF.php.
| PDF::NbLines | ( | $w, | |
| $txt | |||
| ) |
Computes the number of lines a MultiCell of width w will take
| w | The width |
| txt | The text |
Definition at line 129 of file class.PDF.php.
Referenced by numberOfLines().
| PDF::$_pageStarted = false |
Definition at line 31 of file class.PDF.php.
Referenced by isPageStarted().
| PDF::$_pageEnded = false |
Definition at line 32 of file class.PDF.php.
Referenced by isPageEnded().