summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-imp.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-11-11 19:48:58 +0000
committerRobin Watts <robin.watts@artifex.com>2016-11-14 16:09:41 +0000
commite70dcdfb2372857f5f685de5d7742ab5d6ba9d7c (patch)
tree420137adda596f23f1829b32ad9bfcb4cf93c837 /source/pdf/pdf-imp.h
parent7703ad8b2564f2f3a99b85eca5af276d7ba0e3e4 (diff)
downloadmupdf-e70dcdfb2372857f5f685de5d7742ab5d6ba9d7c.tar.xz
Continued Layer API work.
Hide pdf_is_hidden_ocg from the public interface. Ensure that RBGroups and Order properly fall back to the default entries if they are missing in the OCCDs. Add pdf_set_layer_config_as_default. This sets the default layer config to be current one. This destroys the current default dictionary, but we leave the other configs intact.
Diffstat (limited to 'source/pdf/pdf-imp.h')
-rw-r--r--source/pdf/pdf-imp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/pdf/pdf-imp.h b/source/pdf/pdf-imp.h
index 37605c51..5f2dcc2d 100644
--- a/source/pdf/pdf-imp.h
+++ b/source/pdf/pdf-imp.h
@@ -6,4 +6,6 @@
void pdf_read_ocg(fz_context *ctx, pdf_document *doc);
void pdf_drop_ocg(fz_context *ctx, pdf_document *doc);
+int pdf_is_hidden_ocg(fz_context *ctx, pdf_ocg_descriptor *desc, pdf_obj *rdb, const char *usage, pdf_obj *ocg);
+
#endif