2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-09-21 17:49:08 +00:00
qpdf/examples
Jay Berkenbilt 6bbea4baa0 Implement QPDFObjectHandle::parse
Move object parsing code from QPDF to QPDFObjectHandle and
parameterize the parts of it that are specific to a QPDF object.
Provide a version that can't handle indirect objects and that can be
called on an arbitrary string.

A side effect of this change is that the offset used when reporting
invalid stream length has changed, but since the new value seems like
a better value than the old one, the test suite has been updated
rather than making the code backward compatible.  This only effects
the offset reported for invalid streams that lack /Length or have an
invalid /Length key.

Updated some test code and exmaples to use QPDFObjectHandle::parse.

Supporting changes include adding a BufferInputSource constructor that
takes a string.
2012-07-21 09:06:10 -04:00
..
qtest Add pdf-from-scratch example 2012-06-23 09:05:06 -04:00
build.mk Add pdf-from-scratch example 2012-06-23 09:05:06 -04:00
examples.testcov update release date to actual date 2008-04-29 12:55:25 +00:00
Makefile update release date to actual date 2008-04-29 12:55:25 +00:00
pdf-bookmarks.cc clean up windows portability code, make remaining test suite pass 2009-07-15 04:26:32 +00:00
pdf-create.cc Implement QPDFObjectHandle::parse 2012-07-21 09:06:10 -04:00
pdf-double-page-size.cc Add a few minor enhancements to recent work 2012-06-27 10:43:27 -04:00
pdf-invert-images.cc Don't require stream data provider to know length in advance 2012-07-07 17:33:45 -04:00
pdf-linearize.c don't overrun argv with invalid arguments 2010-10-04 15:16:32 +00:00
pdf-mod-info.cc Switch some code to use empty newArray/newDictionary 2012-06-22 10:09:42 -04:00
pdf-npages.cc clean up windows portability code, make remaining test suite pass 2009-07-15 04:26:32 +00:00