com.itextpdf.text.pdf.parser
Interface RenderListener

All Known Subinterfaces:
TextExtractionStrategy
All Known Implementing Classes:
FilteredRenderListener, FilteredTextRenderListener, GlyphRenderListener, GlyphTextRenderListener, LocationTextExtractionStrategy, MultiFilteredRenderListener, SimpleTextExtractionStrategy, TextMarginFinder

public interface RenderListener

A callback interface that receives notifications from the 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
 void beginTextBlock()
          Called when a new text block is beginning (i.e.
 void endTextBlock()
          Called when a text block has ended (i.e.
 void renderImage(ImageRenderInfo renderInfo)
          Called when image should be rendered
 void renderText(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


Copyright © 2014. All Rights Reserved.