class final Core · pdftoolkit/pdf 0.12.4

PDF\Document\Redaction\RedactionContentProcessor
One document-scoped conservative paint-removal interpreter. It never produces a masking-only result.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Document\Redaction\RedactionLimits $limits, PDF\Document\Redaction\RedactionTextBounds $text = new RedactionTextBounds(), ?PDF\Document\Redaction\RedactionResourceSanitizer $sanitizer = null)

Declared by PDF\Document\Redaction\RedactionContentProcessor · View the code ↗

Declared methods

beginCollection()

public function beginCollection(): void
The discovery pass produces no copied resource graph for publication.

Declared by PDF\Document\Redaction\RedactionContentProcessor · View the code ↗

bounds()

Declared by PDF\Document\Redaction\RedactionContentProcessor · View the code ↗

completeTaintedClosure()

public function completeTaintedClosure(): void
Complete every reverse resource dependency before any final page is rebuilt.

Declared by PDF\Document\Redaction\RedactionContentProcessor · View the code ↗

process()

public function process(PDF\Syntax\ContentStreamsResources\ContentStreams $content, PDF\Syntax\Object\DictionaryType $resources, array $regions, PDF\Graphics\CoordinateSystems\Matrix $initial = new Matrix(), int $depth = 0): PDF\Document\Redaction\RedactionStream
@param list<RedactionBounds> $regions

Declared by PDF\Document\Redaction\RedactionContentProcessor · View the code ↗

Properties

DeclarationOrigin and documentation
public int $removedPDF\Document\Redaction\RedactionContentProcessor
public readonly SplObjectStorage $taintedPDF\Document\Redaction\RedactionContentProcessor
@var \SplObjectStorage<BasicType, null>