Link to home
Start Free TrialLog in
Avatar of Looking_4_Answers
Looking_4_Answers

asked on

Dump PDF to Text ?

Im looking for a free or opensource component to Dump PDF to Text ?

Please do not post unless you have a free or opensource method of accomplishing this.

THanks
Avatar of Looking_4_Answers
Looking_4_Answers

ASKER

Sorry, Delphi 2010
Actually, i would be more interested in plain ole code versus a component
Avatar of aikimark
@Looking

What criteria do you have for the resulting text file?

How was the PDF created?  -- The possible solutions differ.
http://www.swissdelphicenter.ch/en/showcode.php?id=2169

Here's the German->English translation, via Google Translate, of the comments:

So now I've finally found a solution how to
 the entire text from a PDF file (also possible with multiple pages)
 can read.
 I have been in the same time vorherein for my dirty
 Programming apologize, but I hope you can still what
 to start! The form includes a TMemo, 5 TLabel, TButton 1
 and an open dialogue

 oh yes, you have to insert before or a type library
 opens to the type library import dialog (project
 ) And find the folder when adding Selects Adobe Acrobat.
 There you should find a file named Acrobat.tbl, if not then
 Just look for times.
 Now for the install and then applying unit ready.
 have fun

I, personally, have not tried this.
@aikimark:

No Criteria, just dump the entire pdf to text

@EddieShipman:

Thanks, i will give that a try
@Looking

If the PDF only has an image layer, then there is an extra step required to recognize the characters/words in the image and add a text layer to the PDF.  People make this mistake when they convert TIFF images to PDFs and then wonder why they don't find anything when they do an Adobe search for words.

Did you look at the PDFText utility?
http://www.glyphandcog.com/textext.html
@aikimark:

Yes i looked at it. It is not free.....at least the portion (commandline utility) that would be useful to me
For some reason, I'm only seeing XPDFText at that site.  I'll look for the free PDFText utility.
Thanks....and right now., i am looking at these two free options:

http://www.foolabs.com/xpdf

http://mupdf.com 
I'm pretty sure that I got my utility from foolabs.  The README documentation states that it is opensource.
http://www.foolabs.com/xpdf/download.html
so , which file do i download for windows XP, delphi 2010?

Also, can yiu tell me which file to call and how to pass the params?
ASKER CERTIFIED SOLUTION
Avatar of aikimark
aikimark
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial