Disclaimer: I don't know the answer However, I would like to add a word of caution. PDF's can store information as images as well, so if you are trying to parse a PDF of images of text, it will be very difficult and quite a different problem than parsing. Enjoy.