NAME

HTML::FormatNRoff::Table::Row - Format HTML Table row

SYNOPSIS

require HTML::FormatNRoff::Table::Row;
@ISA = qw(HTML::FormatNRoff::Table::Row);

DESCRIPTION

The HTML::FormatNRoff::Table::Row is used to record information and process a table row. This is a base class.

The following attributes are supported: align: 'left','center', or 'right' alignment of table row entries valign: vertical alignment, 'top' or 'middle'

METHODS

$table_row = new HTML::FormatNRoff::Table::Row(%attr);

The following attributes are supported: align: 'left','center', or 'right' alignment of table row entries valign: vertical alignment, 'top' or 'middle'

$table_row->add_element(%attr);

Add table element - should be subclassed.

$table_row->end_element();

End table element - should be subclassed.

$table_row->add_text($text);

Add text to cell.

$table_row->text();

Return text associated with current table cell.

$table_row->widths($final, $array_ref);

push the array of cell widths (in characters) onto the array specified using the array reference $array_ref.

$table_row->output($final, $formatter, $tab);

Output the row data using the $formatter to do the output, and separating each cell using the $tab character. $final is not used.

SEE ALSO

HTML::FormatNroff::Table

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>