diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-07-23 16:43:32 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-08-02 02:20:45 +0800 |
commit | e80a476c793dfcbc3a7167e86d7926d96f8ff8ec (patch) | |
tree | 01a6cc19e781ff508f83fac7413d7f81a74feb09 | |
parent | b73d7cabcb280ba7625e80978c1789eecd3c8ba4 (diff) | |
download | mupdf-e80a476c793dfcbc3a7167e86d7926d96f8ff8ec.tar.xz |
Parse more fz_document_writer() options.
-rw-r--r-- | source/pdf/pdf-write.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c index 3f2c2cda..af5ce5b9 100644 --- a/source/pdf/pdf-write.c +++ b/source/pdf/pdf-write.c @@ -2777,6 +2777,10 @@ pdf_parse_write_options(fz_context *ctx, pdf_write_options *opts, const char *ar opts->do_linear = opteq(val, "yes"); if (fz_has_option(ctx, args, "sanitize", &val)) opts->do_clean = opteq(val, "yes"); + if (fz_has_option(ctx, args, "incremental", &val)) + opts->do_incremental = opteq(val, "yes"); + if (fz_has_option(ctx, args, "continue-on-error", &val)) + opts->continue_on_error = opteq(val, "yes"); if (fz_has_option(ctx, args, "garbage", &val)) { if (opteq(val, "yes")) |