diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index f2ed22b7..557ee869 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -200,6 +200,19 @@ class QPDFObjectHandle // Mutator methods for array objects QPDF_DLL void setArrayItem(int, QPDFObjectHandle const&); + QPDF_DLL + void setArrayFromVector(std::vector<QPDFObjectHandle> const& items); + // Insert an item before the item at the given position ("at") so + // that it has that position after insertion. If "at" is equal to + // the size of the array, insert the item at the end. + QPDF_DLL + void insertItem(int at, QPDFObjectHandle const& item); + QPDF_DLL + void appendItem(QPDFObjectHandle const& item); + // Remove the item at that position, reducing the size of the + // array by one. + QPDF_DLL + void eraseItem(int at); // Mutator methods for dictionary objects |