...
This commit is contained in:
parent
63217d0696
commit
da247c7106
|
@ -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(){
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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;
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue