This commit is contained in:
Martin Müller 2014-04-30 00:46:45 +02:00
parent e7bbcf0dd8
commit 41ed3dd60b
3 changed files with 7 additions and 3 deletions

View File

@ -18,9 +18,6 @@ class XTCPDF extends TCPDF{
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo-lang.png',0,15,64,15,'','','','',300,'R'); $this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo-lang.png',0,15,64,15,'','','','',300,'R');
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->SetHeaderMargin(65);
$this->SetFooterMargin(40);
} }
function Footer(){ function Footer(){

View File

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

View File

@ -15,6 +15,10 @@ $cvinhalt .= '<style>span{font-style:italic;font-size:10px;}h1,h2,h3,h4,h5{
$dev = 0; $dev = 0;
$tcpdf = new XTCPDF(); $tcpdf = new XTCPDF();
$tcpdf->SetMargins(25,25,20,25);
$tcpdf->SetHeaderMargin(65);
$tcpdf->SetFooterMargin(40);
$tcpdf->SetAuthor("Miconware"); $tcpdf->SetAuthor("Miconware");
$tcpdf->SetAutoPageBreak( false ); $tcpdf->SetAutoPageBreak( false );