This commit is contained in:
Martin Müller 2014-04-30 00:44:32 +02:00
parent ce46ae96e0
commit 3eb6f62498
2 changed files with 3 additions and 2 deletions

View File

@ -19,8 +19,8 @@ class XTCPDF extends TCPDF{
else else
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo.png',0,10,20,20,'','','','',300,'R'); $this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo.png',0,10,20,20,'','','','',300,'R');
$this->SetMargins(25,25,20,25); $this->SetMargins(25,25,20,25);
$this->SetHeaderMargin(25); $this->SetHeaderMargin(65);
$this->SetFooterMargin(20); $this->SetFooterMargin(40);
} }
function Footer(){ function Footer(){

View File

@ -56,6 +56,7 @@ $tcpdf->SetAutoPageBreak( true);
$tcpdf->writeHTML('<br/><br/><h1>'.$application['DreamjobJobApplication']['subject'].'</h1><br/>'.$application['DreamjobJobApplication']['text']); $tcpdf->writeHTML('<br/><br/><h1>'.$application['DreamjobJobApplication']['subject'].'</h1><br/>'.$application['DreamjobJobApplication']['text']);
//Lebenslauf //Lebenslauf
$tcpdf->SetAutoPageBreak( true);
$tcpdf->title=__('dreamjob.cv'); $tcpdf->title=__('dreamjob.cv');
$tcpdf->AddPage(); $tcpdf->AddPage();
$tcpdf->SetY(35); $tcpdf->SetY(35);