public class FilteredRenderListener extends Object implements RenderListener
Constructor and Description |
---|
FilteredRenderListener(RenderListener delegate, RenderFilter... filters)
Construction
|
Modifier and Type | Method and Description |
---|---|
void |
beginTextBlock()
This class delegates this call
|
void |
endTextBlock()
This class delegates this call
|
void |
renderImage(ImageRenderInfo renderInfo)
Applies filters, then delegates to the delegate if all filters pass
|
void |
renderText(TextRenderInfo renderInfo)
Applies filters, then delegates to the delegate if all filters pass
|
public FilteredRenderListener(RenderListener delegate, RenderFilter... filters)
delegate
- the delegate RenderListener
that will receive filtered text operations
filters
- the filter(s) to apply
public void renderText(TextRenderInfo renderInfo)
renderText
in interface RenderListener
renderInfo
- contains info to render text
RenderListener.renderText(com.itextpdf.text.pdf.parser.TextRenderInfo)
public void beginTextBlock()
beginTextBlock
in interface RenderListener
RenderListener.beginTextBlock()
public void endTextBlock()
endTextBlock
in interface RenderListener
RenderListener.endTextBlock()
public void renderImage(ImageRenderInfo renderInfo)
renderImage
in interface RenderListener
renderInfo
- information specifying what to render
RenderListener.renderImage(com.itextpdf.text.pdf.parser.ImageRenderInfo)
Copyright © 1998–2017. All rights reserved.