Go to the source code of this file.
Data Structures | |
class | Creport |
Functions | |
ros_logo (&$pdf, $x, $y, $height, $wl=0, $wr=0) | |
Variables | |
$pdf = new Creport('a4','portrait') | |
$all = $pdf->openObject() | |
$mainFont = './fonts/Times-Roman.afm' | |
$codeFont = './fonts/Courier.afm' | |
$data = file('./data.txt') | |
$faqFile = '../ros/pdf/faqs.inc' | |
$r = array("\n","\n\n","\n#C","\n#c","",""," - ") | |
$bits = explode("\n",$tmp) | |
$size = 12 | |
$height = $pdf->getFontHeight($size) | |
$textOptions = array('justification'=>'full') | |
$collecting = 0 | |
$code = '' | |
break | |
case | __pad0__ |
case | __pad1__ |
case | __pad2__ |
case | __pad3__ |
$tmp2 = $tmp.'<C:rf:1'.rawurlencode($tmp).'>' | |
default | __pad4__ |
$ok = 0 | |
$xpos = 520 | |
$contents = $pdf->reportContents | |
case | __pad5__ |
$pdfcode = str_replace("\n","\n<br>",htmlspecialchars($pdfcode)) |
|
Definition at line 112 of file readme.php. References $h, $height, and $pdf. 00112 { 00113 $pdf->saveState(); 00114 $h=100; 00115 $factor = $height/$h; 00116 $pdf->selectFont('./fonts/Helvetica-Bold.afm'); 00117 $text = 'R&OS'; 00118 $ts=100*$factor; 00119 $th = $pdf->getFontHeight($ts); 00120 $td = $pdf->getFontDecender($ts); 00121 $tw = $pdf->getTextWidth($ts,$text); 00122 $pdf->setColor(0.6,0,0); 00123 $z = 0.86; 00124 $pdf->filledRectangle($x-$wl,$y-$z*$h*$factor,$tw*1.2+$wr+$wl,$h*$factor*$z); 00125 $pdf->setColor(1,1,1); 00126 $pdf->addText($x,$y-$th-$td,$ts,$text); 00127 $pdf->setColor(0.6,0,0); 00128 $pdf->addText($x,$y-$th-$td,$ts*0.1,'http://www.ros.co.nz'); 00129 $pdf->restoreState(); 00130 return $height; 00131 }
|
|
Definition at line 82 of file readme.php. |
|
Definition at line 174 of file readme.php. Referenced by Cpdf::openFont(). |
|
Definition at line 189 of file readme.php. |
|
Definition at line 98 of file readme.php. |
|
Definition at line 188 of file readme.php. |
|
Definition at line 273 of file readme.php. |
|
Definition at line 150 of file readme.php. Referenced by FormAchView(), FormVenteView(), Cpdf::openFont(), and Cpdf::selectFont(). |
|
Definition at line 154 of file readme.php. |
|
Definition at line 186 of file readme.php. Referenced by Cezpdf::ezTable(), Cezpdf::ezText(), and ros_logo(). |
|
Definition at line 97 of file readme.php. |
|
Definition at line 239 of file readme.php. Referenced by Cezpdf::ezPrvtTableColumnHeadings(), and Cezpdf::ezTable(). |
|
Definition at line 77 of file readme.php. Referenced by ros_logo(). |
|
Definition at line 289 of file readme.php. |
|
Definition at line 164 of file readme.php. |
|
Definition at line 185 of file readme.php. Referenced by Cezpdf::Cezpdf(), Creport::dots(), Cezpdf::ezText(), Cpdf::getFontDecender(), and Cpdf::getFontHeight(). |
|
Definition at line 187 of file readme.php. |
|
Definition at line 231 of file readme.php. |
|
Definition at line 272 of file readme.php. Referenced by Creport::dots(). |
|
Definition at line 202 of file readme.php. |
|
Definition at line 207 of file readme.php. |
|
Definition at line 212 of file readme.php. |
|
Definition at line 215 of file readme.php. |
|
Definition at line 235 of file readme.php. |
|
Definition at line 281 of file readme.php. |
|
Definition at line 200 of file readme.php. |