public class TextMarginFinder extends Object implements IEventListener
| Constructor and Description |
|---|
TextMarginFinder() |
| Modifier and Type | Method and Description |
|---|---|
void |
eventOccurred(IEventData data,
EventType type)
Called when some event occurs during parsing a content stream.
|
Set<EventType> |
getSupportedEvents()
Provides the set of event types this listener supports.
|
Rectangle |
getTextRectangle()
Returns the common text rectangle, containing all the text found in the stream so far, ot
null, if no
text has been found yet. |
public void eventOccurred(IEventData data, EventType type)
IEventListenereventOccurred in interface IEventListenerdata - Combines the data required for processing corresponding event type.type - Event type.public Set<EventType> getSupportedEvents()
IEventListenergetSupportedEvents in interface IEventListenerpublic Rectangle getTextRectangle()
null, if no
text has been found yet.Copyright © 1998–2024 Apryse Group NV. All rights reserved.