diff options
author | Fred Ross-Perry <fred.ross-perry@artifex.com> | 2017-10-23 14:43:16 -0700 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-11-22 23:09:51 +0100 |
commit | b13d7c7d2609ae32cb8fd4931eee12084e7b77b3 (patch) | |
tree | efa4951f17d5b4616f3729a8bdd1353e6db8d6a1 /include | |
parent | c2d7be0947d2c7d730f84270149cf3c3c6180a55 (diff) | |
download | mupdf-b13d7c7d2609ae32cb8fd4931eee12084e7b77b3.tar.xz |
jni: Make sure to dirty annotation whenever it changes.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/annot.h | 6 |
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 |