diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-01-20 20:55:01 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-01-20 21:35:39 +0100 |
commit | 1d88955fa68fb7fb0fd2d705bc80655edb7a5972 (patch) | |
tree | 759fd39c25d449d77294e358efe59d92d9fac879 /libqpdf/qpdf | |
parent | a844c2a3ab9bc0337fa189954efaf515148b5f0a (diff) | |
download | qpdf-1d88955fa68fb7fb0fd2d705bc80655edb7a5972.tar.zst |
Added new QPDFObjectHandle types Keyword and InlineImage
These object types are to facilitate content stream parsing.
Diffstat (limited to 'libqpdf/qpdf')
-rw-r--r-- | libqpdf/qpdf/QPDF_InlineImage.hh | 18 | ||||
-rw-r--r-- | libqpdf/qpdf/QPDF_Keyword.hh | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/libqpdf/qpdf/QPDF_InlineImage.hh b/libqpdf/qpdf/QPDF_InlineImage.hh new file mode 100644 index 00000000..6408a2f1 --- /dev/null +++ b/libqpdf/qpdf/QPDF_InlineImage.hh @@ -0,0 +1,18 @@ +#ifndef __QPDF_INLINEIMAGE_HH__ +#define __QPDF_INLINEIMAGE_HH__ + +#include <qpdf/QPDFObject.hh> + +class QPDF_InlineImage: public QPDFObject +{ + public: + QPDF_InlineImage(std::string const& val); + virtual ~QPDF_InlineImage(); + virtual std::string unparse(); + std::string getVal() const; + + private: + std::string val; +}; + +#endif // __QPDF_INLINEIMAGE_HH__ diff --git a/libqpdf/qpdf/QPDF_Keyword.hh b/libqpdf/qpdf/QPDF_Keyword.hh new file mode 100644 index 00000000..1a5c0ee6 --- /dev/null +++ b/libqpdf/qpdf/QPDF_Keyword.hh @@ -0,0 +1,18 @@ +#ifndef __QPDF_KEYWORD_HH__ +#define __QPDF_KEYWORD_HH__ + +#include <qpdf/QPDFObject.hh> + +class QPDF_Keyword: public QPDFObject +{ + public: + QPDF_Keyword(std::string const& val); + virtual ~QPDF_Keyword(); + virtual std::string unparse(); + std::string getVal() const; + + private: + std::string val; +}; + +#endif // __QPDF_KEYWORD_HH__ |