function Header() { //Logo parent::Header(); $this->Image('../images/logo.png', 10, 8, 45); $this->SetFont('Helvetica', 'B', 13); $this->SetTitle("Allan"); $this->SetXY(50, 15); $this->Cell(0, 0, 'EQUITY INVESTMENT BANK REVENUE REPORT', 0, 0, 'C'); }
function Header() { parent::Header(); $this->SetY($this->h * -1); //$this->image('images/logo.png',$this->lMargin,2,70,10); $this->SetY($this->h * -1); $this->SetFont('Arial', 'B', 10); $this->SetTextColor(0); //$this->Cell(0,10,'Sistem Informasi Perkiraan ',0,1,'R'); $this->SetY($this->h * -1 + 5); //$this->Cell(0,10,'CV. Surabaya Intelectual Club ',0,1,'R'); //$this->SetFillColor(0,0,0); //$this->Cell($this->w-$this->rMargin-$this->lMargin,0.2,'',1,0,'L',1); //Return Font to normal //$this->SetFont('Arial','',11); //$this->SetX($this->lMargin); //$this->SetY(($this->h*-1)+$this->tMargin); $this->_makePageSize(); }
public function Header() { parent::Header(); foreach ($this->listeners as $l) { $l->onHeader(); } }
$this->Cell(15, 4, 'Interval', 1); $this->Cell(15, 4, 'Point', 1); $this->Ln(); for ($i = 0; $i < count($g); $i++) { $this->Cell(150); $this->Cell(15, 4, '' . $g[$i], 1); $this->Cell(15, 4, '' . $in[$i], 1); $this->Cell(15, 4, '' . $p[$i], 1); $this->Ln(); } $this->Ln(); } } $pdf = new FPDF('L', 'mm', 'A4'); $pdf->AddPage(); $pdf->Header(); // the variables that hopefully generated by quering the database. $name = "Abdullah Al Zakir Hossain"; $fname = "Prof. Dr. Mokbul Hossain"; $mname = "Mrs. Zakia Hossain"; $sroll = "04101009"; $group = "CSE"; $subjectname[] = "Bangla 1st paper"; $subjectname[] = "Bangla 2nd paper"; $subjectname[] = "English 1st paper"; $subjectname[] = "English 2nd paper"; $subjectname[] = "General Math"; $subjectname[] = "Religious Studies"; $subjectname[] = "General Science"; $subjectname[] = "Geography"; $subjectname[] = "History";