|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.itextpdf.text.pdf.parser.TextMarginFinder
public class TextMarginFinder
Allows you to find the rectangle that contains all the text in a page.
Constructor Summary | |
---|---|
TextMarginFinder()
|
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. |
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 |
Constructor Detail |
---|
public TextMarginFinder()
Method Detail |
---|
public void renderText(TextRenderInfo renderInfo)
renderText
in interface RenderListener
renderInfo
- 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()
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 renderRenderListener.renderImage(com.itextpdf.text.pdf.parser.ImageRenderInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |