Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

readme.php File Reference

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))


Function Documentation

ros_logo &$  pdf,
x,
y,
height,
wl = 0,
wr = 0
 

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 }


Variable Documentation

$all = $pdf->openObject()
 

Definition at line 82 of file readme.php.

$bits = explode("\n",$tmp)
 

Definition at line 174 of file readme.php.

Referenced by Cpdf::openFont().

$code = ''
 

Definition at line 189 of file readme.php.

$codeFont = './fonts/Courier.afm'
 

Definition at line 98 of file readme.php.

$collecting = 0
 

Definition at line 188 of file readme.php.

$contents = $pdf->reportContents
 

Definition at line 273 of file readme.php.

$data = file('./data.txt')
 

Definition at line 150 of file readme.php.

Referenced by FormAchView(), FormVenteView(), Cpdf::openFont(), and Cpdf::selectFont().

$faqFile = '../ros/pdf/faqs.inc'
 

Definition at line 154 of file readme.php.

$height = $pdf->getFontHeight($size)
 

Definition at line 186 of file readme.php.

Referenced by Cezpdf::ezTable(), Cezpdf::ezText(), and ros_logo().

$mainFont = './fonts/Times-Roman.afm'
 

Definition at line 97 of file readme.php.

$ok = 0
 

Definition at line 239 of file readme.php.

Referenced by Cezpdf::ezPrvtTableColumnHeadings(), and Cezpdf::ezTable().

$pdf = new Creport('a4','portrait')
 

Definition at line 77 of file readme.php.

Referenced by ros_logo().

$pdfcode = str_replace("\n","\n<br>",htmlspecialchars($pdfcode))
 

Definition at line 289 of file readme.php.

$r = array("\n","\n\n","\n#C","\n#c","",""," - ")
 

Definition at line 164 of file readme.php.

$size = 12
 

Definition at line 185 of file readme.php.

Referenced by Cezpdf::Cezpdf(), Creport::dots(), Cezpdf::ezText(), Cpdf::getFontDecender(), and Cpdf::getFontHeight().

$textOptions = array('justification'=>'full')
 

Definition at line 187 of file readme.php.

$tmp2 = $tmp.'<C:rf:1'.rawurlencode($tmp).'>'
 

Definition at line 231 of file readme.php.

$xpos = 520
 

Definition at line 272 of file readme.php.

Referenced by Creport::dots().

case __pad0__
 

Definition at line 202 of file readme.php.

case __pad1__
 

Definition at line 207 of file readme.php.

case __pad2__
 

Definition at line 212 of file readme.php.

case __pad3__
 

Definition at line 215 of file readme.php.

default __pad4__
 

Definition at line 235 of file readme.php.

case __pad5__
 

Definition at line 281 of file readme.php.

break
 

Definition at line 200 of file readme.php.