summaryrefslogtreecommitdiff
path: root/source/fitz
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz')
-rw-r--r--source/fitz/document.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/fitz/document.c b/source/fitz/document.c
index b2590f07..116f38d8 100644
--- a/source/fitz/document.c
+++ b/source/fitz/document.c
@@ -164,6 +164,12 @@ fz_ensure_layout(fz_context *ctx, fz_document *doc)
}
int
+fz_is_document_reflowable(fz_context *ctx, fz_document *doc)
+{
+ return doc ? doc->is_reflowable : 0;
+}
+
+int
fz_needs_password(fz_context *ctx, fz_document *doc)
{
if (doc && doc->needs_password)