com.lowagie.text.pdf.parser
public class SimpleTextExtractingPdfContentStreamProcessor extends PdfContentStreamProcessor
Since: 2.1.4
Field Summary | |
---|---|
Matrix | lastEndingTextMatrix keeps track of a text matrix. |
Matrix | lastTextLineMatrix keeps track of a text matrix. |
StringBuffer | result The StringBuffer used to write the resulting String. |
Constructor Summary | |
---|---|
SimpleTextExtractingPdfContentStreamProcessor()
Creates a new text extraction processor. |
Method Summary | |
---|---|
void | displayText(String text, Matrix endingTextMatrix)
Writes text to the result. |
String | getResultantText()
Returns the result so far. |
void | reset() |
Parameters: text The text that needs to be displayed endingTextMatrix a text matrix
See Also: PdfContentStreamProcessor
Returns: a String with the resulting text.