|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.util.PDFStreamEngine
org.pdfbox.examples.util.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>
Constructor Summary | |
---|---|
PrintImageLocations()
Default constructor. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
This will print the documents data. |
protected void |
processOperator(PDFOperator operator,
java.util.List arguments)
This is used to handle an operation. |
Methods inherited from class org.pdfbox.util.PDFStreamEngine |
---|
getColorSpaces, getCurrentPage, getFonts, getGraphicsStack, getGraphicsState, getGraphicsStates, getResources, getTextLineMatrix, getTextMatrix, getXObjects, processOperator, processStream, processSubStream, registerOperatorProcessor, resetEngine, setColorSpaces, setFonts, setGraphicsStack, setGraphicsState, setGraphicsStates, setTextLineMatrix, setTextMatrix, showCharacter, showString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintImageLocations() throws java.io.IOException
java.io.IOException
- If there is an error loading text stripper properties.Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments.
java.lang.Exception
- If there is an error parsing the document.protected void processOperator(PDFOperator operator, java.util.List arguments) throws java.io.IOException
processOperator
in class PDFStreamEngine
operator
- The operation to perform.arguments
- The list of arguments.
java.io.IOException
- If there is an error processing the operation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |