Java org.apache.pdfbox.text PDFTextStripperByArea fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.text PDFTextStripperByArea fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.text PDFTextStripperByArea.

The text is from its open source code.

Constructor

Method

voidaddRegion(String regionName, Rectangle2D rect)
Add a new region to group text by.
voidextractRegions(PDPage page)
Process the page to extract the region text.
StringgetTextForRegion(String regionName)
Get the text for the region, this should be called after extractRegions().
voidremoveRegion(String regionName)
Delete a region to group text by.
voidsetSortByPosition(boolean newSortByPosition)
The order of the text tokens in a PDF file may not be in the same as they appear visually on the screen.