com.adobe.livecycle.pdfutility.client
Class RedactionOptionSpec

java.lang.Object
  extended by com.adobe.livecycle.pdfutility.client.RedactionOptionSpec
All Implemented Interfaces:
java.io.Serializable

public class RedactionOptionSpec
extends java.lang.Object
implements java.io.Serializable

This class is used for providing the redaction options.

See Also:
Serialized Form

Constructor Summary
RedactionOptionSpec()
           
 
Method Summary
 boolean isRedactWholeImageForUnsupportedFilter()
           
 boolean isRedactXObjectReferences()
           
 void setRedactWholeImageForUnsupportedFilter(boolean redactWholeImageForUnsupportedFilter)
          Sets redactWholeImageForUnsupportedFilter.
 void setRedactXObjectReferences(boolean redactXObjectReferences)
          Sets redactXObjectReferences.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedactionOptionSpec

public RedactionOptionSpec()
Method Detail

setRedactXObjectReferences

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


[an error occurred while processing this directive] [an error occurred while processing this directive]