| Package | com.adobe.external.pdfutil.client |
| Class | public class PDFPropertiesResponse |
| Inheritance | PDFPropertiesResponse Object
|
An accessor method that belongs to this class may return null, meaning that either the property was not requested or the property could not be determined. If there is a problem, invoke the getQueryExceptions() method.
See also
| Method | Defined by | ||
|---|---|---|---|
|
The default constructor.
| PDFPropertiesResponse | ||
|
String getFormType()
Retrieves the form type of the queried PDF document.
| PDFPropertiesResponse | ||
|
Boolean getHasAttachments()
Determines if the document has attachments.
| PDFPropertiesResponse | ||
|
Boolean getHasComments()
Determines whether the document contains comments.
| PDFPropertiesResponse | ||
|
Boolean getIsAcroForm()
Determines if the document is an Acrobat form (Acroform) that does not contain an XFA stream.
| PDFPropertiesResponse | ||
|
Boolean getIsFillableForm()
Determines if the document contains fillable form fields.
| PDFPropertiesResponse | ||
|
Boolean getIsPDFDocument()
Determines whether you can perform PDF document operations on this document.
| PDFPropertiesResponse | ||
|
Boolean getIsPDFPackage()
Determines whether the document is a PDF package, which is a portable collection that uses metadata, including user-defined metadata, to manage a collection of document-level file attachments.
| PDFPropertiesResponse | ||
|
Boolean getIsXFADocument()
Determines if the PDF document contains an XFA stream.
| PDFPropertiesResponse | ||
|
String getPDFVersion()
Retrieves the document's version.
| PDFPropertiesResponse | ||
|
Map getQueryExceptions()
When processing the properties requested by the com.adobe.external.pdfutil.client.PDFPropertiesRequest object, the #getPDFProperties getPDFProperties() method throws an exception if the PDF document cannot be queried.
| PDFPropertiesResponse | ||
|
String getRequiredAcrobatVersion()
Retrieves the Acrobat version (or Adobe Reader) that is required to view the queried PDF document.
| PDFPropertiesResponse | ||
|
String getXFAVersion()
Retrieves the XFA version of the PDF document.
| PDFPropertiesResponse | ||
|
boolean isLocked()
Determines whether the document is locked.
| PDFPropertiesResponse | ||
|
void setFormType(String value)
Sets the form type of the queried PDF document.
| PDFPropertiesResponse | ||
|
void setHasAttachments(Boolean value)
Sets whether the document has attachments.
| PDFPropertiesResponse | ||
|
void setHasComments(Boolean value)
Sets whether the document contains comments.
| PDFPropertiesResponse | ||
|
void setIsAcroForm(Boolean value)
Sets if the document is an Acrobat form (Acroform) that does not contain an XFA stream.
| PDFPropertiesResponse | ||
|
void setIsFillableForm(Boolean value)
Sets if the document contains fillable form fields.
| PDFPropertiesResponse | ||
|
void setIsPDFDocument(Boolean value)
Sets whether you can perform PDF document operations on this document.
| PDFPropertiesResponse | ||
|
void setIsPDFPackage(Boolean value)
Sets whether the document is a PDF package.
| PDFPropertiesResponse | ||
|
void setIsXFADocument(Boolean value)
Sets if the PDF document contains an XFA stream.
| PDFPropertiesResponse | ||
|
void setLocked(boolean locked)
Sets whether the document is locked.
| PDFPropertiesResponse | ||
|
void setPDFVersion(String value)
Sets the document's version.
| PDFPropertiesResponse | ||
|
void setQueryExceptions(Map queryExceptions)
Assigns a collection of exceptions to this result object.
| PDFPropertiesResponse | ||
|
void setRequiredAcrobatVersion(String value)
Sets the Acrobat version (or Adobe Reader) that is required to view the queried PDF document.
| PDFPropertiesResponse | ||
|
void setXFAVersion(String value)
Sets the XFA version of the PDF document.
| PDFPropertiesResponse | ||
|
String toString()
Retrieves a string representation of this object.
| PDFPropertiesResponse | ||
| Constant | Defined by | ||
|---|---|---|---|
| ACROFORM
[static] A form type indicating this document is an AcroForm.
| PDFPropertiesResponse | ||
| DYNAMIC_XFA
[static] A form type indicating this document is dynamic XFA.
| PDFPropertiesResponse | ||
| NOT_A_FORM
[static] A form type indicating this document is not a form.
| PDFPropertiesResponse | ||
| PROPERTYNAME_FORMTYPE
[static] The property name for querying the document form type.
| PDFPropertiesResponse | ||
| PROPERTYNAME_HASATTACHMENTS
[static] The property name for querying if the PDF document has attachments.
| PDFPropertiesResponse | ||
| PROPERTYNAME_HASCOMMENTS
[static] The property name for querying if the PDF document has comments.
| PDFPropertiesResponse | ||
| PROPERTYNAME_ISACROFORM
[static] The property name for querying if the PDF document is an AcroForm.
| PDFPropertiesResponse | ||
| PROPERTYNAME_ISFILLABLEFORM
[static] The property name for querying if the document has a fillable form.
| PDFPropertiesResponse | ||
| PROPERTYNAME_ISPDFDOCUMENT
[static] The property name for querying if the document is a PDF document.
| PDFPropertiesResponse | ||
| PROPERTYNAME_ISPDFPACKAGE
[static] The property name for querying if the document is a PDF package.
| PDFPropertiesResponse | ||
| PROPERTYNAME_ISXFADOCUMENT
[static] The property name for querying if the document is an XFA document.
| PDFPropertiesResponse | ||
| PROPERTYNAME_PDFVERSION
[static] The property name for querying the PDF version.
| PDFPropertiesResponse | ||
| PROPERTYNAME_REQUIREDACROBATVERSION
[static] The property name for querying the Acrobat version recommended for viewing.
| PDFPropertiesResponse | ||
| PROPERTYNAME_XFAVERSION
[static] The property name for querying the XFA version.
| PDFPropertiesResponse | ||
| STATIC_XFA
[static] A form type indicating this document is static XFA.
| PDFPropertiesResponse | ||
| XFAFOREGROUND
[static] A form type indicating this document is an XFA foreground.
| PDFPropertiesResponse | ||
| PDFPropertiesResponse | () |
public PDFPropertiesResponse()The default constructor.
| getFormType | () |
public String getFormType()Retrieves the form type of the queried PDF document.
One of the following form types can be returned:
NotAFormAcroformStatic-XFADynamic-XFAXFAForegroundA java.lang.String containing the form type. The value null is returned if the property was not requested or could not be determined. |
| getHasAttachments | () |
public Boolean getHasAttachments()Determines if the document has attachments.
Returnstrue if the PDF document contains attachments, false if the PDF document does not contain attachments, and null if the property was not requested or could not be determined. |
| getHasComments | () |
public Boolean getHasComments()Determines whether the document contains comments.
Comments can be one of the following types:
true if the PDF document contains comments, false if the PDF document does not contain comments and null if the property was not requested or could not be determined. |
| getIsAcroForm | () |
public Boolean getIsAcroForm()Determines if the document is an Acrobat form (Acroform) that does not contain an XFA stream.
Returnstrue if the PDF document is a form which is not an XFA document, false if the PDF document is not a form or contains an XFA stream, and null if the property was not requested or could not be determined. |
| getIsFillableForm | () |
public Boolean getIsFillableForm()Determines if the document contains fillable form fields.
Returnstrue if the document contains fillable form fields, false if the document does not contain fillable form fields, and null if the property was not requested or could not be determined. |
| getIsPDFDocument | () |
public Boolean getIsPDFDocument()Determines whether you can perform PDF document operations on this document. If the document contains an XFA stream, but is an XFA Foreground stream, then it is still a PDF document. An XFA Foreground stream is a PDF document which displays an XFA form as a layer on applicable pages.
Returnstrue if the PDF document allows PDF operations, false if there are restrictions. For example if it is an XFA form, then pages may not be added. |
| getIsPDFPackage | () |
public Boolean getIsPDFPackage()Determines whether the document is a PDF package, which is a portable collection that uses metadata, including user-defined metadata, to manage a collection of document-level file attachments. The root PDF, to which all the files are attached, is less important than the attachments, and is referred to as a cover sheet within Acrobat.
Returnstrue if the PDF document is a portable collection (regardless of whether it contains any package files), false if the PDF document is not a portable collection, and null if the property was not requested or could not be determined. |
| getIsXFADocument | () |
public Boolean getIsXFADocument()Determines if the PDF document contains an XFA stream.
Returnstrue if the document contains an XFA stream, false if the document does not contain an XFA stream, and null if the property was not requested could not be determined. |
| getPDFVersion | () |
public String getPDFVersion()Retrieves the document's version. The first line of a PDF file is a header identifying the version of the PDF specification to which the file conforms. For a file conforming to PDF version 1.5, the header is %PDF-1.5.
A java.lang.String containing the version of the PDF document. |
| getQueryExceptions | () |
public Map getQueryExceptions()When processing the properties requested by the com.adobe.external.pdfutil.client.PDFPropertiesRequest object, the getPDFProperties() method throws an exception if the PDF document cannot be queried. This method returns a map that contains exceptions that are thrown when property values are retrieved.
ReturnsA java.util.Map containing any exceptions that are thrown while retrieving property values. |
| getRequiredAcrobatVersion | () |
public String getRequiredAcrobatVersion()Retrieves the Acrobat version (or Adobe Reader) that is required to view the queried PDF document. For example, a PDF 1.4 requires Acrobat 5, a PDF 1.5 document requires Acrobat 6, and so on.
ReturnsA java.lang.String containing the version of Adobe Reader or Acrobat required to correctly view the PDF document. |
| getXFAVersion | () |
public String getXFAVersion()Retrieves the XFA version of the PDF document.
ReturnsA java.lang.String containing the version stored in the document's XFA stream. null is returned if the PDF document does not contain an XFA stream or the property was not requested. |
| isLocked | () |
public boolean isLocked()Determines whether the document is locked.
Returnstrue if the document is locked, false otherwise. |
| setFormType | () |
public void setFormType(String value)Sets the form type of the queried PDF document.
Parameters
value — A java.lang.String containing the form type. One of the following form types can be used:
|
See also
| setHasAttachments | () |
public void setHasAttachments(Boolean value)Sets whether the document has attachments.
Parameters
value — true if the PDF document contains attachments, false if the PDF document does not contain attachments. |
See also
| setHasComments | () |
public void setHasComments(Boolean value)Sets whether the document contains comments.
Parameters
value — true if the PDF document contains comments, false if the PDF document does not contain comments. |
See also
| setIsAcroForm | () |
public void setIsAcroForm(Boolean value)Sets if the document is an Acrobat form (Acroform) that does not contain an XFA stream.
Parameters
value — true if the PDF document is a form which is not an XFA document, false if the PDF document is not a form or contains an XFA stream. |
See also
| setIsFillableForm | () |
public void setIsFillableForm(Boolean value)Sets if the document contains fillable form fields.
Parameters
value — true if the document contains fillable form fields, false if the document does not contain fillable form fields. |
See also
| setIsPDFDocument | () |
public void setIsPDFDocument(Boolean value)Sets whether you can perform PDF document operations on this document.
Parameters
value — true if the PDF document allows PDF operations, false if there are restrictions. For example if it is an XFA form, then pages may not be added. |
See also
| setIsPDFPackage | () |
public void setIsPDFPackage(Boolean value)Sets whether the document is a PDF package.
Parameters
value — true if the PDF document is a portable collection (regardless of whether it contains any package files), false if the PDF document is not a portable collection. |
See also
| setIsXFADocument | () |
public void setIsXFADocument(Boolean value)Sets if the PDF document contains an XFA stream.
Parameters
value — true if the document contains an XFA stream, false if the document does not contain an XFA stream. |
See also
| setLocked | () |
public void setLocked(boolean locked)Sets whether the document is locked.
Parameters
locked — true if the document is locked, false otherwise. |
| setPDFVersion | () |
public void setPDFVersion(String value)Sets the document's version.
Parameters
value — A java.lang.String containing the version of the PDF document. |
See also
| setQueryExceptions | () |
public void setQueryExceptions(Map queryExceptions)Assigns a collection of exceptions to this result object. In general this should not be used by clients.
Parameters
queryExceptions — A collection of exceptions. |
| setRequiredAcrobatVersion | () |
public void setRequiredAcrobatVersion(String value)Sets the Acrobat version (or Adobe Reader) that is required to view the queried PDF document.
Parameters
value — A java.lang.String containing the version of Adobe Reader or Acrobat required to correctly view the PDF document. |
See also
| setXFAVersion | () |
public void setXFAVersion(String value)Sets the XFA version of the PDF document.
Parameters
value — A java.lang.String containing the version stored in the document's XFA stream. |
See also
| toString | () |
public String toString()Retrieves a string representation of this object.
Returns| A string representation of this object. |
| ACROFORM | Constant |
public static final ACROFORMA form type indicating this document is an AcroForm.
| DYNAMIC_XFA | Constant |
public static final DYNAMIC_XFAA form type indicating this document is dynamic XFA.
| NOT_A_FORM | Constant |
public static final NOT_A_FORMA form type indicating this document is not a form.
| PROPERTYNAME_FORMTYPE | Constant |
public static final PROPERTYNAME_FORMTYPEThe property name for querying the document form type.
| PROPERTYNAME_HASATTACHMENTS | Constant |
public static final PROPERTYNAME_HASATTACHMENTSThe property name for querying if the PDF document has attachments.
| PROPERTYNAME_HASCOMMENTS | Constant |
public static final PROPERTYNAME_HASCOMMENTSThe property name for querying if the PDF document has comments.
| PROPERTYNAME_ISACROFORM | Constant |
public static final PROPERTYNAME_ISACROFORMThe property name for querying if the PDF document is an AcroForm.
| PROPERTYNAME_ISFILLABLEFORM | Constant |
public static final PROPERTYNAME_ISFILLABLEFORMThe property name for querying if the document has a fillable form.
| PROPERTYNAME_ISPDFDOCUMENT | Constant |
public static final PROPERTYNAME_ISPDFDOCUMENTThe property name for querying if the document is a PDF document.
| PROPERTYNAME_ISPDFPACKAGE | Constant |
public static final PROPERTYNAME_ISPDFPACKAGEThe property name for querying if the document is a PDF package.
| PROPERTYNAME_ISXFADOCUMENT | Constant |
public static final PROPERTYNAME_ISXFADOCUMENTThe property name for querying if the document is an XFA document.
| PROPERTYNAME_PDFVERSION | Constant |
public static final PROPERTYNAME_PDFVERSIONThe property name for querying the PDF version.
| PROPERTYNAME_REQUIREDACROBATVERSION | Constant |
public static final PROPERTYNAME_REQUIREDACROBATVERSIONThe property name for querying the Acrobat version recommended for viewing.
| PROPERTYNAME_XFAVERSION | Constant |
public static final PROPERTYNAME_XFAVERSIONThe property name for querying the XFA version.
| STATIC_XFA | Constant |
public static final STATIC_XFAA form type indicating this document is static XFA.
| XFAFOREGROUND | Constant |
public static final XFAFOREGROUNDA form type indicating this document is an XFA foreground.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/external/pdfutil/client/PDFPropertiesResponse.html