diff options
author | Robin Watts <robin.watts@artifex.com> | 2014-03-03 18:20:12 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-03-04 11:31:47 +0000 |
commit | 7c4844060a313833202b91767a878c1d87c4a61c (patch) | |
tree | 962e85400eedf04746389155b71f9b3ddd67b48a /source/pdf/pdf-interpret-imp.h | |
parent | b83d0c4c1ad97c0ff68fcbfaf4aceb5fc7e4e642 (diff) | |
download | mupdf-7c4844060a313833202b91767a878c1d87c4a61c.tar.xz |
Add pdf_process for writing operator streams out to a buffer.
Using this, we can reconstruct pdf streams out of the process
called. This will enable us to do filtering when used in
combination with future commits.
Diffstat (limited to 'source/pdf/pdf-interpret-imp.h')
-rw-r--r-- | source/pdf/pdf-interpret-imp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-interpret-imp.h b/source/pdf/pdf-interpret-imp.h index 2aafb830..09decb94 100644 --- a/source/pdf/pdf-interpret-imp.h +++ b/source/pdf/pdf-interpret-imp.h @@ -141,6 +141,7 @@ void pdf_process_stream(pdf_csi *csi, pdf_lexbuf *buf); /* Functions to set up pdf_process structures */ pdf_process *pdf_process_run(pdf_process *process, fz_device *dev, const fz_matrix *ctm, const char *event, pdf_gstate *gstate, int nested); +pdf_process *pdf_process_buffer(pdf_process *process, fz_context *ctx, fz_buffer *buffer); /* Functions to actually use the pdf_process structures to process pages, * annotations and glyphs */ |