Forums » ruby » PDF Reader

PDF Reader
Posted by Chintakrindi Meghanath (Guest)
on 11.01.2006 16:40
Hi

Can we use "rpdf2txt"  for the PDF reading ?



Thanks

Meghanath

Management Dynamics, Inc.

ChintakrindiMeghana@ManagementDynamics.com

Phone: 240.453.6507

Cell: 240.372.6241

www.ManagementDynamics.com
Re: PDF Reader
Posted by Hannes Wyss (Guest)
on 11.01.2006 19:58
Meghanath

With a custom callback-handler, you can get the text out ouf your PDF
and into your application. That is as long as you need no fancy stuff
such as rotated text, images, colors, etc. - rpdf2txt is very
text-centered at the moment.

I've attached an example how this might be done. Caveat: you'll need the
newest version of rpdf2txt (v. 1.0.4) - I found a couple of issues while
writing this example..

Cheers
Hannes

On 1/11/06, Chintakrindi Meghanath