PDF::Extract

PDF::Extract allows extracting sub PDF documents from a multi page PDF document.
Download

PDF::Extract Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Noel Sharrock
  • Publisher web site:
  • http://search.cpan.org/~nsharrock/PDF-Extract-3.01/Extract.pm

PDF::Extract Tags


PDF::Extract Description

PDF::Extract allows extracting sub PDF documents from a multi page PDF document. PDF::Extract allows extracting sub PDF documents from a multi page PDF document.SYNOPSIS use PDF::Extract; $pdf=new PDF::Extract; $pdf->servePDFExtract( PDFDoc=>"c:/Docs/my.pdf", PDFPages=>"1-3 31-36" );or use PDF::Extract; $pdf = new PDF::Extract( PDFDoc=>'C:/my.pdf' ); $pdf->getPDFExtract( PDFPages=>$PDFPages ); print "Content-Type text/plainnn", $pdf->getVars("PDFExtract"); print $pdf->getVars("PDFError"); or # Extract and save, in the current directory, all the pages in a pdf document use PDF::Extract; $pdf=new PDF::Extract( PDFDoc=>"test.pdf"); $i=1; $i++ while ( $pdf->savePDFExtract( PDFPages=>$i ) );PDF Extract is a group of methods that allow the user to quickly grab pages as a new PDF document from a pre-existing PDF document.With PDF::Extract a new PDF document can be:-assigned to a scalar variable with getPDFExtract.saved to disk with savePDFExtract.printed to STDOUT as a PDF web document with servePDFExtract.cached and served for a faster PDF web document service with fastServePDFExtract.These four main methods can be called with or without arguments. The methods will not work unless they know the location of the original PDF document and the pages to extract. There are no default values.There are four other methods that deal with setting and getting the public variables.getPDFExtractVariables can return an array of variables.getVars is an alias of getPDFExtractVariablessetPDFExtractVariables can set the public variables.setVars is an alias of setPDFExtractVariablesRequirements:· Perl Requirements: · Perl


PDF::Extract Related Software