class final Core · pdftoolkit/pdf 0.12.4
PDF\Document\Redaction\RedactionContentProcessorOne document-scoped conservative paint-removal interpreter. It never produces a masking-only result.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 methods
beginCollection()
public function beginCollection(): voidThe discovery pass produces no copied resource graph for publication.bounds()
public function bounds(?PDF\Syntax\FileStructure\BasicType $value): PDF\Document\Redaction\RedactionBoundscompleteTaintedClosure()
public function completeTaintedClosure(): voidComplete every reverse resource dependency before any final page is rebuilt.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> $regionsProperties
| Declaration | Origin and documentation |
|---|---|
public int $removed | PDF\Document\Redaction\RedactionContentProcessor |
public readonly SplObjectStorage $tainted | PDF\Document\Redaction\RedactionContentProcessor@var \SplObjectStorage<BasicType, null> |