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