Package com.itextpdf.text.pdf.parser
Interface RenderListener
-
- All Known Subinterfaces:
ExtRenderListener,TextExtractionStrategy
- All Known Implementing Classes:
CompareTool.CmpMarkedContentRenderFilter,FilteredRenderListener,FilteredTextRenderListener,GlyphRenderListener,GlyphTextRenderListener,LocationTextExtractionStrategy,MultiFilteredRenderListener,PdfCleanUpRenderListener,SimpleTextExtractionStrategy,TextMarginFinder
public interface RenderListenerA callback interface that receives notifications from thePdfContentStreamProcessoras various render operations are required.
Important: This interface may be converted to an abstract base class in the future to allow for adding additional render calls as the content stream processor is enhanced- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginTextBlock()Called when a new text block is beginning (i.e.voidendTextBlock()Called when a text block has ended (i.e.voidrenderImage(ImageRenderInfo renderInfo)Called when image should be renderedvoidrenderText(TextRenderInfo renderInfo)Called when text should be rendered
-
-
-
Method Detail
-
beginTextBlock
void beginTextBlock()
Called when a new text block is beginning (i.e. BT)- Since:
- iText 5.0.1
-
renderText
void renderText(TextRenderInfo renderInfo)
Called when text should be rendered- Parameters:
renderInfo- information specifying what to render
-
endTextBlock
void endTextBlock()
Called when a text block has ended (i.e. ET)- Since:
- iText 5.0.1
-
renderImage
void renderImage(ImageRenderInfo renderInfo)
Called when image should be rendered- Parameters:
renderInfo- information specifying what to render- Since:
- iText 5.0.1
-
-