Aaron Mitti > PDF-Report-Table-1.01 > PDF::Report::Table

Download:
PDF-Report-Table-1.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.01   Source  

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, <mitti@cpan.org>

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.

syntax highlighting: