NAME
HTML::FormatNroff::Table::RowNroff - Format HTML Table row for nroff
SYNOPSIS
require HTML::FormatNroff::Table::RowNroff;
$row = new HTML::FormatNroff::Table::RowNroff(%attr);
DESCRIPTION
The HTML::FormatNroff::Table::RowNroff class is used to store information about a single row of a table. Once information about all the rows of the table has been recorded, an nroff tbl table may be created.
The following attributes are supported:
align: 'left','center', or 'right' alignment of table row entries
valign: vertical alignment, 'top' or 'middle'
METHODS
$nroff_row->output_format($last_row, $formatter, @widths);
Create a tbl format line for the row. $last_row is true if this is the last row in the table.
$formatter is the formatter being used (e.g. HTML::FormatNroff
).
@widths is an array of width information for each cell in the current row, specified in inches.
$nroff_row->add_element(%attr);
Add a new cell to the current row. %attr are the cell attributes, as defined in HTML::FormatTableCellNroff
.
$nroff_row->end_element();
Finish the current cell.
SEE ALSO
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>