This commit is contained in:
Martin Müller 2014-04-30 00:37:42 +02:00
parent 63217d0696
commit da247c7106
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,9 @@ class XTCPDF extends TCPDF{
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo-lang.png',0,15,64,15,'','','','',300,'R');
else
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo.png',0,10,20,20,'','','','',300,'R');
$this->SetMargins(10, 10, 10, true);
$this->SetMargins(25,25,20,25);
$this->SetHeaderMargin(45);
$this->SetFooterMargin(40);
}
function Footer(){

View File

@ -15,7 +15,6 @@ $cvinhalt = $this->element('user_worker_cv',array('toPDF'=>true,'profil'=>array(
$dev = 0;
$tcpdf = new XTCPDF();
$tcpdf->SetMargins(25,25,20,25);
$tcpdf->SetAuthor("Miconware");
$tcpdf->SetAutoPageBreak( false );

View File

@ -15,7 +15,6 @@ $cvinhalt .= '<style>span{font-style:italic;font-size:10px;}h1,h2,h3,h4,h5{
$dev = 0;
$tcpdf = new XTCPDF();
$tcpdf->SetMargins(25,25,20,25);
$tcpdf->SetAuthor("Miconware");
$tcpdf->SetAutoPageBreak( false );
@ -79,6 +78,6 @@ foreach($WORKER['DreamjobPageInh'] as $page){
//$tcpdf->Output('profil.pdf','I');
// TO Download
$tcpdf->Output('profil.pdf','D');
$tcpdf->Output('profil.pdf','I');
return null;
?>