Frederick Hirsch > FormatNroff-0.11 > HTML::FormatTableRowNroff

Download:
FormatNroff-0.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

HTML::FormatTableRowNroff - Format HTML Table row for nroff

SYNOPSIS ^

 require HTML::FormatTableRowNroff;
 $row = new HTML::FormatTableRowNroff(%attr);

DESCRIPTION ^

The HTML::FormatTableRowNroff 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 ^

HTML::FormatTable, HTML::FormatTableNroff HTML::FormatTableRow HTML::FormatTableCell HTML::FormatTableCellNroff

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>

syntax highlighting: