From ed28a166dace50d1a555689b9d5353e62a1b1e69 Mon Sep 17 00:00:00 2001 From: Fred Ross-Perry Date: Mon, 13 Nov 2017 17:04:06 -0800 Subject: jni/js: Use correct text encoding in annotation author and contents. Also clarify that a copy of author/contents is returned, and that the caller must free them. --- platform/java/src/com/artifex/mupdf/fitz/PDFAnnotation.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/java/src/com') diff --git a/platform/java/src/com/artifex/mupdf/fitz/PDFAnnotation.java b/platform/java/src/com/artifex/mupdf/fitz/PDFAnnotation.java index 19ef815f..f836a601 100644 --- a/platform/java/src/com/artifex/mupdf/fitz/PDFAnnotation.java +++ b/platform/java/src/com/artifex/mupdf/fitz/PDFAnnotation.java @@ -60,6 +60,8 @@ public class PDFAnnotation extends Annotation public native void setColor(float[] color); public native float[] getInteriorColor(); public native void setInteriorColor(float[] color); + public native String getAuthor(); + public native void setAuthor(String author); public native int[] getLineEndingStyles(); public native void setLineEndingStyles(int startStyle, int endStyle); -- cgit v1.2.3