This commit is contained in:
Martin Müller 2014-09-24 21:13:56 +02:00
parent a1ea8dd3aa
commit d3c8e90a6b
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ class XTCPDF extends TCPDF{
var $disableDesign = false; var $disableDesign = false;
function __construct($disableDesign=false) { function __construct($disableDesign=false) {
parent::__construct();
$this->disableDesign = $disableDesign; $this->disableDesign = $disableDesign;
} }

View File

@ -9,7 +9,7 @@ $cvinhalt = $this->element('user_worker_cv_pdf',array('profil'=>array('User'=>$a
$dev = 0; $dev = 0;
$tcpdf = new XTCPDF(); $tcpdf = new XTCPDF(true);
$tcpdf->SetMargins(25,35,25,20); $tcpdf->SetMargins(25,35,25,20);
$tcpdf->SetAuthor("Miconware"); $tcpdf->SetAuthor("Miconware");
$tcpdf->SetAutoPageBreak( false ); $tcpdf->SetAutoPageBreak( false );