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 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 Type
    Method
    Description
    void
    Called when a new text block is beginning (i.e.
    void
    Called when a text block has ended (i.e.
    void
    Called when image should be rendered
    void
    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

      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