MAN page from Mandrake Other perl-FormatNroff-0.11-1.i386.rpm
FormatTable
Section: User Contributed Perl Documentation (3)
Updated: perl 5.004, patch 04
Index NAME
HTML::FormatTable - base class for formatting HTML Tables
SYNOPSIS
require HTML::FormatTable; @ISA = qw(HTML::FormatTable);
DESCRIPTION
The HTML::FormatTable is a base class for formatting HTML tables.It is used by a class such as HTML::FormatTableNroff, which is called bythe formatter HTML::FormatNroff when tables are processed.
METHODS
$table = new HTML::FormatTable($formatter, %attr);
Create new table representation. Formatter is used to outputtable (e.g. $formatter is HTML::FormatNroff)
Attributes include
align: table alignment (default is 'left'), tab: the character used in tbl to separate table cells. (the default is '%', and should be a character not included in table text) page_width: the page width in inches (e.g. "6") width: width of table, string including the percent (eg "100%")
$table->end_row();
End the current table row.
$table->start_data(%attr);
Start new table cell.
$table->end_data();
End table cell.
$table->add_text($text);
Add text to table
$table->output();
Output the table - must be overridden by subclass.
SEE ALSO
the
HTML::Formatter manpage,the
HTML::FormatTableCell manpage,the
HTML::FormatTableCellNroff manpage,the
HTML::FormatTableNroff manpage,the
HTML::FormatTableRow manpage,the
HTML::FormatTableRowNroff manpage
COPYRIGHT
Copyright (c) 1997 Frederick Hirsch. All rights reserved.
This library is free software; you can redistribute it and/ormodify it under the same terms as Perl itself.
AUTHOR
Frederick Hirsch <f.hirschAATTopengroup.org>
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
- SEE ALSO
- COPYRIGHT
- AUTHOR
This document was created byman2html,using the manual pages.