HTML::FormatNroff::Table::Cell - Format HTML Table
use HTML::FormatNroff::Table::Cell; use parent 'HTML::FormatNroff::Table::Cell';
The HTML::FormatNroff::Table::Cell is a base class used to record information about a table entry as part of FormatTable processing. It is necessary to record information for formatting into languages such as nroff tbl which require formatting information ahead of the table data.
my $cell = HTML::FormatNroff::Table::Cell->new(%attr);
Since this is a base class, a derived class constructor such as HTML::FormatNroff::Table::CellNroff should be called.
The following attributes are supported:
is a header (default is '')
do not wrap if defined
number of rows cell spans (default is 1)
number of columns cell spans (default is 1)
alignment of cell contents (default is 'left')
vertical alignment of cell (default is 'middle')
contents of cell (default is '')
Add additional contents to cell.
Return cell alignment.
Return cell colspan.
Return cell text.
Return cell width in characters.
HTML::FormatNroff,
Copyright (c) 1997 Frederick Hirsch. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Frederick Hirsch <f.hirsch@opengroup.org>
To install HTML::FormatNroff, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::FormatNroff
CPAN shell
perl -MCPAN -e shell install HTML::FormatNroff
For more information on module installation, please visit the detailed CPAN module installation guide.