|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface IWDPDFObject describes the public interface of the PDFObject API. Please refrain from using IWDPDFObject API to create/manipulate PDF document. Instead, make use of IWDPDFdocument for all such purposes. All the methods in IWDPDFObject API has been deprecated to stop any further use of the API. Gradually, this interface will be removed from the public API and will solely be used by the framework classes.
Type Classification:
This interface is part of the Web Dynpro API, so applications may reference it or call any method of it, but they must not implement or extend it.
For a detailed explanation of API classification see the Web Dynpro Compatibility Guide| Method Summary | |
InputStream |
certify(String credential,
String fieldName,
String reason,
String location,
String contactInfo,
String legalAttestations,
String permissionMode)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
changesNotAllowed(boolean changesNotAllowed)
Deprecated. Make use of IWDPDFDocument interface instead |
InputStream |
createPDF()
Deprecated. Make use of IWDPDFDocument interface instead |
boolean |
createPDF(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
InputStream |
createPDL()
Deprecated. Make use of IWDPDFDocument interface instead |
boolean |
createPDL(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
String |
getApplicationName()
Deprecated. Make use of IWDPDFDocument interface instead |
boolean |
getCertification()
Deprecated. Make use of IWDPDFDocument interface instead |
String |
getClientID()
Deprecated. Make use of IWDPDFDocument interface instead |
InputStream |
getColumnData()
Deprecated. Make use of IWDPDFDocument interface instead |
boolean |
getColumnData(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
InputStream |
getData()
Deprecated. Make use of IWDPDFDocument interface instead |
boolean |
getData(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
String |
getFormName()
Deprecated. Make use of IWDPDFDocument interface instead |
InputStream |
getPDL()
Deprecated. Make use of IWDPDFDocument interface instead |
boolean |
getPDL(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
String |
getResultString()
Deprecated. Make use of IWDPDFDocument interface instead |
InputStream |
getReviewCopy()
Deprecated. Make use of IWDPDFDocument interface instead |
boolean |
getReviewCopy(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setApplicationName(String applicationName)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setBaseURI(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setClientID(String clientID)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setConfigURL(String URL)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setData(OutputStream xfd)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setData(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setDestination(String destination)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setDynamicPDF(boolean dynamicPDF)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setFormName(String formName)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setInteractive(boolean b)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setLocale(Locale locale)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setPDF(ByteArrayOutputStream pdf)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setPDF(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setPDLType(String pdlType)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setSecureCommunication(boolean b)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setSecurity(List certificates,
boolean printable,
boolean fillable,
boolean changeable,
boolean extractable)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setTemplate(OutputStream template)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setTemplate(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setUsageRights(String credential,
WDUsageRight[] rights)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setUserName(String userName)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setXDC(String xdcName)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
setXsltURI(String url)
Deprecated. Make use of IWDPDFDocument interface instead |
InputStream |
sign(String credential,
String fieldName,
String reason,
String location,
String contactInfo)
Deprecated. Make use of IWDPDFDocument interface instead |
void |
suppressPrint(boolean suppress)
Deprecated. Make use of IWDPDFDocument interface instead |
| Method Detail |
public InputStream getData()
public boolean getData(String url)
true when call was successful.
Preconditions: method setPDF must have been called
url - destination where data is saved respectively to which data is posted
public boolean createPDF(String url)
true when call was successful.
Preconditions: setData and setTemplate must have been called
url -
public InputStream createPDF()
public void setData(String url)
url - public void setData(OutputStream xfd)
public void setPDF(String url)
url - public void setPDF(ByteArrayOutputStream pdf)
public void setLocale(Locale locale)
locale -
public void setSecurity(List certificates,
boolean printable,
boolean fillable,
boolean changeable,
boolean extractable)
certificates - printable - fillable - changeable - extractable - public void setTemplate(String url)
url - public void setTemplate(OutputStream template)
public void setInteractive(boolean b)
b - public void setSecureCommunication(boolean b)
b - public void setBaseURI(String url)
url - public void setXsltURI(String url)
url - public boolean getColumnData(String url)
url -
public InputStream getColumnData()
public String getResultString()
public void setUsageRights(String credential,
WDUsageRight[] rights)
credential - if "null" default "ReaderRights" is usedrights - public void setUserName(String userName)
userName - public String getApplicationName()
public void setApplicationName(String applicationName)
public String getClientID()
public void setClientID(String clientID)
public String getFormName()
public void setFormName(String formName)
public boolean getReviewCopy(String url)
url - : String
public InputStream getReviewCopy()
public InputStream certify(String credential,
String fieldName,
String reason,
String location,
String contactInfo,
String legalAttestations,
String permissionMode)
credential - : Optional. Name of the private key. Default is
"DocumentCertification".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.
public boolean getCertification()
public void suppressPrint(boolean suppress)
public boolean createPDL(String url)
true if the
PDL creation is successful.
Preconditions: setData, setTemplate, setXDC, setDestination must be called
before a createPDL call.
public InputStream createPDL()
public boolean getPDL(String url)
true if the PDL fetch is successful.
Preconditions:
1. setPDF
2. setPDLType
must be called. "PS2" and "PS3" are the currently supported types. Future
support for "PCL5" is possible.
method.public InputStream getPDL()
method.public void setXDC(String xdcName)
xdcName - public void setDestination(String destination)
destination - public void setPDLType(String pdlType)
pdlType - public void setConfigURL(String URL)
public void setDynamicPDF(boolean dynamicPDF)
public InputStream sign(String credential,
String fieldName,
String reason,
String location,
String contactInfo)
credential - : Optional name of the private key to be used to sign
the document. Default is "ServerSignature".fieldName - : The name of the field on which to apply the
certification. If this field is ommited ot is left
empty, signature will be added to the document, but
will not be shown in the document itself.reason - : Optional. Default is "I attest to the accuracy and
integrity of this document".location - : Optional. Default is "".
public void changesNotAllowed(boolean changesNotAllowed)
changesNotAllowed -
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||