Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dumping PDF document ( *.pdf) to Text?

I got some great help on here (section of code) for dumping a word doc to text. Now, i am looking for help in dumping a PDF Document ( *.pdf) to Text? I am using Delphi 2010. I would prefer a non-component, non-Active-X, solution....as this code will be incorporated into my own component.

Thanks

like image 427
IElite Avatar asked Nov 27 '10 13:11

IElite


2 Answers

You've got two free options, as far as I can tell.

First, there is a command line tool in the xpf package freely available from http://www.foolabs.com/xpdf

Then, another command line tool in the http://mupdf.com project

Both can be called easily from Delphi. I used the pdftotext.exe file from xpdf without any problem.

like image 132
Arnaud Bouchez Avatar answered Sep 30 '22 19:09

Arnaud Bouchez


PDFtext can do it. You'll have to pay $57 and deploy additional dll, though.

like image 34
gabr Avatar answered Sep 30 '22 17:09

gabr