public class PdfAutoSweepTools extends Object
| Constructor and Description |
|---|
PdfAutoSweepTools(ICleanupStrategy strategy)
Construct a new instance of PdfAutoSweepTools with a given ICleanupStrategy
|
| Modifier and Type | Method and Description |
|---|---|
List<PdfCleanUpLocation> |
getPdfCleanUpLocations(com.itextpdf.kernel.pdf.PdfDocument doc)
Get all
PdfCleanUpLocation objects from a given PdfDocument. |
List<PdfCleanUpLocation> |
getPdfCleanUpLocations(com.itextpdf.kernel.pdf.PdfPage page)
Get all
PdfCleanUpLocation objects from a given PdfPage. |
void |
highlight(com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
Highlight areas of interest in a given
PdfDocument |
void |
highlight(com.itextpdf.kernel.pdf.PdfPage pdfPage)
Highlight areas of interest in a given
PdfPage |
void |
tentativeCleanUp(com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
Perform tentative cleanup of areas of interest on a given
PdfDocument
This method will add all redaction annotations to the given document, allowing
the end-user to choose which redactions to keep or delete. |
void |
tentativeCleanUp(com.itextpdf.kernel.pdf.PdfPage pdfPage)
Perform tentative cleanup of areas of interest on a given
PdfPage
This method will add all redaction annotations to the given page, allowing
the end-user to choose which redactions to keep or delete. |
public PdfAutoSweepTools(ICleanupStrategy strategy)
strategy - the redaction strategy to be usedpublic void highlight(com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
PdfDocumentpdfDocument - the PdfDocument to be highlightedpublic void highlight(com.itextpdf.kernel.pdf.PdfPage pdfPage)
PdfPagepdfPage - the PdfPage to be highlightedpublic void tentativeCleanUp(com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
PdfDocument
This method will add all redaction annotations to the given document, allowing
the end-user to choose which redactions to keep or delete.pdfDocument - the document to clean uppublic void tentativeCleanUp(com.itextpdf.kernel.pdf.PdfPage pdfPage)
PdfPage
This method will add all redaction annotations to the given page, allowing
the end-user to choose which redactions to keep or delete.pdfPage - the page to clean uppublic List<PdfCleanUpLocation> getPdfCleanUpLocations(com.itextpdf.kernel.pdf.PdfPage page)
PdfCleanUpLocation objects from a given PdfPage.page - the PdfPage to be processedPdfCleanUpLocation objectspublic List<PdfCleanUpLocation> getPdfCleanUpLocations(com.itextpdf.kernel.pdf.PdfDocument doc)
PdfCleanUpLocation objects from a given PdfDocument.doc - the PdfDocument to be processedPdfCleanUpLocation objectsCopyright © 1998–2022 iText Group NV. All rights reserved.