Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-10 | Replace some assertions with std::logic_error | Jay Berkenbilt | |
Ideally, the library should never call assert outside of test code, but it does in several places. For some cases where the assertion might conceivably fail because of a problem with the input data, replace assertions with exceptions so that they can be trapped by the calling application. This commit surely misses some cases and replaced some cases unnecessarily, but it should still be an improvement. | |||
2013-06-14 | Use QPDFObjectHandle::getObjGen() where appropriate | Jay Berkenbilt | |
In internal code and examples, replace calls to getObjectID() and getGeneration() with calls to getObjGen() where possible. | |||
2013-06-14 | Promote QPDF::ObjGen to top-level object QPDFObjGen | Jay Berkenbilt | |
2013-03-04 | Remove all old-style casts from C++ code | Jay Berkenbilt | |
2012-07-29 | Fix spelling errors | Jay Berkenbilt | |
2012-07-11 | Support copying objects from another QPDF object | Jay Berkenbilt | |
This includes QPDF::copyForeignObject and supporting foreign objects as arguments to addPage*. | |||
2012-07-07 | Build this->all_pages while traversing with pushInheritedAttributesToPage | Tobias Hoffmann | |
2012-07-05 | Limited inheritance to the attributes explicitly listed in the PDF spec | Tobias Hoffmann | |
Previous versions of qpdf incorrectly passed arbitrary objects from /Pages objects down to individual pages in direct contradition with the PDF specification. These are now left in /Pages. When intermediate /Pages nodes are being discarded as when the /Pages tree is being flattened, a warning is issued when unknown keys are encountered. | |||
2012-07-04 | Added public method QPDF::pushInheritedAttributesToPage | Tobias Hoffmann | |
Refactored optimizePagesTree to pushInheritedAttributesToPage and made public | |||
2012-06-24 | Fixed missing throw | Tobias Hoffmann | |
2012-06-22 | Add QPDF::emptyPDF() and pdf_from_scratch test code | Jay Berkenbilt | |
2012-06-21 | Use getRoot() instead of looking it up in the trailer | Jay Berkenbilt | |
2012-06-21 | Add testing for page APIs | Jay Berkenbilt | |
2012-06-21 | Implement page manipulation APIs | Jay Berkenbilt | |
2012-06-21 | Split page handling APIs into a separate source file | Jay Berkenbilt | |