diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/annot.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index c648370c..beb100df 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -121,7 +121,22 @@ void pdf_set_annot_contents(fz_context *ctx, pdf_document *doc, pdf_annot *annot /* pdf_annot_contents: return the contents of an annotation. */ -char *pdf_annot_contents(fz_context *ctx, pdf_document *doc, pdf_annot *annot); +char *pdf_annot_contents(fz_context *ctx, pdf_annot *annot); + +/* + pdf_annot_author: return the author of an annotation. +*/ +char *pdf_annot_author(fz_context *ctx, pdf_annot *annot); + +/* + pdf_annot_author: return the date of an annotation. +*/ +char *pdf_annot_date(fz_context *ctx, pdf_annot *annot); + +/* + pdf_annot_irt: return the indirect reference that this annotation is in reply to. +*/ +pdf_obj *pdf_annot_irt(fz_context *ctx, pdf_annot *annot); /* pdf_set_free_text_details: set the position, text, font and color for a free text annotation. |