summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFObjectHandle.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index 0f33b3fd..88f071d2 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -255,6 +255,12 @@ class QPDFObjectHandle
// Public factory methods
+ // Wrap an object in an array if it is not already an array. This
+ // is a helper for cases in which something in a PDF may either be
+ // a single item or an array of items, which is a common idiom.
+ QPDF_DLL
+ QPDFObjectHandle wrapInArray();
+
// Construct an object of any type from a string representation of
// the object. Throws QPDFExc with an empty filename and an
// offset into the string if there is an error. Any indirect