|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.pdfcleanup.PdfCleanUpProcessor
public class PdfCleanUpProcessor
Represents the main mechanism for cleaning a PDF document.
Field Summary | |
---|---|
static double |
arcTolerance
Used as the criterion of a good approximation of rounded line joins and line caps. |
static boolean |
fillCleanedArea
|
static double |
floatMultiplier
When a document with line arts is being cleaned up, there are lot of calculations with floating point numbers. |
Constructor Summary | |
---|---|
PdfCleanUpProcessor(List<PdfCleanUpLocation> pdfCleanUpLocations,
PdfStamper pdfStamper)
Creates a PdfCleanUpProcessor object based on the
given List of PdfCleanUpLocation s
representing regions to be erased from the document. |
|
PdfCleanUpProcessor(PdfStamper pdfStamper)
Creates a PdfCleanUpProcessor object. |
Method Summary | |
---|---|
void |
cleanUp()
Cleans the document by erasing all the areas which are either provided or extracted from redaction annotations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static double floatMultiplier
public static boolean fillCleanedArea
public static double arcTolerance
Constructor Detail |
---|
public PdfCleanUpProcessor(List<PdfCleanUpLocation> pdfCleanUpLocations, PdfStamper pdfStamper)
PdfCleanUpProcessor
object based on the
given List
of PdfCleanUpLocation
s
representing regions to be erased from the document.
pdfCleanUpLocations
- list of locations to be cleaned up PdfCleanUpLocation
pdfStamper
- APdfStamper
object representing the document which redaction
applies to.public PdfCleanUpProcessor(PdfStamper pdfStamper)
PdfCleanUpProcessor
object. Regions to be erased from
the document are extracted from the redact annotations contained inside the given document.
pdfStamper
- APdfStamper
object representing the document which redaction
applies to.Method Detail |
---|
public void cleanUp() throws IOException, DocumentException
IOException
DocumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |