|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lowagie.text.pdf.parser.PdfContentStreamProcessor com.lowagie.text.pdf.parser.SimpleTextExtractingPdfContentStreamProcessor
public class SimpleTextExtractingPdfContentStreamProcessor
A simple text extraction processor.
Constructor Summary | |
---|---|
SimpleTextExtractingPdfContentStreamProcessor()
Creates a new text extraction processor. |
Method Summary | |
---|---|
void |
displayText(java.lang.String text,
Matrix endingTextMatrix)
Writes text to the result. |
java.lang.String |
getResultantText()
Returns the result so far. |
void |
reset()
Resets the graphics state stack, matrices and resources. |
Methods inherited from class com.lowagie.text.pdf.parser.PdfContentStreamProcessor |
---|
displayPdfString, getCurrentTextLineMatrix, getCurrentTextMatrix, getStringWidth, gs, invokeOperator, processContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTextExtractingPdfContentStreamProcessor()
Method Detail |
---|
public void reset()
PdfContentStreamProcessor
reset
in class PdfContentStreamProcessor
public java.lang.String getResultantText()
public void displayText(java.lang.String text, Matrix endingTextMatrix)
displayText
in class PdfContentStreamProcessor
text
- The text that needs to be displayedendingTextMatrix
- a text matrixPdfContentStreamProcessor.displayText(java.lang.String, com.lowagie.text.pdf.parser.Matrix)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |