Linux SoftwareProgrammingLibrariesPDF::Table 0.91

PDF::Table 0.91


PDF::Table is a utility class for building table layouts in a PDF::API2 object. SYNOPSIS use PDF::API2; use PDF::Table;
Developer:   Daemmon Hughes
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


PDF::Table is a utility class for building table layouts in a PDF::API2 object.

SYNOPSIS

use PDF::API2;
use PDF::Table;

my $pdftable = new PDF::Table;
my $pdf = new PDF::API2(-file => "table_of_lorem.pdf");
my $page = $pdf->page;

# some data to layout
my $some_data =[
["1 Lorem ipsum dolor",
"Donec odio neque, faucibus vel",
"consequat quis, tincidunt vel, felis."],
["Nulla euismod sem eget neque.",
"Donec odio neque",
"Sed eu velit."],
... and so on
];

# build the table layout
$pdftable->table(
# required params
$pdf,
$page,
$some_data,
x => $left_edge_of_table,
w => 570,
start_y => 500,
next_y => 700,
start_h => 300,
next_h => 500,
# some optional params
padding => 5,
padding_right => 10,
background_color_odd => "gray",
background_color_even => "lightblue", #cell background color for even rows
);

# do other stuff with $pdf
...

This class is a utility for use with the PDF::API2 module from CPAN. It can be used to display text data in a table layout within the PDF. 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. Also a (non)repeated header row with different layout properties can be specified.
See the METHODS section for complete documentation of every parameter.

Requirements:
  • Perl
    tags pdf table  background color  pdf api2  some data  the pdf  layout properties  text data  table layout  for even  donec odio  use pdf  new pdf  pdf page  

    Download PDF::Table 0.91


     http://ftp.hostingromania.ro/Linux/mirrors/ftp.cpan.org/authors/id/O/OM/OMEGA/PDF-Table-0.91.tar.gz


    Authors software

    Similar software

    PDF::Table 0.91 (by Daemmon Hughes)
    PDF::Table is a utility class for building table layouts in a PDF::API2 object.

    SYNOPSIS

    use PDF::API2;
    use PDF::Table;

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    MathML::Entities 0.13 (by Jacques Distler)
    MathML::Entities is a Perl module that can convert XHTML+MathML Named Entities to Numeric Character References.

    SYNOPSIS

    use M

    PyHtmlTable 1.13 (by Joe Pasko)
    PyHtmlTable is a class for Python CGIs to generate HTML tables on the fly

    Gtk2::Ex::FormFactory::Table 0.65 (by Jorn Reder)
    SYNOPSIS

    Gtk2::Ex::FormFactory::Table->new (
    layout => "+-------%------+>>>>>>>>>>>>>>>+
    | Name |

    Basset::DB::Table 1.03 (by Jim Thomason)
    Basset::DB::Table is used to define database tables, ways to load that data into memory and build queries based upon the table inform

    DBIx::HTML::ClientDB 1.05 (by Ron Savage)
    DBIx::HTML::ClientDB is a Perl module to convert sql into a client-side db with keyed access.

    Synopsis

    use DBIx::HTML::

    HTML::QuickTable 1.12 (by Nathan Wiger)
    HTML::QuickTable is a Perl module to quickly create fairly complex HTML tables.

    SYNOPSIS

    use HTML::QuickTable;

    my $q

    PostgreSQL Table Log 0.4.3 (by Andreas Scherbaum)

    PDF::ReportWriter 1.3 (by Daniel Kasak)


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags