This commit is contained in:
parent
a1ea8dd3aa
commit
d3c8e90a6b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue