Class Xml2PdfTag_tr

Description

<tr> tag.

    Located in /plugins/tags/xml2pdf.tag.tr.php (line 34)

    Xml2PdfTag
       |
       --Xml2PdfTag_tr
    Direct descendents
    Class Description
     class Xml2PdfTag_th <th> tag.
     class Xml2PdfTag_tt <tt> tag.
    Variable Summary
     boolean $border
     string $borderColor
     array $columns
     boolean $fill
     string $fillColor
     string $font
     string $fontColor
     integer $fontSize
     string $fontStyle
     float $height
     float $lineHeight
     integer $linesNumber
     string $textAlign
    Method Summary
     void __construct (object $pdf,  &$attrs, object $parent, array $attrs)
     void close ()
     void render ()
     void _renderColumn ( $column)
    Variables
    boolean $border = null (line 89)

    show the borders.

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

    border color.

    • access: public
    array $columns (line 47)

    line cells.

    • var: object Xml2PdfTag_td
    • access: public
    array $columnsWidth = false (line 119)

    columns width.

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

    fill the background.

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

    fill color.

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

    font.

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

    font color.

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

    font size.

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

    font style.

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

    table line height.

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

    text line height.

    • access: public
    integer $linesNumber = 0 (line 125)

    number of line.

    • access: public
    object Xml2PdfTag_table $table (line 41)

    table.

    • access: public
    string $textAlign = null (line 101)

    text alignment.

    • access: public

    Inherited Variables

    Inherited from Xml2PdfTag

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

    Constructor.

    Parse the properties.

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

    Redefinition of:
    Xml2PdfTag::__construct()
    Constructor.

    Redefined in descendants as:
    close (line 201)

    Add the line to the table.

    • access: public
    void close ()

    Redefinition of:
    Xml2PdfTag::close()
    Close tag.

    Redefined in descendants as:
    render (line 213)

    Render the line.

    • access: public
    void render ()

    Redefined in descendants as:
    _calculColumnsWidth (line 300)

    Calcul the row cells width.

    • access: private
    void _calculColumnsWidth ()
    _calculRowHeight (line 284)

    Calcul the row height.

    Calcul the row height using the number of text line of the cells, the text height line, the font and the font size.

    • access: private
    void _calculRowHeight ()
    _renderColumn (line 268)

    Render a row cell

    • access: private
    void _renderColumn ( $column)
    • $column

    Inherited Methods

    Inherited From Xml2PdfTag

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

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