public void setRedactXObjectReferences(boolean redactXObjectReferences)
Sets redactXObjectReferences. If set to true, then if a Redaction
annotation is placed over a form XObject and that XObject is being referred to
at more than one places, then all those XObject occurrences are redacted.
Parameters:
redactXObjectReferences - A boolean value which indicates whether or not to redact all
occurrences of XObject.
isRedactXObjectReferences
public boolean isRedactXObjectReferences()
Returns:
A boolean value which specifies whether or not to redact all occurrences of forms XObject.
setRedactWholeImageForUnsupportedFilter
public void setRedactWholeImageForUnsupportedFilter(boolean redactWholeImageForUnsupportedFilter)
Sets redactWholeImageForUnsupportedFilter. If set to true, then if a redaction
annotation is placed over an image and the decoder of that image is not supported,
then the whole image shall be removed. If set to false, and the decoder is not supported,
then no annotated portion of the image shall be redacted.
Parameters:
redactWholeImageForUnsupportedFilter - A boolean value which indicates whether
or not to remove whole image for unsupported filters.
isRedactWholeImageForUnsupportedFilter
public boolean isRedactWholeImageForUnsupportedFilter()
Returns:
A boolean value which indicates whether
or not to remove whole image for unsupported filters