internal package
Foswiki::Tables::Cell internal package
Foswiki::Tables::Cell Abstract model of a table cell, suitable for use with the tables parser.
ClassMethod
new($row, $precruft, $text, $postcruft, $isHeader) → $cell $row
- the row the cell belongs to (Foswiki::Tables::Row or subclass)
$precruft
- whatever precedes the text inside the cell (spaces)
$text
- the text stored in the cell
$postcruft
- whatever follows the text inside the cell (spaces)
$isHeader
- true if this is a header cell (content delimited by **)
$postcruft
and $precruft
should not include the * indicating
a header.
ObjectMethod
number([$set]) → $number Setter/getter for the cell number. The number uniquely identifies the cell within the context of a row. The cell number is undef until it is set by some external agency (e.g. the row)
ObjectMethod
finish() ObjectMethod
stringify() ObjectMethod
getID() → $id