diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-08-03 03:40:33 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-09-08 18:53:00 +0800 |
commit | 0c61b5737fd5b8fc03ac1457b2dc85033677e8f0 (patch) | |
tree | 3576120d2ed62e5a8c581ace77e425c6098f5157 /platform/java/src | |
parent | dc2c77351a2b3188c971551b1231cf480dad9986 (diff) | |
download | mupdf-0c61b5737fd5b8fc03ac1457b2dc85033677e8f0.tar.xz |
Add options to control heuristics in structured text.
Diffstat (limited to 'platform/java/src')
-rw-r--r-- | platform/java/src/com/artifex/mupdf/fitz/DisplayList.java | 2 | ||||
-rw-r--r-- | platform/java/src/com/artifex/mupdf/fitz/Page.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/java/src/com/artifex/mupdf/fitz/DisplayList.java b/platform/java/src/com/artifex/mupdf/fitz/DisplayList.java index f274ebfa..37a218e7 100644 --- a/platform/java/src/com/artifex/mupdf/fitz/DisplayList.java +++ b/platform/java/src/com/artifex/mupdf/fitz/DisplayList.java @@ -22,7 +22,7 @@ public class DisplayList } public native Pixmap toPixmap(Matrix ctm, ColorSpace colorspace, boolean alpha); - public native StructuredText toStructuredText(); + public native StructuredText toStructuredText(int options); public native Rect[] search(String needle); public native void run(Device dev, Matrix ctm, Rect scissor, Cookie cookie); diff --git a/platform/java/src/com/artifex/mupdf/fitz/Page.java b/platform/java/src/com/artifex/mupdf/fitz/Page.java index 69a4003e..b42935c5 100644 --- a/platform/java/src/com/artifex/mupdf/fitz/Page.java +++ b/platform/java/src/com/artifex/mupdf/fitz/Page.java @@ -33,7 +33,7 @@ public class Page //fz_transition *fz_page_presentation(fz_document *doc, fz_page *page, float *duration); public native DisplayList toDisplayList(boolean no_annotations); - public native StructuredText toStructuredText(); + public native StructuredText toStructuredText(int options); public native Rect[] search(String needle); |