|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface IWDPDFObject describes the public interface of the PDFObject API.
| Method Summary | |
void |
certify(java.lang.String credential,
java.lang.String fieldName,
java.lang.String reason,
java.lang.String location,
java.lang.String contactInfo,
java.lang.String legalAttestations,
WDInteractiveFormPermissionModes permissionMode)
Method certify puts a request to apply certificate on the pdf document under consideration. |
java.io.InputStream |
createPDF()
Method createPDF creates a PDFDocument and the result is returned as InputStream Preconditions: setData and setTemplate must have been called |
boolean |
createPDF(java.lang.String url)
Method createPDF creates a PDFDocument and the result is written to the given url. |
java.lang.String |
getApplicationName()
Get the application name within which the PDFObject is runnning. |
boolean |
getCertification()
Method getCertification returns the status of the certificate for the pdf document under consideration. |
java.lang.String |
getClientID()
Get the Client ID who wants the PDFObject service. |
java.io.InputStream |
getColumnData()
Method getColumnData. |
boolean |
getColumnData(java.lang.String url)
Method getColumnData. |
java.io.InputStream |
getData()
Method getData returns the data from a PDF File Preconditions: method setPDF must have been called |
boolean |
getData(java.lang.String url)
Method getData returns the data from a PDF File. |
java.lang.String |
getFormName()
Get the PDF form name for which the PDFObject is being processed. |
java.lang.String |
getResultString()
Method getResultString returns the return code of the last call |
java.io.InputStream |
getReviewCopy()
Method getReviewCopy gets the Review Copy from the ADS in a read only mode. |
boolean |
getReviewCopy(java.lang.String url)
Method getReviewCopy gets the Review Copy from the ADS in a read only mode. |
void |
setApplicationName(java.lang.String applicationName)
Set the application name within which the PDFObject is runnning. |
void |
setBaseURI(java.lang.String url)
Method setBaseURI. |
void |
setClientID(java.lang.String clientID)
Set the Client ID who wants the PDFObject service. |
void |
setData(java.io.OutputStream xfd)
Method setData sets an OutputStream that contains data that is used for creating the PDF. |
void |
setData(java.lang.String url)
Method setData sets a URL pointing to the document containing the form data(XFD) that is used for creating the PDF |
void |
setFormName(java.lang.String formName)
Set the PDF form name for which the PDFObject is being processed. |
void |
setInteractive(boolean b)
Method setInteractive creates an interactive form |
void |
setLocale(java.util.Locale locale)
Method setLocale can be called to set the locale for the PDF document. |
void |
setPDF(java.io.ByteArrayOutputStream pdf)
Method setPDF sets the PDF document that should be examined i.e. |
void |
setPDF(java.lang.String url)
Method setPDF sets the PDF document that should be examined i.e. |
void |
setSecureCommunication(boolean b)
Deprecated. This method may be withdrawn with the first new NetWeaver release in 2006. |
void |
setSecurity(java.util.List certificates,
boolean printable,
boolean fillable,
boolean changeable,
boolean extractable)
|
void |
setTemplate(java.io.OutputStream template)
Method setTemplate sets an OutputStream that contains the Template used for creating the PDF. |
void |
setTemplate(java.lang.String url)
Method setTemplate sets a URL that points to the Template used for creating the PDF. |
void |
setUsageRights(java.lang.String credential,
WDUsageRight[] rights)
Method setUsageRights allows to set usage rights. |
void |
setUserName(java.lang.String userName)
Method setUserName sets the user name that is used for applying rights or digital signatures. |
void |
setXsltURI(java.lang.String url)
Method setXsltURI can be used to set a XSLT that is applied to the data before it is returned. |
void |
suppressPrint(boolean suppress)
Method suppressPrint. |
| Method Detail |
public java.io.InputStream getData()
public boolean getData(java.lang.String url)
true when call was successful.
Preconditions: method setPDF must have been calledurl - destination where data is saved respectively to which data is postedpublic boolean createPDF(java.lang.String url)
true when call was successful.
Preconditions: setData and setTemplate must have been calledurl - public java.io.InputStream createPDF()
public void setData(java.lang.String url)
url - public void setData(java.io.OutputStream xfd)
xfd. - If xfd is an ByteArrayOutputStream it must be UTF-8 encoded!public void setPDF(java.lang.String url)
url - public void setPDF(java.io.ByteArrayOutputStream pdf)
url - public void setLocale(java.util.Locale locale)
locale -
public void setSecurity(java.util.List certificates,
boolean printable,
boolean fillable,
boolean changeable,
boolean extractable)
public void setTemplate(java.lang.String url)
url - public void setTemplate(java.io.OutputStream template)
template. - If template is an ByteArrayOutputStream it must be UTF-8 encoded!public void setInteractive(boolean b)
b - public void setSecureCommunication(boolean b)
b - public void setBaseURI(java.lang.String url)
url - public void setXsltURI(java.lang.String url)
url - public boolean getColumnData(java.lang.String url)
url - public java.io.InputStream getColumnData()
public java.lang.String getResultString()
public void setUsageRights(java.lang.String credential,
WDUsageRight[] rights)
credential - if "null" default "ReaderRights" is usedrights - public void setUserName(java.lang.String userName)
userName - public java.lang.String getApplicationName()
public void setApplicationName(java.lang.String applicationName)
public java.lang.String getClientID()
public void setClientID(java.lang.String clientID)
public java.lang.String getFormName()
public void setFormName(java.lang.String formName)
public boolean getReviewCopy(java.lang.String url)
url - : Stringpublic java.io.InputStream getReviewCopy()
public void certify(java.lang.String credential,
java.lang.String fieldName,
java.lang.String reason,
java.lang.String location,
java.lang.String contactInfo,
java.lang.String legalAttestations,
WDInteractiveFormPermissionModes permissionMode)
credential - : Optional. Name of the private key. Default is
"DocumentCertification".field - name : Name of the filed to which certification will
be applied. If this is not set then the certification will be added
to the document itself, but will not be shown on the document itself.
The user will see it as certified in a corner of the Acrobat UI.reason - : Optional. If not set the default I attest to the
accuracy and integrity of this document will be set.location - : Optional. If not set the default will be empty.contact - info : Optional. If not set the default will be empty.legal - attestations : Optional.permission - mode : Optional. Mode of permission,allowing the user
to change such as formFields or Comments, that won't break the certificate
attached with the document. Currently available permission modes are :
public boolean getCertification()
public void suppressPrint(boolean suppress)
boolean -
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||