Class Redact

java.lang.Object
org.jpedal.manipulator.Redact
All Implemented Interfaces:
org.jpedal.manipulator.Manipulation

public class Redact extends Object implements org.jpedal.manipulator.Manipulation
Redacts text by removing the selected glyphs from the content stream in such a way that the content can no longer be extracted from the PDF.

A black box is also drawn to cover the area where the text used to be.

See Also:
  • Constructor Details

    • Redact

      public Redact(PdfManipulator pdfManipulator, PdfOptimizer pdfOptimizer, PageRanges pages, float[] rect)
      Perform text redaction on a subset of pages.
      Parameters:
      pdfManipulator - the PdfManipulator object for the currently loaded document
      pdfOptimizer - the PdfOptimizer object for the currently loaded document
      pages - the pages to redact
      rect - text within this rectangle will be redacted. The rectangle takes the form llx, lly, urx, ury