class final readonly Core · pdftoolkit/pdf 0.12.4
PDF\Document\Redaction\SecureRedactionDestructive application, Adobe redaction addendum physical pages 2–4.
Rebuilds a minimal fresh document, intentionally dropping every annotation,
structure tree, XFA, metadata, attachment, outline, action and old revision.
Text objects and images/Forms are indivisible: conservative excess deletion is explicit.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\Document\Redaction\RedactionLimits $limits = new RedactionLimits(), ?PDF\Document\Redaction\RedactionFontGeometry $fontGeometry = null, ?PDF\Document\Redaction\RedactionResourceSanitizer $resourceSanitizer = null)Declared methods
apply()
public function apply(PDF\Syntax\DocumentStructure\DocumentCatalog $catalog, PDF\Document\Redaction\RedactionPlan $plan, PDF\Syntax\FileStructure\FileHeader $header = new FileHeader('1.7')): PDF\Document\Redaction\RedactedDocument