Package org.jpedal.manipulator
Class Redact
java.lang.Object
org.jpedal.manipulator.Redact
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionRedact(PdfManipulator pdfManipulator, PdfOptimizer pdfOptimizer, PageRanges pages, float[] rect) Perform text redaction on a subset of pages. -
Method Summary
-
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 documentpdfOptimizer- the PdfOptimizer object for the currently loaded documentpages- the pages to redactrect- text within this rectangle will be redacted. The rectangle takes the form llx, lly, urx, ury
-