The PoDoFo library is a free, portable C++ library. It can parse and modify existing PDF files and create new ones from scratch. It also includes several tools to work with PDF files.
It features an unique approach which provides access to PDF documents via an object tree. Therefore, PDFs can be created and or manipulated using a simple tree structure.
Development of PoDoFo has been moved to GitHub: https://github.com/podofo/podofo
Please raise new issues in the GitHub project.
...I wrote it over three years ago, and wrote it in quite a hurry when I did. If you compare this stuff with my GPE code, its like night and day.
Well, hopefully somebody learning to work with OGRE or to program in C++, might find it useful