Generated by
JDiff

com.itextpdf.kernel.pdf.canvas.parser.listener Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.kernel.pdf.canvas.parser.listener as colored differences. Deletions are shown like this , and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.

Class FilteredEventListener, constructor FilteredEventListener(IEventListener, IEventFilter[])

Constructs a FilteredEventListener instance with one delegate. Use .attachEventListener(IEventListener, IEventFilter...) to add more IEventListener delegates along with their filters. @param delegate a delegate that fill will be called when all the corresponding filters for an event pass @param filterSet filters attached to the delegate that will be tested before passing an event on to the delegate
Class FilteredEventListener, IEventListener attachEventListener(IEventListener, IEventFilter[])

Attaches another IEventListener delegate with its filters. When all the filters attached to the delegate for an event accept the event, the event will be passed on to the delegate. You can attach multiple delegates to this FilteredEventListener instance. The content stream will be parsed just once, so it is better for performance than creating multiple FilteredEventListener instances and parsing the content stream multiple times. This is useful, for instance, when you want to extract content from multiple regions of a page. @param the type of the delegate @param delegate a delegate that fill will be called when all the corresponding filters for an event pass @param filterSet filters attached to the delegate that will be tested before passing an event on to the delegate @return delegate that has been passed to the method, used for convenient call chaining

Class RegexBasedLocationExtractionStrategy, List toCRI(TextRenderInfo)

Convert TextRenderInfo to CharacterRenderInfo This method is public and not final so that custom implementations can choose to override it. Other implementations of {@code CharacterRenderInfo} may choose to store different properties than merely the Rectangle describing the bounding box. E.g. a custom implementation might choose to store Color information as well, to better match the content surrounding the redaction Rectangle. @param tri TextRenderInfo object @return a list of CharacterRenderInfos which represents the passed TextRenderInfo ?
Class RegexBasedLocationExtractionStrategy, List toRectangles(List)

Converts CharacterRenderInfo objects to Rectangles This method is protected and not final so that custom implementations can choose to override it. E.g. other implementations may choose to add padding/margin to the Rectangles. This method also offers a convenient access point to the mapping of CharacterRenderInfo to Rectangle. This mapping enables (custom implementations) to match color of text in redacted Rectangles, or match color of background, by the mere virtue of offering access to the CharacterRenderInfo objects that generated the Rectangle. @param cris list of CharacterRenderInfo objects @return an array containing the elements of this list