From da50c6f300e565c8eedf4ce252c44b5ddbb95cee Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 9 Nov 2016 17:41:43 +0000 Subject: Add pdf_layer configuration API. Add API to: * allow enumeration of layer configs (OCCDs) within PDF files. * allow selection of layer configs. * allow enumeration of the "UI" (or "Human readable") form of layer configs. * allow selection/toggling of entries in the UI. --- source/pdf/pdf-op-run.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/pdf/pdf-op-run.c') diff --git a/source/pdf/pdf-op-run.c b/source/pdf/pdf-op-run.c index 89bbf008..00d1957d 100644 --- a/source/pdf/pdf-op-run.c +++ b/source/pdf/pdf-op-run.c @@ -2018,11 +2018,11 @@ pdf_drop_run_processor(fz_context *ctx, pdf_processor *proc) } 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_new_run_processor(fz_context *ctx, fz_device *dev, const fz_matrix *ctm, const char *usage, pdf_gstate *gstate, int nested) { pdf_run_processor *proc = pdf_new_processor(ctx, sizeof *proc); { - proc->super.event = event; + proc->super.usage = usage; proc->super.drop_processor = pdf_drop_run_processor; -- cgit v1.2.3