public class TextMarginFinder extends Object implements RenderListener
| Constructor and Description |
|---|
TextMarginFinder() |
| Modifier and Type | Method and 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.
|
public void renderText(TextRenderInfo renderInfo)
renderText in interface RenderListenerrenderInfo - information specifying what to renderRenderListener.renderText(com.itextpdf.text.pdf.parser.TextRenderInfo)public float getLlx()
public float getLly()
public float getUrx()
public float getUry()
public float getWidth()
public float getHeight()
public void beginTextBlock()
RenderListenerbeginTextBlock in interface RenderListenerRenderListener.beginTextBlock()public void endTextBlock()
RenderListenerendTextBlock in interface RenderListenerRenderListener.endTextBlock()public void renderImage(ImageRenderInfo renderInfo)
RenderListenerrenderImage in interface RenderListenerrenderInfo - information specifying what to renderRenderListener.renderImage(com.itextpdf.text.pdf.parser.ImageRenderInfo)Copyright © 2016. All rights reserved.