PDF::Report
NAME
PDF::Report::Table - Adds table support to PDF::Report
SYNOPSIS
use PDF::Report;
use PDF::Report::Table;
my $pdf = new PDF::Report(
'PageSize' => 'letter',
'PageOrientation' => 'Portrait',
);
my $table_writer = PDF::Report::Table->new($pdf);
my $some_data =[
["test1", "test2", "test3"],
["test4", "test5", "test6"],
["test7", "test8", "test9"],
];
$table_writer->addTable($some_data);
DESCRIPTION
Add tables to PDF::Report.
- $new($pdf);
-
my $pdf = new PDF::Report( 'PageSize' => 'letter', 'PageOrientation' => 'Portrait', ); my $table_writer = PDF::Report::Table->new($pdf);
- $table_writer->addTable(@data);
-
$table_writer->addTable( $some_data, # 2d array $width, # default is none $padding, # default is 5 $bgcolor_odd, # default is '#FFFFFF' $bgcolor_even, # default is '#FFFFCC' );
AUTHOR
Aaron Mitti, <amitti@>
COPYRIGHT AND LICENSE
Copyright (C) 2005 by Aaron Mitti
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 44:
'=item' outside of any '=over'
- Around line 108:
You forgot a '=back' before '=head1'