diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java | 6 |
1 files changed, 2 insertions, 4 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 60611b2a..a726d2a3 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 @@ -447,8 +447,7 @@ public class DocPageView extends View implements Callback mSelection = new ArrayList<>(); // get structured text and the block structure - int options = 0; // what should these be? - StructuredText structuredText = getPage().toStructuredText(options); + StructuredText structuredText = getPage().toStructuredText(); StructuredText.TextBlock textBlocks[] = structuredText.getBlocks(); for (StructuredText.TextBlock block : textBlocks) @@ -597,8 +596,7 @@ public class DocPageView extends View implements Callback Point pPage = screenToPage(p.x, p.y); // get structured text and the block structure - int options = 0; // what should these be? - StructuredText structuredText = getPage().toStructuredText(options); + StructuredText structuredText = getPage().toStructuredText(); StructuredText.TextBlock textBlocks[] = structuredText.getBlocks(); StructuredText.TextBlock block = blockContainingPoint(textBlocks, pPage); |