PostScript::Simple::Table

Adds easy table creation to PostScript::Simple
Download

PostScript::Simple::Table Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Aaron Mitti
  • Publisher web site:
  • http://search.cpan.org/~mitti/

PostScript::Simple::Table Tags


PostScript::Simple::Table Description

Adds easy table creation to PostScript::Simple PostScript::Simple::Table is a Perl module for use with the PostScript::Simple module from CPAN. It can be used to display text data in a table layout within a PostScript document. The text data must be in a 2d array (such as returned by a DBI statement handle fetchall_arrayref() call). The PDF::Table will automatically add as many new pages as necessary to display all of the data. Various layout properties, such as font, font size, and cell padding and background color can be specified for each column and/or for even/odd rows. See the METHODS section.SYNOPSIS use PostScript::Simple; use PostScript::Simple::Table; $ps = new PostScript::Simple( papersize => "letter", colour => 1, eps => 0, ); $ps->newpage; # some data to layout my $some_data =, , ... and so on ]; my $pstable = new PostScript::Simple::Table; # build the table layout $pstable->table( # required params $ps, $some_data, -x => $left_edge_of_table, -start_y => 500, -next_y => 700, -start_h => 300, -next_h => 500, # some optional params -w => 570, -padding => 5, -padding_right => 10, -background_color_odd => "gray", -background_color_even => "#FFFFCC", #cell background color for even rows ); Requirements: · Perl


PostScript::Simple::Table Related Software