summaryrefslogtreecommitdiff
path: root/platform/java/src/com
diff options
context:
space:
mode:
authorfred ross-perry <fredross-perry@Fred-Ross-Perrys-Computer.local>2016-08-14 20:00:19 -0700
committerfredross-perry <fross-perry@conceptuamath.com>2016-08-16 11:21:02 -0700
commit07a60a0ef205eaf037135107085519616697f43e (patch)
tree955e8e3a7ee8957b3af88f8eca6eb96b5c9f42b7 /platform/java/src/com
parent786057a2c19f33d7e95fca13d3711ce60d388966 (diff)
downloadmupdf-07a60a0ef205eaf037135107085519616697f43e.tar.xz
Android java - ad textAsHtml() to the Page class.
The JNI implementation is taken from core.textAsHtml() in the old viewer.
Diffstat (limited to 'platform/java/src/com')
-rw-r--r--platform/java/src/com/artifex/mupdf/fitz/Page.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/java/src/com/artifex/mupdf/fitz/Page.java b/platform/java/src/com/artifex/mupdf/fitz/Page.java
index 91bd5067..301b77df 100644
--- a/platform/java/src/com/artifex/mupdf/fitz/Page.java
+++ b/platform/java/src/com/artifex/mupdf/fitz/Page.java
@@ -40,4 +40,6 @@ public class Page
public native StructuredText toStructuredText();
public native Rect[] search(String needle);
+
+ public native byte[] textAsHtml();
}