summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java
index f722da52..e862d87a 100755..100644
--- a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java
+++ b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java
@@ -437,7 +437,8 @@ public class DocPageView extends View implements Callback
mSelection = new ArrayList<>();
// get structured text and the block structure
- StructuredText structuredText = getPage().toStructuredText();
+ int options = 0; // what should these be?
+ StructuredText structuredText = getPage().toStructuredText(options);
StructuredText.TextBlock textBlocks[] = structuredText.getBlocks();
for (StructuredText.TextBlock block : textBlocks)
@@ -586,7 +587,8 @@ public class DocPageView extends View implements Callback
Point pPage = screenToPage(p.x, p.y);
// get structured text and the block structure
- StructuredText structuredText = getPage().toStructuredText();
+ int options = 0; // what should these be?
+ StructuredText structuredText = getPage().toStructuredText(options);
StructuredText.TextBlock textBlocks[] = structuredText.getBlocks();
StructuredText.TextBlock block = blockContainingPoint(textBlocks, pPage);