public class SimpleTextExtractingPdfContentRenderListener extends Object implements TextProvidingRenderListener
| Constructor and Description |
|---|
SimpleTextExtractingPdfContentRenderListener()
Creates a new text extraction renderer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResultantText()
Returns the result so far.
|
void |
renderText(TextRenderInfo renderInfo)
Captures text using a simplified algorithm for inserting hard returns and spaces
|
void |
reset()
Resets the internal state of the RenderListener
|
public SimpleTextExtractingPdfContentRenderListener()
public void reset()
RenderListenerreset in interface RenderListenerpublic String getResultantText()
getResultantText in interface TextProvidingRenderListenerpublic void renderText(TextRenderInfo renderInfo)
renderText in interface RenderListenerrenderInfo - information specifying what to rendercom.lowagie.text.pdf.parser.AbstractRenderListener#renderText(java.lang.String, com.lowagie.text.pdf.parser.GraphicsState, com.lowagie.text.pdf.parser.Matrix, com.lowagie.text.pdf.parser.Matrix)Copyright © 2013 InProTopia Corporation. All Rights Reserved.