DESCRIPTION

The main purpose of the PDF library is to provide classes and functions that allow to read and manipulate PDF files with perl. PDF stands for Portable Document Format and is a format proposed by Adobe. A full description of this format can be found in the Portable Document Reference Manual by Adobe Systems Inc.. For more details about PDF, refer to:

http://www.adobe.com/

The main idea is to provide some "basic" modules for access the information contained in a PDF file. Even if at this moment is in an early development stage, the scripts in the example directory show that it is usable.

is_pdf script test a list of files in order divide the PDF file from the non PDF using the info provided by the files themselves. It doesn't use the .pdf extension, it uses the information contained in the file.

pdf_version returns the PDF level used for writing a file.

pdf_pages gives the number of pages of a PDF file.

pagedump.pl prints some information about individual pages in a PDF-file. Although the information as such are not very useful, it demontrates well some more complex aspects of the library. Check the function doprint in this program on how to handle all possible data occuring in a PDF.

The library is now splitted in 2 section :

PDF::Core that contains the data structure, the constructor and low level access fuctions;

PDF::Parse all kind of functions to parse the PDF-files and provide information about the content.

Check the help-files of these modules for more details.

Variables

There are 2 variables that can be accessed:

$PDF::VERSION

Contain the version of the library installed.

$PDF::Verbose

This variable is false by default. Change the value if you want more verbose output messages from library.

Copyright

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Availability

The latest version of this library is likely to be available from:

http://www.geocities.com/CapeCanaveral/Hangar/4794/

and at any CPAN mirror

Greetings

Fabrizio Pivari ( pivari@geocities.com ) for all the suggestions about life, the universe and everything. Brad Appleton ( bradapp@enteract.com ) for his suggestions about the module organization. Thomas Drillich for the iso latin1 support Ross Moore ( ross@ics.mq.edu.au ) for ReadInfo fix

1 POD Error

The following errors were encountered while parsing the POD:

Around line 120:

=back doesn't take any parameters, but you said =back 4

Module Install Instructions

To install PDF, simply copy and paste either of the commands in to your terminal

As a valued partner and proud supporter of MetaCPAN, StickerYou is
happy to offer a 10% discount on all Custom Stickers,
Business Labels, Roll Labels,
Vinyl Lettering or Custom Decals. StickerYou.com
is your one-stop shop to make your business stick.
Use code METACPAN10 at checkout to apply your discount.