Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Read PDF files & do regex through Perl.

by beebware (Pilgrim)
on Feb 11, 2002 at 23:48 UTC ( [id://144735]=note: print w/replies, xml ) Need Help??


in reply to Read PDF files & do regex through Perl.

You may find the Adobe official PDF Reference books handy - they are available for free download (weighing in a 9Mb) from Adobe's website. Sanface have an early development version of a PDF-lib pdf comment extractor which may help guide you in the right direction.

You may also find it useful to see how the code in the programs/scripts referenced from this article work, and see if you can 'tweak' it to extract the data instead of placing it in.

I personally have had experience of a commercial ($40k) package which converted the PDF to raw XML data, but IIRC - even that didn't cope with the annotations in the file. I think the aforementioned PDF specification is your best bet.

  • Comment on Re: Read PDF files & do regex through Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://144735]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-20 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found