[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/phpgwapi/inc/fpdf/doc/ -> footer.htm (source)

   1  <HTML>
   2  <HEAD>
   3  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
   4  <TITLE>Footer</TITLE>
   5  <LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
   6  </HEAD>
   7  <BODY>
   8  <H2>Footer</H2>
   9  <TT>Footer()</TT>
  10  <H4 CLASS='st'>Version</H4>
  11  1.0
  12  <H4 CLASS='st'>Description</H4>
  13  This method is used to render the page footer. It is automatically called by AddPage() and
  14  Close() and should not be called directly by the application. The implementation in FPDF is
  15  empty, so you have to subclass it and override the method if you want a specific processing.
  16  <H4 CLASS='st'>Example</H4>
  17  <TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
  18  <TT>
  19  class PDF extends FPDF<BR>
  20  {<BR>
  21  function Footer()<BR>
  22  {<BR>
  23  &nbsp;&nbsp;&nbsp;&nbsp;//Go to 1.5 cm from bottom<BR>
  24  &nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;SetY(-15);<BR>
  25  &nbsp;&nbsp;&nbsp;&nbsp;//Select Arial italic 8<BR>
  26  &nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;SetFont('Arial','I',8);<BR>
  27  &nbsp;&nbsp;&nbsp;&nbsp;//Print centered page number<BR>
  28  &nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;Cell(0,10,'Page '.$this-&gt;PageNo(),0,0,'C');<BR>
  29  }<BR>
  30  }
  31  </TT>
  32  </TD></TR></TABLE><BR>
  33  <H4 CLASS='st'>See also</H4>
  34  <A HREF="header.htm">Header()</A>.
  35  <H6></H6>
  36  <HR>
  37  <DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
  38  </BODY>
  39  </HTML>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7