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 RenderListener
renderInfo
- information specifying what to render
RenderListener.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()
RenderListener
beginTextBlock
in interface RenderListener
RenderListener.beginTextBlock()
public void endTextBlock()
RenderListener
endTextBlock
in interface RenderListener
RenderListener.endTextBlock()
public void renderImage(ImageRenderInfo renderInfo)
RenderListener
renderImage
in interface RenderListener
renderInfo
- information specifying what to render
RenderListener.renderImage(com.itextpdf.text.pdf.parser.ImageRenderInfo)
Copyright © 1998–2016. All rights reserved.