summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-11-21 14:26:41 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-11-23 11:17:35 +0100
commitdd15bf347ca04cb79d1e009a7afb0f4c082820ca (patch)
tree31ef65777859b2ebebda014cb9e3ebc41c7280e0 /include
parentab62bee35b271f4bf7c73a2cdb7539c20e68b70b (diff)
downloadmupdf-dd15bf347ca04cb79d1e009a7afb0f4c082820ca.tar.xz
Add toggle to enable/disable document styles.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/context.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mupdf/fitz/context.h b/include/mupdf/fitz/context.h
index 9966b36f..b9363ebd 100644
--- a/include/mupdf/fitz/context.h
+++ b/include/mupdf/fitz/context.h
@@ -349,6 +349,16 @@ const char *fz_user_css(fz_context *ctx);
void fz_set_user_css(fz_context *ctx, const char *text);
/*
+ fz_use_document_css: Return whether to respect document styles in HTML and EPUB.
+*/
+int fz_use_document_css(fz_context *ctx);
+
+/*
+ fz_set_use_document_css: Toggle whether to respect document styles in HTML and EPUB.
+*/
+void fz_set_use_document_css(fz_context *ctx, int use);
+
+/*
Locking functions
MuPDF is kept deliberately free of any knowledge of particular