Class FilteredRenderListener
java.lang.Object
com.itextpdf.text.pdf.parser.FilteredRenderListener
- All Implemented Interfaces:
RenderListener
- Direct Known Subclasses:
FilteredTextRenderListener
A text render listener that filters text operations before passing them on to a delegate
- Since:
- 5.0.1
-
Constructor Summary
ConstructorsConstructorDescriptionFilteredRenderListener(RenderListener delegate, RenderFilter... filters) Construction -
Method Summary
Modifier and TypeMethodDescriptionvoidThis class delegates this callvoidThis class delegates this callvoidrenderImage(ImageRenderInfo renderInfo) Applies filters, then delegates to the delegate if all filters passvoidrenderText(TextRenderInfo renderInfo) Applies filters, then delegates to the delegate if all filters pass
-
Constructor Details
-
FilteredRenderListener
Construction- Parameters:
delegate- the delegateRenderListenerthat will receive filtered text operationsfilters- the filter(s) to apply
-
-
Method Details
-
renderText
Applies filters, then delegates to the delegate if all filters pass- Specified by:
renderTextin interfaceRenderListener- Parameters:
renderInfo- contains info to render text- See Also:
-
beginTextBlock
public void beginTextBlock()This class delegates this call- Specified by:
beginTextBlockin interfaceRenderListener- See Also:
-
endTextBlock
public void endTextBlock()This class delegates this call- Specified by:
endTextBlockin interfaceRenderListener- See Also:
-
renderImage
Applies filters, then delegates to the delegate if all filters pass- Specified by:
renderImagein interfaceRenderListener- Parameters:
renderInfo- information specifying what to render- Since:
- 5.0.1
- See Also:
-