diff options
author | Jay Berkenbilt <ejb@ql.org> | 2011-08-10 19:33:58 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2011-08-10 19:33:58 +0200 |
commit | 655c55f84830190f9fa4777c615b8a622254648a (patch) | |
tree | 85b7c79d5a30f08bcd1f40f466fae74b3e3c22ac /include | |
parent | d9ec2eb0f63f35d61d68475ca03f99af76d0b3d9 (diff) | |
download | qpdf-655c55f84830190f9fa4777c615b8a622254648a.tar.zst |
implement methods to get dictionary and array contents as map and vector
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 3e4f633a..9873da7b 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -172,6 +172,8 @@ class QPDFObjectHandle int getArrayNItems(); QPDF_DLL QPDFObjectHandle getArrayItem(int n); + QPDF_DLL + std::vector<QPDFObjectHandle> getArrayAsVector(); // Methods for dictionary objects QPDF_DLL @@ -180,6 +182,8 @@ class QPDFObjectHandle QPDFObjectHandle getKey(std::string const&); QPDF_DLL std::set<std::string> getKeys(); + QPDF_DLL + std::map<std::string, QPDFObjectHandle> getDictAsMap(); // Methods for name and array objects QPDF_DLL |