From e80fad86e95af978ada2a6cc5c4b209a1f65f7c0 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 29 Apr 2022 20:09:10 -0400 Subject: Add new QPDFObjectHandle methods for more fluent programming --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5615db2a..2f06936f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2022-04-29 Jay Berkenbilt + + * QPDFObjectHandle: for the methods insertItem, appendItem, + eraseItem, replaceKey, and removeKey, have the methods return a + reference to the original object, making a fluent interface to + initializing or modifying QPDFObjectHandle possible. Also, for + each one, add a corresponding "AndGet" method (insertItemAndGet, + appendItemAndGet, eraseItemAndGet, replaceKeyAndGet, and + removeKeyAndGet) that returns the newly inserted, replaced, or + removed item. This makes it possible to create a new object, add + it to an array or dictionary, and get a handle to it all in one + line. + 2022-04-24 Jay Berkenbilt * Bug fix: "removeAttachment" in the job JSON now takes an array -- cgit v1.2.3-70-g09d2