diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 3a4bff13..e431d8a7 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -190,6 +190,13 @@ class QPDFObjectHandle QPDF_DLL bool isOrHasName(std::string const&); + // Create a shallow copy of an object as a direct object. Since + // this is a shallow copy, for dictionaries and arrays, any keys + // or items that were indirect objects will still be indirect + // objects that point to the same place. + QPDF_DLL + QPDFObjectHandle shallowCopy(); + // Mutator methods. Use with caution. // Recursively copy this object, making it direct. Throws an |