iText 8.0.2 API
|
This class expands each iText.Kernel.Pdf.Canvas.Parser.Data.TextRenderInfo for iText.Kernel.Pdf.Canvas.Parser.EventType.RENDER_TEXT event types into multiple iText.Kernel.Pdf.Canvas.Parser.Data.TextRenderInfo instances for each glyph occurred. More...
Public Member Functions |
|
GlyphTextEventListener (ITextExtractionStrategy delegate_) | |
Constructs a GlyphEventListener instance by a ITextExtractionStrategy delegate to which the expanded text events for each glyph occurred will be passed on. More... |
|
virtual String | GetResultantText () |
As an resultant text we use the the resultant text of the delegate that implement ITextExtractionStrategy and was passed to this class. More... |
|
![]() |
|
GlyphEventListener (IEventListener delegate_) | |
Constructs a GlyphEventListener instance by a delegate to which the expanded text events for each glyph occurred will be passed on. More... |
|
virtual void | EventOccurred (IEventData data, EventType type) |
Called when some event occurs during parsing a content stream. More... |
|
virtual ICollection< EventType > | GetSupportedEvents () |
Provides the set of event types this listener supports. More... |
|
This class expands each iText.Kernel.Pdf.Canvas.Parser.Data.TextRenderInfo for iText.Kernel.Pdf.Canvas.Parser.EventType.RENDER_TEXT event types into multiple iText.Kernel.Pdf.Canvas.Parser.Data.TextRenderInfo instances for each glyph occurred.
This class expands each iText.Kernel.Pdf.Canvas.Parser.Data.TextRenderInfo for iText.Kernel.Pdf.Canvas.Parser.EventType.RENDER_TEXT event types into multiple iText.Kernel.Pdf.Canvas.Parser.Data.TextRenderInfo instances for each glyph occurred. The only difference from GlyphEventListener is that this class conveniently implements ITextExtractionStrategy and can therefore used as a strategy on its own.
|
inline |
Constructs a GlyphEventListener instance by a ITextExtractionStrategy delegate to which the expanded text events for each glyph occurred will be passed on.
delegate_ | delegate to pass the expanded glyph render events to. |
|
inlinevirtual |
As an resultant text we use the the resultant text of the delegate that implement ITextExtractionStrategy and was passed to this class.
Implements iText.Kernel.Pdf.Canvas.Parser.Listener.ITextExtractionStrategy.