Class Xml2PdfTag_td

Description

<td> tag.

  1. <table lineheight="5" left="30" top="30">
  2.     <tt textalign="center" border="0" fontstyle="bu">Table title extends tt iuh h iug jg dyb  gyg bgyug yug ygyug y yu gyu gygy yufgytf gyu yg yg uy gyu gyu gyugyu gyu g k ho un gy b hn f b g jbgtfytf bfgytvbfuf tv</tt>
  3.     <th fill="1" fillcolor="#e3e3e3">
  4.         <td width="50%">first colmn header</td>
  5.         <td>second colmn header</td>
  6.         <td width="20">third colmn header</td>
  7.     </th>
  8.     <tr>
  9.         <td>first column</td>
  10.         <td>second column</td>
  11.         <td>third column</td>
  12.     </tr>
  13.     <tr>
  14.         <td>first column line 2</td>
  15.         <td textalign="J" font="helvetica" fill="1" fillcolor="#c4e9f8" fontstyle="b">second column line 2 zevhuzhv  vy syvs sivs y ycg sgc uisg cu  cg iucghui cyug  igu g</td>
  16.         <td textalign="C">third column line 2</td>
  17.     </tr>
  18. </table>

Located in /plugins/tags/xml2pdf.tag.td.php (line 38)

Xml2PdfTag
   |
   --Xml2PdfTag_td
Variable Summary
 boolean $border
 string $borderColor
 boolean $fill
 string $fillColor
 string $font
 string $fontColor
 integer $fontSize
 string $fontStyle
 float $height
 float $lineHeight
 string $textAlign
 float $width
Method Summary
 void __construct (object $pdf,  &$attrs, object $parent, array $attrs)
 void close ()
 void render ()
Variables
boolean $border = null (line 87)

show border

  • access: public
string $borderColor = null (line 93)

border color

  • access: public
boolean $fill = null (line 75)

fill the background

  • access: public
string $fillColor = null (line 81)

fill color

  • access: public
string $font = null (line 51)

font

  • access: public
string $fontColor = null (line 69)

font color

  • access: public
integer $fontSize = null (line 57)

font size

  • access: public
string $fontStyle = null (line 63)

font style

  • access: public
float $height = 0 (line 117)

height

  • access: public
float $lineHeight = null (line 111)

line height

  • access: public
Xml2PdfTag_tr $row (line 45)

parent tag

  • var: object
  • access: public
string $textAlign = null (line 99)

text alignment

  • access: public
float $width = null (line 105)

width

  • access: public

Inherited Variables

Inherited from Xml2PdfTag

Xml2PdfTag::$content
Xml2PdfTag::$pdf
Methods
Constructor __construct (line 132)

Constructor.

Parse the tag properties

  • access: public
void __construct (object $pdf,  &$attrs, object $parent, array $attrs)
  • object $pdf: Pdf object
  • array $attrs: tag properties
  • object $parent: Xml2PdfTag_tr object
  • &$attrs

Redefinition of:
Xml2PdfTag::__construct()
Constructor.
calculLinesNumber (line 205)

Calcul the number of text line of the cell using the content and the render params.

  • access: public
float calculLinesNumber ()
close (line 192)

Add the cell to the row.

  • access: public
void close ()

Redefinition of:
Xml2PdfTag::close()
Close tag.
render (line 274)

render the cell.

  • access: public
void render ()

Inherited Methods

Inherited From Xml2PdfTag

 Xml2PdfTag::__construct()
 Xml2PdfTag::addContent()
 Xml2PdfTag::close()

Documentation generated on Wed, 11 Oct 2006 22:27:30 +0200 by phpDocumentor 1.3.0