summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-op-run.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-11-09 17:41:43 +0000
committerRobin Watts <robin.watts@artifex.com>2016-11-11 13:18:39 +0000
commitda50c6f300e565c8eedf4ce252c44b5ddbb95cee (patch)
treed63891b1494b45046973cbc1ab3b4435821fc3f1 /source/pdf/pdf-op-run.c
parenta1d18b804019ad89841f289c465755d7feebe823 (diff)
downloadmupdf-da50c6f300e565c8eedf4ce252c44b5ddbb95cee.tar.xz
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.
Diffstat (limited to 'source/pdf/pdf-op-run.c')
-rw-r--r--source/pdf/pdf-op-run.c4
1 files changed, 2 insertions, 2 deletions
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;