Commit 4ec28804 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #981 Improve the FusionDirectory API

parent 3adbf97b
No related merge requests found
Showing with 22 additions and 3 deletions
+22 -3
...@@ -20,23 +20,42 @@ ...@@ -20,23 +20,42 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* Avoid autoloading this class */ class PDF extends FPDF /*!
* \file class_PDF.inc
* Source code for class PDF
*/
/* Avoid autoloading this class */
/*!
* \brief This class contains all the functions to manage pdf
*/
class PDF extends FPDF
{ {
var $headline= ""; var $headline= "";
/*!
* \brief Set the headline
*
* \param string $headline
*/
function setHeadline($headline) function setHeadline($headline)
{ {
$this->headline= $headline; $this->headline= $headline;
} }
/*!
* \brief Set font and cell for the header page
*/
function Header() function Header()
{ {
$this->SetFont('Helvetica','B',10); $this->SetFont('Helvetica','B',10);
$this->Cell(0, 0, $this->headline, 0, 0, 'L'); $this->Cell(0, 0, $this->headline, 0, 0, 'L');
$this->Ln(5); $this->Ln(5);
} }
/*!
* \brief Set position from the bottom and the number of the page
*/
function Footer() function Footer()
{ {
$this->SetY(-15); $this->SetY(-15);
......
  • bmortier @bmortier

    mentioned in issue #370 (closed)

    By sabaku on 2017-09-02T14:45:12 (imported from GitLab)

    ·

    mentioned in issue #370 (closed)

    By sabaku on 2017-09-02T14:45:12 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment