From 818e78d3cadf3a6236526fa54ae188d63891a0bd Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Tue, 25 Jul 2017 22:36:20 +0800 Subject: Make it possible to check for properties of PDF annotations. --- include/mupdf/pdf/annot.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index bc4b1d2e..4d98d9ce 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -143,6 +143,14 @@ pdf_annot *pdf_create_annot(fz_context *ctx, pdf_page *page, fz_annot_type type) */ void pdf_delete_annot(fz_context *ctx, pdf_page *page, pdf_annot *annot); +int pdf_annot_has_ink_list(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_quad_points(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_vertices(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_interior_color(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_line_ending_styles(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_icon_name(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_open(fz_context *ctx, pdf_annot *annot); + int pdf_annot_flags(fz_context *ctx, pdf_annot *annot); void pdf_annot_rect(fz_context *ctx, pdf_annot *annot, fz_rect *rect); float pdf_annot_border(fz_context *ctx, pdf_annot *annot); -- cgit v1.2.3