pdfSweep 2.0.5 API
iText.PdfCleanup.Autosweep.CompositeCleanupStrategy Class Reference

This class is a composite pattern for ICleanupStrategy It allows users to have multiple ICleanupStrategy implementations and bundle them as one. More...

Inheritance diagram for iText.PdfCleanup.Autosweep.CompositeCleanupStrategy:
iText.PdfCleanup.Autosweep.ICleanupStrategy

Public Member Functions

virtual void  Add (ICleanupStrategy ies)
 
virtual ICollection< IPdfTextLocation >  GetResultantLocations ()
 
virtual Color  GetRedactionColor (IPdfTextLocation location)
  Get the color in which redaction is to take place More...
 
virtual void  EventOccurred (IEventData data, EventType type)
 
virtual ICollection< EventType >  GetSupportedEvents ()
 
virtual ICleanupStrategy  Reset ()
  ICleanupStrategy objects have to be reset at times PdfAutoSweep will use the same strategy for all pages, and expects to receive only the rectangles from the last page as output. More...
 

Detailed Description

This class is a composite pattern for ICleanupStrategy It allows users to have multiple ICleanupStrategy implementations and bundle them as one.

Member Function Documentation

◆ GetRedactionColor()

virtual Color iText.PdfCleanup.Autosweep.CompositeCleanupStrategy.GetRedactionColor ( IPdfTextLocation  location )
inlinevirtual

Get the color in which redaction is to take place

Parameters
location where to get the redaction color from
Returns
a iText.Kernel.Colors.Color

Implements iText.PdfCleanup.Autosweep.ICleanupStrategy.

◆ Reset()

virtual ICleanupStrategy iText.PdfCleanup.Autosweep.CompositeCleanupStrategy.Reset ( )
inlinevirtual

ICleanupStrategy objects have to be reset at times PdfAutoSweep will use the same strategy for all pages, and expects to receive only the rectangles from the last page as output.

ICleanupStrategy objects have to be reset at times PdfAutoSweep will use the same strategy for all pages, and expects to receive only the rectangles from the last page as output. Hence the reset method.

Returns
a clone of this Object

Implements iText.PdfCleanup.Autosweep.ICleanupStrategy.