Package com.itextpdf.testutils
Class CompareTool.CmpMarkedContentRenderFilter
- java.lang.Object
-
- com.itextpdf.testutils.CompareTool.CmpMarkedContentRenderFilter
-
- All Implemented Interfaces:
RenderListener
- Enclosing class:
- CompareTool
class CompareTool.CmpMarkedContentRenderFilter extends java.lang.Object implements RenderListener
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Map<java.lang.Integer,TextExtractionStrategy>tagsByMcid
-
Constructor Summary
Constructors Constructor Description CmpMarkedContentRenderFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginTextBlock()Called when a new text block is beginning (i.e.voidendTextBlock()Called when a text block has ended (i.e.java.util.Map<java.lang.Integer,java.lang.String>getParsedTagContent()voidrenderImage(ImageRenderInfo renderInfo)Called when image should be renderedvoidrenderText(TextRenderInfo renderInfo)Called when text should be rendered
-
-
-
Field Detail
-
tagsByMcid
java.util.Map<java.lang.Integer,TextExtractionStrategy> tagsByMcid
-
-
Method Detail
-
getParsedTagContent
public java.util.Map<java.lang.Integer,java.lang.String> getParsedTagContent()
-
beginTextBlock
public void beginTextBlock()
Description copied from interface:RenderListenerCalled when a new text block is beginning (i.e. BT)- Specified by:
beginTextBlockin interfaceRenderListener
-
renderText
public void renderText(TextRenderInfo renderInfo)
Description copied from interface:RenderListenerCalled when text should be rendered- Specified by:
renderTextin interfaceRenderListener- Parameters:
renderInfo- information specifying what to render
-
endTextBlock
public void endTextBlock()
Description copied from interface:RenderListenerCalled when a text block has ended (i.e. ET)- Specified by:
endTextBlockin interfaceRenderListener
-
renderImage
public void renderImage(ImageRenderInfo renderInfo)
Description copied from interface:RenderListenerCalled when image should be rendered- Specified by:
renderImagein interfaceRenderListener- Parameters:
renderInfo- information specifying what to render
-
-