iText 8.0.2 API
|
A text event listener which filters events on the fly before passing them on to the delegate. More...
Public Member Functions |
|
FilteredTextEventListener (ITextExtractionStrategy delegate_, params IEventFilter[] filterSet) | |
Constructs a FilteredTextEventListener instance with a ITextExtractionStrategy delegate. More... |
|
virtual String | GetResultantText () |
As an resultant text we use the concatenation of all the resultant text of all the delegates that implement ITextExtractionStrategy. More... |
|
![]() |
|
FilteredEventListener () | |
Constructs a FilteredEventListener empty instance. More... |
|
FilteredEventListener (IEventListener delegate_, params IEventFilter[] filterSet) | |
Constructs a FilteredEventListener instance with one delegate. More... |
|
virtual T | AttachEventListener< T > (T delegate_, params IEventFilter[] filterSet) |
Attaches another IEventListener delegate with its filters. 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... |
|
A text event listener which filters events on the fly before passing them on to the delegate.
A text event listener which filters events on the fly before passing them on to the delegate. The only difference from FilteredEventListener is that this class conveniently implements ITextExtractionStrategy and can therefore used as a strategy on its own, apart from the inherited function of filtering event appropriately to its delegates.
|
inline |
Constructs a FilteredTextEventListener instance with a ITextExtractionStrategy delegate.
delegate_ | a delegate that fill be called when all the corresponding filters for an event pass |
filterSet | filters attached to the delegate that will be tested before passing an event on to the delegate |
|
inlinevirtual |
As an resultant text we use the concatenation of all the resultant text of all the delegates that implement ITextExtractionStrategy.
Implements iText.Kernel.Pdf.Canvas.Parser.Listener.ITextExtractionStrategy.