aboutsummaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-02-14 20:04:40 +0100
committerJay Berkenbilt <ejb@ql.org>2021-02-14 20:42:24 +0100
commitefbb21673c59cfbf6a74de6866a59cb2dbb8e59f (patch)
tree37439ac43400705551107542c9e9939ee8504294 /manual
parente2593e2efe140d47870b0c511cbf5160db080edd (diff)
downloadqpdf-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 'manual')
-rw-r--r--manual/qpdf-manual.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml
index 58012e30..ae085d6e 100644
--- a/manual/qpdf-manual.xml
+++ b/manual/qpdf-manual.xml
@@ -5213,6 +5213,17 @@ print "\n";
</listitem>
<listitem>
<para>
+ Add new versions of
+ <function>QPDFObjectHandle::replaceStreamData</function>
+ that take <classname>std::function</classname> 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.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
Add option to <function>QUtil::double_to_string</function>
to trim trailing zeroes, which is on by default. Within the
qpdf library, this causes changes to output the from code