diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-02-14 20:04:40 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-02-14 20:42:24 +0100 |
commit | efbb21673c59cfbf6a74de6866a59cb2dbb8e59f (patch) | |
tree | 37439ac43400705551107542c9e9939ee8504294 /ChangeLog | |
parent | e2593e2efe140d47870b0c511cbf5160db080edd (diff) | |
download | qpdf-efbb21673c59cfbf6a74de6866a59cb2dbb8e59f.tar.zst |
Add functional versions of QPDFObjectHandle::replaceStreamData
Also fix a bug in checking consistency of length for stream data
providers. Length should not be checked or recorded if the provider
says it failed to generate the data.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2021-02-14 Jay Berkenbilt <ejb@ql.org> + + * Add new versions of QPDFObjectHandle::replaceStreamData that + take std::function objects for cases when you need something + between a static string and a full-fledged StreamDataProvider. + Using this with QUtil::file_provider is a very easy way to create + a stream from the contents of a file. + 2021-02-12 Jay Berkenbilt <ejb@ql.org> * Move formerly internal QPDFMatrix class to the public API. This |