// custom footer avoids linerule global $contact_sheet_custom_footerhtml, $pageheight, $pagewidth, $refnumberfontsize; if ($contact_sheet_custom_footerhtml != '') { $this->Line(0.5, $pageheight * 0.9399999999999999, $pagewidth - 0.5, $pageheight * 0.9399999999999999); $this->SetFontSize($refnumberfontsize); $this->writeHTMLCell('', $pageheight * 0.04, 0.5, $pageheight * 0.95, $contact_sheet_custom_footerhtml, 0, 0, 0, true, 'c', true); } } } class rsPDF extends MYPDF { var $_tplIdx; } $pdf = new rsPDF($orientation, 'in', $size, true, 'UTF-8', false); $pdf->SetTitle(i18n_get_collection_name($collectiondata) . ' - ' . nicedate($date, true, true)); $pdf->SetAuthor($user['fullname']); $pdf->SetSubject($applicationname . " - " . $lang["contactsheet"]); $pdf->SetMargins(1, 1.2, 0.7); $pdf->SetAutoPageBreak(false); $pdf->SetCellPadding(0); $pdf->AddPage(); $pdf->SetFont($contact_sheet_font, '', '', '', $subsetting); //$pdf->ln();$pdf->ln(); $pdf->SetFontSize($refnumberfontsize); if ($contactsheet_header == "true") { $pdf->SetX(1); $pdf->SetY(1.2 + $logospace); } else { $pdf->SetX(1); $pdf->SetY(0.8 + $logospace); }
// custom footer avoids linerule global $contact_sheet_custom_footerhtml, $pageheight, $pagewidth, $refnumberfontsize; if ($contact_sheet_custom_footerhtml != '') { $this->Line(0.5, $pageheight * 0.9399999999999999, $pagewidth - 0.5, $pageheight * 0.9399999999999999); $this->SetFontSize($refnumberfontsize); $this->writeHTMLCell('', $pageheight * 0.04, 0.5, $pageheight * 0.95, $contact_sheet_custom_footerhtml, 0, 0, 0, true, 'c', true); } } } class rsPDF extends MYPDF { var $_tplIdx; } $pdf = new rsPDF($orientation, 'in', $size, true, 'UTF-8', false); $pdf->SetTitle(i18n_get_collection_name($collectiondata) . ' - ' . nicedate($date, true, true)); $pdf->SetAuthor($user['fullname'] . ' ' . $user['email']); $pdf->SetSubject($applicationname . " - " . $lang["contactsheet"]); $pdf->SetMargins(1, 1.2, 0.7); $pdf->SetAutoPageBreak(false); $pdf->SetCellPadding(0); $pdf->AddPage(); $pdf->SetFont($contact_sheet_font, '', '', '', $subsetting); //$pdf->ln();$pdf->ln(); $pdf->SetFontSize($refnumberfontsize); if ($contactsheet_header == "true") { $pdf->SetX(1); $pdf->SetY(1.2 + $logospace); } else { $pdf->SetX(1); $pdf->SetY(0.8 + $logospace); }