diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-04-16 13:30:44 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-04-16 13:30:44 +0200 |
commit | dbf69ce5890cd0ebe08a75d8f511a2e2e54dd3f2 (patch) | |
tree | 29c0f847900d585a27976adc2c903b6d813b8b85 /include | |
parent | 0fd24cefd86fb5bb627ee490d3f8127052516c5a (diff) | |
download | mupdf-dbf69ce5890cd0ebe08a75d8f511a2e2e54dd3f2.tar.xz |
ASCIIHexEncode inline images during sanitization if do_ascii is set.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/interpret.h | 2 | ||||
-rw-r--r-- | include/mupdf/pdf/page.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/mupdf/pdf/interpret.h b/include/mupdf/pdf/interpret.h index 72d042e5..c3791f23 100644 --- a/include/mupdf/pdf/interpret.h +++ b/include/mupdf/pdf/interpret.h @@ -154,7 +154,7 @@ struct pdf_csi_s /* Functions to set up pdf_process structures */ pdf_processor *pdf_new_run_processor(fz_context *ctx, fz_device *dev, const fz_matrix *ctm, const char *event, pdf_gstate *gstate, int nested); -pdf_processor *pdf_new_buffer_processor(fz_context *ctx, fz_buffer *buffer); +pdf_processor *pdf_new_buffer_processor(fz_context *ctx, fz_buffer *buffer, int ahxencode); pdf_processor *pdf_new_filter_processor(fz_context *ctx, pdf_processor *chain, pdf_document *doc, pdf_obj *old_res, pdf_obj *new_res); /* Functions to actually process annotations, glyphs and general stream objects */ diff --git a/include/mupdf/pdf/page.h b/include/mupdf/pdf/page.h index 79b7659e..7cf6da44 100644 --- a/include/mupdf/pdf/page.h +++ b/include/mupdf/pdf/page.h @@ -107,13 +107,11 @@ typedef void (pdf_page_contents_process_fn)(fz_context *ctx, fz_buffer *buffer, page: A page loaded by pdf_load_page. - dev: Device used for rendering, obtained from fz_new_*_device. - cookie: A pointer to an optional fz_cookie structure that can be used to track progress, collect errors etc. */ void pdf_clean_page_contents(fz_context *ctx, pdf_document *doc, pdf_page *page, fz_cookie *cookie, - pdf_page_contents_process_fn *proc, void *proc_arg); + pdf_page_contents_process_fn *proc, void *proc_arg, int ascii); /* Presentation interface. |