NAME

HTML::FormatNroff::Table::CellNroff - Format HTML Table entry

SYNOPSIS

require HTML::FormatNroff::Table::CellNroff;
$cell = new HTML::FormatNroff::Table::CellNroff(%attr);

DESCRIPTION

The HTML::FormatNroff::Table::CellNroff is used to record information about a table entry and produce format information about the entry. It is used by FormatTableNroff to process HTML tables.

METHODS

$nroff_cell->format_str($width);

Produce a tbl format specification for the current cell, consisting of an alignment character, width (in inches), and any subsequent colspan specifications. An example is "cw(2i)".

$nroff_cell->output($formatter);

Output a table cell entry using the formatter defined by $formatter.

The nroff
T{
.ad 1
.fi
 contents
.nf
}T

construct is used to format text inside a cell. Bold is used for a table header.

SEE ALSO

HTML::FormatNroff,

COPYRIGHT

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.

AUTHOR

Frederick Hirsch <f.hirsch@opengroup.org>