diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-01-22 15:57:07 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-01-22 16:01:45 +0100 |
commit | 913eb5ac35011b3d28c653b6f89d936c8f99c844 (patch) | |
tree | ded1a2e1b5f9fcdf6a5e77e44e30aa528be306be /ChangeLog | |
parent | f81152311e5737e5e0de9dd9462311f306c6921b (diff) | |
download | qpdf-913eb5ac35011b3d28c653b6f89d936c8f99c844.tar.zst |
Add getTypeCode() and getTypeName()
Add virtual methods to QPDFObject, wrappers to QPDFObjectHandle, and
implementations to all the QPDF_Object types.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -1,10 +1,23 @@ +2013-01-22 Jay Berkenbilt <ejb@ql.org> + + * Add QPDFObjectHandle::getTypeCode(). This method returns a + unique integer (enumerated type) value corresponding to the object + type of the QPDFObjectHandle. It can be used as an alternative to + the QPDFObjectHandle::is* methods for type testing, particularly + where there is a desire to use a switch statement or optimize for + performance when testing object types. + + * Add QPDFObjectHandle::getTypeName(). This method returns a + string literal describing the object type. It is useful for + testing and debugging. + 2013-01-20 Jay Berkenbilt <ejb@ql.org> - * Added QPDFObjectHandle::parseContentStream, which parses the + * Add QPDFObjectHandle::parseContentStream, which parses the objects in a content stream and calls handlers in a callback class. The example pdf-parse-content illustrates it use. - * Added QPDF_Keyword and QPDF_InlineImage types along with + * Add QPDF_Keyword and QPDF_InlineImage types along with appropriate wrapper methods in QPDFObjectHandle. These new object types are to facilitate content stream parsing. |