From 599daddb47fc0340e48b02f7ba00ef86bfef8c45 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 8 Mar 2009 19:00:19 +0000 Subject: decode streams on check, always exit abnormally when warnings are detected git-svn-id: svn+q:///qpdf/trunk@660 71b93d88-0707-0410-a8cf-f5a4172ac649 --- include/qpdf/QPDF.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index 6081d18b..5868268b 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -160,6 +160,10 @@ class QPDF // dictionaries) with direct objects. void flattenScalarReferences(); + // Decode all streams, discarding the output. Used to check + // correctness of stream encoding. + void decodeStreams(); + // For QPDFWriter: // Remove /ID, /Encrypt, and /Prev keys from the trailer -- cgit v1.2.3-54-g00ecf