public class PDFXConvertParams
extends java.lang.Object
RemoveAllAnnotations if true, will remove all Annotations and Actions from the output
AbortIfXFAIsPresent if true, will convert even if XFA form entry is detected
| Constructor and Description |
|---|
PDFXConvertParams()
Parameters for converting to PDF/X.
|
PDFXConvertParams(boolean RemoveAllAnnotations,
boolean AbortIfXFAIsPresent)
Parameters for converting to PDF/X.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
getAbortIfXFAIsPresent()
Presence of XFA can result in some loss of data in output PDF/X file as PDFProcessor do not support XFA.
|
java.lang.String |
getProfileDesc()
The Output Intent of a PDF/X document may be any valid CMYK Profile For PDF/X-1a or any valid CMYK or RGB Profile for PDF/X-3.
|
boolean |
getRemoveAllAnnotations()
Some of the standards like PDF/X prohibit the presence of some types of Annotations and Actions in order to comply with those standards.
|
void |
setAbortIfXFAIsPresent(boolean theSetting)
Presence of XFA can result in some loss of data in output PDF/X file as PDFProcessor do not support XFA.
|
void |
setProfileDesc(java.lang.String profile)
The Output Intent of a PDF/X document may be any valid CMYK Profile For PDF/X-1a or any valid CMYK or RGB Profile for PDF/X-3.
|
void |
setRemoveAllAnnotations(boolean theSetting)
Some of the standards like PDF/X prohibit the presence of some types of Annotations and Actions in order to comply with those standards.
|
public PDFXConvertParams()
RemoveAllAnnotations - Remove all annotations whether legal or illegal. Default is false.
AbortIfXFAIsPresent - Abort when XFA is present. Default is false.
public PDFXConvertParams(boolean RemoveAllAnnotations,
boolean AbortIfXFAIsPresent)
RemoveAllAnnotations - Remove all annotations whether legal or illegal.AbortIfXFAIsPresent - Abort when XFA is present.public void delete()
public boolean getRemoveAllAnnotations()
By default we will filter all illegal Annotations and Actions.
If false we will filter out all illegal Annotations and Actions (according to the standard being used) while retaining the legal ones. If true this will remove all the Annotations and Actions from the output PDF/X compliant file.
public void setRemoveAllAnnotations(boolean theSetting)
By default we will filter all illegal Annotations and Actions.
If false we will filter out all illegal Annotations and Actions (according to the standard being used) while retaining the legal ones. If true this will remove all the Annotations and Actions from the output PDF/X compliant file.
public boolean getAbortIfXFAIsPresent()
By default we will not abort if XFA is present.
If false we will convert even if we detect the XFA form entry in PDDoc If true we will abort the process.
public void setAbortIfXFAIsPresent(boolean theSetting)
By default we will not abort if XFA is present.
If false we will convert even if we detect the XFA form entry in PDDoc If true we will abort the process.
public void setProfileDesc(java.lang.String profile)
If this description is present, and specifies a profile of the wrong color family, or specifies a profile which cannot be located in resources, an exception will be raised.
public java.lang.String getProfileDesc()
If this description is present, and specifies a profile of the wrong color family, or specifies a profile which cannot be located in resources, an exception will be raised.