调整pdf中的项目大小

This commit is contained in:
wlx 2010-05-24 13:48:46 +00:00
parent 2524ad2b24
commit 8423678e9e
2 changed files with 13 additions and 13 deletions

View File

@ -15,30 +15,30 @@ class ApplicantPDF extends FPDI
$this->useTemplate($tplidx); $this->useTemplate($tplidx);
$this->AddUniGBhwFont('ugb','AdobeSongStd-Light-Acro'); $this->AddUniGBhwFont('ugb','AdobeSongStd-Light-Acro');
$this->SetFont('ugb','',$this->fontsize); $this->SetFont('ugb','',$this->fontsize);
$this->setXY(45,77); $this->setXY(45,62);
$this->Write($this->fontsize,$this->data['realname']); $this->Write($this->fontsize,$this->data['realname']);
$this->SetXY(34,87); $this->SetXY(34,72);
$this->MultiCell (0, 4, str_replace(";","\n",$this->data['datalist'])); $this->MultiCell (0, 4, str_replace(";","\n",$this->data['datalist']));
$this->setXY(34,130); $this->setXY(30,110);
$this->Write($this->fontsize,trim($this->data['project'])); $this->MultiCell(0,4,trim($this->data['project']));
$this->setXY(34,251); $this->setXY(34,239);
$this->Write($this->fontsize,$this->data['realname']); $this->Write($this->fontsize,$this->data['realname']);
$this->setXY(34,258); $this->setXY(34,245);
$this->Write($this->fontsize,$this->data['unit']); $this->Write($this->fontsize,$this->data['unit']);
$this->setXY(100,258); $this->setXY(100,245);
$this->Write($this->fontsize,$this->data['address']); $this->Write($this->fontsize,$this->data['address']);
$this->setXY(164,258); $this->setXY(164,245);
$this->Write($this->fontsize,$this->data['postcode']); $this->Write($this->fontsize,$this->data['postcode']);
$this->setXY(34,264); $this->setXY(34,251);
$this->Write($this->fontsize,$this->data['email']); $this->Write($this->fontsize,$this->data['email']);
$this->setXY(100,264); $this->setXY(100,251);
$this->Write($this->fontsize,$this->data['phone']); $this->Write($this->fontsize,$this->data['phone']);
$t=getdate(); $t=getdate();
$this->setXY(159,264); $this->setXY(163,251);
$this->Write($this->fontsize,$t['year']); $this->Write($this->fontsize,$t['year']);
$this->setXY(171,264); $this->setXY(175,251);
$this->Write($this->fontsize,$t['mon']); $this->Write($this->fontsize,$t['mon']);
$this->setXY(180,264); $this->setXY(184,251);
$this->Write($this->fontsize,$t['mday']); $this->Write($this->fontsize,$t['mday']);
} }
} }

Binary file not shown.