package CAM::PDF; use 5.006; use warnings; use strict; use Carp; use English qw(-no_match_vars); use CAM::PDF::Node; use CAM::PDF::Decrypt; our $VERSION = '1.06'; =for stopwords eval'ed CR-NL PDFLib defiltered prefill indices inline de-embedding =head1 NAME CAM::PDF - PDF manipulation library =head1 LICENSE Copyright 2006 Clotho Advanced Media, Inc., This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 SYNOPSIS use CAM::PDF; my $pdf = CAM::PDF->new('test1.pdf'); my $page1 = $pdf->getPageContent(1); [ ... mess with page ... ] $pdf->setPageContent(1, $page1); [ ... create some new content ... ] $pdf->appendPageContent(1, $newcontent); my $anotherpdf = CAM::PDF->new('test2.pdf'); $pdf->appendPDF($anotherpdf); my @prefs = $pdf->getPrefs(); $prefs[$CAM::PDF::PREF_OPASS] = 'mypassword'; $pdf->setPrefs(@prefs); $pdf->cleanoutput('out1.pdf'); print $pdf->toPDF(); Many example scripts are included in this distribution to do useful tasks. See the C