| |
|
| org.pdfbox.util.PDFTextStripper org.pdfbox.examples.util.PrintTextLocations
PrintTextLocations | public class PrintTextLocations extends PDFTextStripper (Code) | | This is an example on how to get some x/y coordinates of text.
Usage: java org.pdfbox.examples.util.PrintTextLocations <input-pdf>
author: Ben Litchfield version: $Revision: 1.6 $ |
Method Summary | |
public static void | main(String[] args) This will print the documents data. | protected void | showCharacter(TextPosition text) A method provided as an event interface to allow a subclass to perform
some specific functionality when a character needs to be displayed. |
PrintTextLocations | public PrintTextLocations() throws IOException(Code) | | Default constructor.
throws: IOException - If there is an error loading text stripper properties. |
main | public static void main(String[] args) throws Exception(Code) | | This will print the documents data.
Parameters: args - The command line arguments. throws: Exception - If there is an error parsing the document. |
showCharacter | protected void showCharacter(TextPosition text)(Code) | | A method provided as an event interface to allow a subclass to perform
some specific functionality when a character needs to be displayed.
Parameters: text - The character to be displayed. |
|
|
|