Class TextMarginFinder

  • All Implemented Interfaces:
    RenderListener

    public class TextMarginFinder
    extends java.lang.Object
    implements RenderListener
    Allows you to find the rectangle that contains all the text in a page.
    Since:
    5.0.2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void beginTextBlock()
      Called when a new text block is beginning (i.e.
      void endTextBlock()
      Called when a text block has ended (i.e.
      float getHeight()
      Gets the height of the text block.
      float getLlx()
      Getter for the left margin.
      float getLly()
      Getter for the bottom margin.
      float getUrx()
      Getter for the right margin.
      float getUry()
      Getter for the top margin.
      float getWidth()
      Gets the width of the text block.
      void renderImage​(ImageRenderInfo renderInfo)
      Called when image should be rendered
      void renderText​(TextRenderInfo renderInfo)
      Method invokes by the PdfContentStreamProcessor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait