From e80a476c793dfcbc3a7167e86d7926d96f8ff8ec Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sat, 23 Jul 2016 16:43:32 +0800 Subject: Parse more fz_document_writer() options. --- source/pdf/pdf-write.c | 4 ++++ 1 file changed, 4 insertions(+) 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")) -- cgit v1.2.3