Package | Description |
---|---|
com.itextpdf.kernel.pdf.canvas.parser | |
com.itextpdf.kernel.pdf.canvas.parser.filter | |
com.itextpdf.kernel.pdf.canvas.parser.listener |
Modifier and Type | Field and Description |
---|---|
protected Set<EventType> |
PdfCanvasProcessor.supportedEvents
Cache supported events in case the user's IEventListener.getSupportedEvents() method is not very efficient
|
Modifier and Type | Method and Description |
---|---|
static EventType |
EventType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
EventType.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PdfCanvasProcessor.eventOccurred(IEventData data, EventType type)
This is a proxy to pass only those events to the event listener which are supported by it.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IEventFilter.accept(IEventData data, EventType type)
This method checks an event and decides whether it should be processed further (corresponds to true return value), or filtered out (corresponds to false return value).
|
boolean |
TextRegionEventFilter.accept(IEventData data, EventType type) |
Modifier and Type | Method and Description |
---|---|
Set<EventType> |
FilteredEventListener.getSupportedEvents() |
Set<EventType> |
GlyphEventListener.getSupportedEvents() |
Set<EventType> |
IEventListener.getSupportedEvents()
Provides the set of event types this listener supports.
|
Set<EventType> |
LocationTextExtractionStrategy.getSupportedEvents() |
Set<EventType> |
RegexBasedLocationExtractionStrategy.getSupportedEvents() |
Set<EventType> |
SimpleTextExtractionStrategy.getSupportedEvents() |
Set<EventType> |
TextMarginFinder.getSupportedEvents() |
Modifier and Type | Method and Description |
---|---|
void |
FilteredEventListener.eventOccurred(IEventData data, EventType type) |
void |
GlyphEventListener.eventOccurred(IEventData data, EventType type) |
void |
IEventListener.eventOccurred(IEventData data, EventType type)
Called when some event occurs during parsing a content stream.
|
void |
LocationTextExtractionStrategy.eventOccurred(IEventData data, EventType type) |
void |
RegexBasedLocationExtractionStrategy.eventOccurred(IEventData data, EventType type) |
void |
SimpleTextExtractionStrategy.eventOccurred(IEventData data, EventType type) |
void |
TextMarginFinder.eventOccurred(IEventData data, EventType type) |
Copyright © 1998–2022 iText Group NV. All rights reserved.