PDF Reader Library for C++

Started by
3 comments, last by Codorke 18 years, 8 months ago
I want to open a pdf document form my C++ application and read the text out of the pdf doc. I've 'googled' for some pdf libraries but didn't found some usefull and easy libs. Does anyone has some suggestions ? Thanks
Advertisement
Well, apparently Adobe has an SDK, but I'm not sure that is exactly what you're looking for. It seems like it would require having acrobat installed on the computer and you just acess the program through a plug-in in your program.

http://partners.adobe.com/public/developer/acrobat/sdk/index.html

C++: A Dialog | C++0x Features: Part1 (lambdas, auto, static_assert) , Part 2 (rvalue references) , Part 3 (decltype) | Write Games | Fix Your Timestep!

indeed, i need something (a library) to be able to read a pdf like i can read a txt file or a xml file.

Thanks for your reply.
This looks like a good list of links:

http://www.foolabs.com/xpdf/links.html

Specifially these two:

http://www.pdflib.com/
http://www.fastio.com/

And the following link has sources for an actual pdf reader that may hopefully help you a little:

http://www.foolabs.com/xpdf/download.html

Sorry the links aren't clickified.

EDIT: And perhaps a better reference than the one I gave earlier from Adobe. "The PDF Reference provides a description of the Portable Document Format and is intended for application developers wishing to develop applications that create PDF files directly, as well as read or modify PDF document content."

http://partners.adobe.com/public/developer/pdf/index_reference.html

I think if you want something easier then you may unfortunately be out of luck.

C++: A Dialog | C++0x Features: Part1 (lambdas, auto, static_assert) , Part 2 (rvalue references) , Part 3 (decltype) | Write Games | Fix Your Timestep!

I tested out the pdflib library but i can only open a pdf document of max 10 pages an up to 1 MB with the evaluation library. I'm looking for some library free of charge and full featured.
This library is indeed that where i'm searching for but it's to limited.

The fastio is only creating and editing pdf documents and its not for reading them. I also went to the official adobe site for more information but it seems they only sale there devlopment libraries SDK's.

Does anyone knows other good free usable PDF (reader) Libraries i could use ?

Thanks a lot.

Edited : SDK's or COM's are helpfull as well !

[Edited by - Codorke on August 23, 2005 9:06:42 AM]

This topic is closed to new replies.

Advertisement