pdfSweep 2.0.5 API
iText.PdfCleanup.PdfCleanUpProcessor Class Reference
Inheritance diagram for iText.PdfCleanup.PdfCleanUpProcessor:

Classes

class   NotAppliedGsParams
  Single instance of this class represents not applied graphics state params of the single q/Q nesting level.
 

Public Member Functions

override void  ProcessPageContent (PdfPage page)
 
virtual void  ProcessPageAnnotations (PdfPage page, IList< Rectangle > regions)
  Process the annotations of a page. More...
 
virtual void  ProcessPageAnnotations (PdfPage page, IList< Rectangle > regions, bool redactRedactAnnotations)
  Process the annotations of a page. More...
 
override void  ProcessContent (byte[] contentBytes, PdfResources resources)
 
override IEventListener  GetEventListener ()
 

Protected Member Functions

override void  InvokeOperator (PdfLiteral @operator, IList< PdfObject > operands)
 
override void  BeginMarkedContent (PdfName tag, PdfDictionary dict)
 
override void  EventOccurred (IEventData data, EventType type)
 

Member Function Documentation

◆ ProcessContent()

override void iText.PdfCleanup.PdfCleanUpProcessor.ProcessContent ( byte[]  contentBytes,
PdfResources  resources 
)
inline
Parameters
contentBytes the bytes of a content stream
resources the resources of the content stream. Must not be null.

◆ ProcessPageAnnotations() [1/2]

virtual void iText.PdfCleanup.PdfCleanUpProcessor.ProcessPageAnnotations ( PdfPage  page,
IList< Rectangle >  regions 
)
inlinevirtual

Process the annotations of a page.

Process the annotations of a page. Default process behaviour is to remove the annotation if there is (partial) overlap with a redaction region

Parameters
page the page to process
regions a list of redaction regions

◆ ProcessPageAnnotations() [2/2]

virtual void iText.PdfCleanup.PdfCleanUpProcessor.ProcessPageAnnotations ( PdfPage  page,
IList< Rectangle >  regions,
bool  redactRedactAnnotations 
)
inlinevirtual

Process the annotations of a page.

Process the annotations of a page. Default process behaviour is to remove the annotation if there is (partial) overlap with a redaction region

Parameters
page the page to process
regions a list of redaction regions
redactRedactAnnotations true if annotation with subtype /Redact should also be removed