NAME

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

SYNOPSIS

use HTML::FormatNRoff::Table::Row;
use parent '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.

METHODS

new

my $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'

add_element(%attr);

Add table element - should be subclassed.

end_element();

End table element - should be subclassed.

add_text($text);

Add text to cell.

text();

Return text associated with current table cell.

widths($final, $array_ref);

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

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>