diff options
author | Jay Berkenbilt <ejb@ql.org> | 2012-07-08 20:19:19 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2012-07-11 05:34:32 +0200 |
commit | 8a217eb3a26931453b4f003c6c18ad8569230cf1 (patch) | |
tree | dfca77568e0640be6555bfe550a1e334dfb0710e /libqpdf/qpdf | |
parent | af64668ad190a3f28fbeb233238cb4a76db67d7c (diff) | |
download | qpdf-8a217eb3a26931453b4f003c6c18ad8569230cf1.tar.zst |
Add concept of reserved objects
QPDFObjectHandle::{new,is,assert}Reserved, QPDF::replaceReserved
provide a mechanism to add objects to a PDF file when there are
circular references. This is a prerequisite to copying objects from
one PDF to another.
Diffstat (limited to 'libqpdf/qpdf')
-rw-r--r-- | libqpdf/qpdf/QPDF_Reserved.hh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libqpdf/qpdf/QPDF_Reserved.hh b/libqpdf/qpdf/QPDF_Reserved.hh new file mode 100644 index 00000000..b149f776 --- /dev/null +++ b/libqpdf/qpdf/QPDF_Reserved.hh @@ -0,0 +1,13 @@ +#ifndef __QPDF_RESERVED_HH__ +#define __QPDF_RESERVED_HH__ + +#include <qpdf/QPDFObject.hh> + +class QPDF_Reserved: public QPDFObject +{ + public: + virtual ~QPDF_Reserved(); + virtual std::string unparse(); +}; + +#endif // __QPDF_RESERVED_HH__ |