Interface RenderListener
- All Known Subinterfaces:
ExtRenderListener, TextExtractionStrategy
- All Known Implementing Classes:
CompareTool.CmpMarkedContentRenderFilter, FilteredRenderListener, FilteredTextRenderListener, GlyphRenderListener, GlyphTextRenderListener, LocationTextExtractionStrategy, MultiFilteredRenderListener, PdfCleanUpRenderListener, SimpleTextExtractionStrategy, TextMarginFinder
public interface RenderListener
A callback interface that receives notifications from the
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
PdfContentStreamProcessor
as 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
Modifier and TypeMethodDescriptionvoidCalled when a new text block is beginning (i.e.voidCalled 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 Details
-
beginTextBlock
void beginTextBlock()Called when a new text block is beginning (i.e. BT)- Since:
- iText 5.0.1
-
renderText
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
Called when image should be rendered- Parameters:
renderInfo- information specifying what to render- Since:
- iText 5.0.1
-