summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFred Ross-Perry <fred.ross-perry@artifex.com>2017-10-23 14:43:16 -0700
committerTor Andersson <tor.andersson@artifex.com>2017-11-22 23:09:51 +0100
commitb13d7c7d2609ae32cb8fd4931eee12084e7b77b3 (patch)
treeefa4951f17d5b4616f3729a8bdd1353e6db8d6a1 /include
parentc2d7be0947d2c7d730f84270149cf3c3c6180a55 (diff)
downloadmupdf-b13d7c7d2609ae32cb8fd4931eee12084e7b77b3.tar.xz
jni: Make sure to dirty annotation whenever it changes.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/pdf/annot.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h
index 7e95b31b..df068bc1 100644
--- a/include/mupdf/pdf/annot.h
+++ b/include/mupdf/pdf/annot.h
@@ -105,7 +105,7 @@ struct pdf_annot_s
pdf_xobject *ap;
int ap_iteration;
- int changed;
+ int dirty;
pdf_annot *next;
};
@@ -221,4 +221,8 @@ void pdf_set_free_text_details(fz_context *ctx, pdf_annot *annot, fz_point *pos,
*/
pdf_annot *pdf_new_annot(fz_context *ctx, pdf_page *page);
+void pdf_dirty_annot(fz_context *ctx, pdf_annot *annot);
+void pdf_clean_annot(fz_context *ctx, pdf_annot *annot);
+int pdf_annot_is_dirty(fz_context *ctx, pdf_annot *annot);
+
#endif