From 93ac1695a4b79f3d5b71e2d57ed876c28866d2c9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 29 Dec 2012 19:00:05 -0500 Subject: Support files with only attachments encrypted Test cases added in a future commit since they depend on /R=6 support. --- include/qpdf/QPDF.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index 866b11b3..7028bf1c 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -604,6 +604,7 @@ class QPDF int& act_objid, int& act_generation); PointerHolder resolve(int objid, int generation); void resolveObjectsInStream(int obj_stream_number); + void findAttachmentStreams(); // Calls finish() on the pipeline when done but does not delete it void pipeStreamData(int objid, int generation, @@ -1004,6 +1005,7 @@ class QPDF PointerHolder copied_streams; // copied_stream_data_provider is owned by copied_streams CopiedStreamDataProvider* copied_stream_data_provider; + std::set attachment_streams; // Linearization data qpdf_offset_t first_xref_item_offset; // actual value from file -- cgit v1.2.3-54-g00ecf