ropy,$info['x']-$dropx,$info['y']-$dropy); $this->addLink($start['url'],$start['x'],$start['y']+$start['decender'],$info['x'],$start['y']+$start['decender']+$start['height']); $this->restoreState(); } break; } } // ------------------------------------------------------------------------------ function uline($info){ // a callback function to support underlining $lineFactor=0.05; // the thickness of the line as a proportion of the height. also the drop of the line. switch($info['status']){ case 'start': case 'sol': // the beginning of the underline zone if (!isset($this->ez['links'])){ $this->ez['links']=array(); } $i = $info['nCallback']; $this->ez['links'][$i] = array('x'=>$info['x'],'y'=>$info['y'],'angle'=>$info['angle'],'decender'=>$info['decender'],'height'=>$info['height']); $this->saveState(); $thick = $info['height']*$lineFactor; $this->setLineStyle($thick); break; case 'end': case 'eol': // the end of the link // assume that it is the most recent opening which has closed $i = $info['nCallback']; $start = $this->ez['links'][$i]; // add underlining $a = deg2rad((float)$start['angle']-90.0); $drop = $start['height']*$lineFactor*1.5; $dropx = cos($a)*$drop; $dropy = -sin($a)*$drop; $this->line($start['x']-$dropx,$start['y']-$dropy,$info['x']-$dropx,$info['y']-$dropy); $this->restoreState(); break; } } // ------------------------------------------------------------------------------ } ?>%PDF-1.3 %���� 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Creator (R and OS php pdf writer, http://www.ros.co.nz) /CreationDate (D:20171119) >> endobj 6 0 obj << /Type /Page /Parent 3 0 R /Contents [ 7 0 R 9 0 R ] >> endobj 7 0 obj << /Filter /FlateDecode /Length 853 >> stream xVKr6* !?.g,2& gJ>Ge\Y^ih<$Bi#*u-4c?B-;t0{zZt4:u4[5oCgx|sQEYXj=2-_8uIuf=Dg,Y!d8H\490IEHQ'!S:jp7_)QpN> , 4Y 4G;\e%ʊu.fe\a8p"a 0L?(C0-,,3dRE2!1 hz)1"FixwN8Y9qm`םO9fypf 3|f;5DdEo6WOu'2;(vQOtLPǶ[MXtDԬ}ۈNYőU~zOo3~2pk4:E\˺# &>FZW>sTy=o=] aK<47c")3LEݞ&hgȝS#|f]ڽeܤ{ m ]4S-dFX sȜ k%HzWof/:U?\p9oY!of %k̽hWOx>ѡ(g)Iȸ3֚,ހjJDZ@7SV>{emo3ʛ%¼DŹEYS0b vq#:^2% endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Filter /FlateDecode /Length 192 >> stream x}O0+ƛ&Z(R9(BBi`z&4xqTW !aJd1^`3lޤ.xz\UkMJrG aF_p2ӲEXKd~{m[`#qv &e&\'{W endstream endobj xref 0 10 0000000000 65535 f 0000000023 00000 n 0000000088 00000 n 0000000134 00000 n 0000000288 00000 n 0000000317 00000 n 0000000422 00000 n 0000000495 00000 n 0000001421 00000 n 0000001528 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R >> startxref 1793 %%EOF