org.pdfbox.examples.util
Class PrintImageLocations
public class PrintImageLocations
This is an example on how to get the x/y coordinates of image locations.
Usage: java org.pdfbox.examples.util.PrintImageLocations <input-pdf>
static void | main(String[] args) - This will print the documents data.
|
protected void | processOperator(PDFOperator operator, List arguments) - This is used to handle an operation.
|
getColorSpaces , getCurrentPage , getFonts , getGraphicsStack , getGraphicsState , getGraphicsStates , getResources , getTextLineMatrix , getTextMatrix , getXObjects , processOperator , processOperator , processStream , processSubStream , registerOperatorProcessor , resetEngine , setColorSpaces , setFonts , setGraphicsStack , setGraphicsState , setGraphicsStates , setTextLineMatrix , setTextMatrix , showCharacter , showString |
PrintImageLocations
public PrintImageLocations()
throws IOException
Default constructor.
main
public static void main(String[] args)
throws Exception
This will print the documents data.
args
- The command line arguments.
processOperator
protected void processOperator(PDFOperator operator,
List arguments)
throws IOException
This is used to handle an operation.
- processOperator in interface PDFStreamEngine
operator
- The operation to perform.arguments
- The list of arguments.