summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-11-09 12:36:01 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-11-14 13:23:57 +0100
commitf0690e5d4c6c6b1ae66b8c0bb3425bb2fbba0b29 (patch)
tree2c0812acaf0f607553504f3abd5f12d840b7b66b /docs
parent7c6c6a58d58b7df384704e909d34e47454582c15 (diff)
downloadmupdf-f0690e5d4c6c6b1ae66b8c0bb3425bb2fbba0b29.tar.xz
Add optional 'object' argument to pdf_add_stream.
Diffstat (limited to 'docs')
-rw-r--r--docs/mutool/run.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/mutool/run.html b/docs/mutool/run.html
index 2081202a..bb726e2c 100644
--- a/docs/mutool/run.html
+++ b/docs/mutool/run.html
@@ -642,8 +642,8 @@ Do NOT mix and match objects from one document with another document!
<dl>
<dt>PDFDocument#addObject(obj)
<dd>Add 'obj' to the PDF as a numbered object, and return an indirect reference to it.
-<dt>PDFDocument#addStream(buffer)
-<dd>Create a stream object with the contents of 'buffer', add it to the PDF, and return an indirect reference to it.
+<dt>PDFDocument#addStream(buffer, object)
+<dd>Create a stream object with the contents of 'buffer', add it to the PDF, and return an indirect reference to it. If object is defined, it will be used as the stream object dictionary.
<dt>PDFDocument#newNull()
<dt>PDFDocument#newBoolean(boolean)
<dt>PDFDocument#newInteger(number)