diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-08-02 14:12:17 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-08-31 23:46:09 +0200 |
commit | 7248cab71b69efe1e5efa3f1400d4d3970271a77 (patch) | |
tree | e5099c59aef6a19a91425310d73aa4472b31c0bd /libqpdf/qpdf | |
parent | bd300be08d94add92657aef1d46afd100459302b (diff) | |
download | qpdf-7248cab71b69efe1e5efa3f1400d4d3970271a77.tar.zst |
Add class QPDF_Unresolved
Allow QPDFObjectHandle::obj to be set prior resolving object.
ot_unresolved has been appended to the list object types in order to
preserve the output of existing test cases.
Diffstat (limited to 'libqpdf/qpdf')
-rw-r--r-- | libqpdf/qpdf/QPDF_Unresolved.hh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libqpdf/qpdf/QPDF_Unresolved.hh b/libqpdf/qpdf/QPDF_Unresolved.hh new file mode 100644 index 00000000..4f1c5238 --- /dev/null +++ b/libqpdf/qpdf/QPDF_Unresolved.hh @@ -0,0 +1,21 @@ +#ifndef QPDF_UNRESOLVED_HH +#define QPDF_UNRESOLVED_HH + +#include <qpdf/QPDFObject.hh> + +class QPDF_Unresolved: public QPDFObject +{ + public: + virtual ~QPDF_Unresolved() = default; + static std::shared_ptr<QPDFObject> create(); + virtual std::shared_ptr<QPDFObject> shallowCopy(); + virtual std::string unparse(); + virtual JSON getJSON(int json_version); + virtual QPDFObject::object_type_e getTypeCode() const; + virtual char const* getTypeName() const; + + private: + QPDF_Unresolved() = default; +}; + +#endif // QPDF_UNRESOLVED_HH |