|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.icc.dbforms.obj.LetterRenderOptionsSpec
public class LetterRenderOptionsSpec
Contains options related to letter rendering.
Constructor Summary | |
---|---|
LetterRenderOptionsSpec()
Default Constructor |
|
LetterRenderOptionsSpec(boolean mergeDataOnServer,
boolean useTestData,
boolean renderInteractive,
boolean saveToFile,
boolean includeFragmentsUnconditionally)
Constructor with parameters. |
|
LetterRenderOptionsSpec(boolean mergeDataOnServer,
boolean useTestData,
boolean renderInteractive,
boolean saveToFile,
boolean includeFragmentsUnconditionally,
java.lang.String locale)
Constructor with parameters. |
Method Summary | |
---|---|
java.lang.String |
getLocale()
Returns the locale to use for letter data resolution. |
java.util.Date |
getPublishDate()
|
boolean |
isIncludeAttachments()
|
boolean |
isIncludeFragmentsUnconditionally()
Returns flag indicating whether to include fragments without evauating conditions. |
boolean |
isMergeDataOnServer()
Returns flag indicating whether data should be merged on server or not. |
boolean |
isRenderInteractive()
Returns true if interactive PDF is required to be rendered; for non interactive PDF returns false. |
boolean |
isSaveToFile()
Returns flag indicating whether to save PDF into temporary file or not. |
boolean |
isUseTestData()
Returns flag indicating whether to use test data or not. |
void |
setIncludeAttachments(boolean includeAttachments)
|
void |
setIncludeFragmentsUnconditionally(boolean includeFragmentsUnconditionally)
Sets flag indicating whether to include fragments without evauating conditions. |
void |
setLocale(java.lang.String locale)
Sets the locale that should be used for letter data resolution. |
void |
setMergeDataOnServer(boolean mergeDataOnServer)
Sets flag indicating whether data should be merged on server or not. |
void |
setPublishDate(java.util.Date publishDate)
|
void |
setRenderInteractive(boolean renderInteractive)
Sets flag indicating whether to render interactive or non interactive PDF. |
void |
setSaveToFile(boolean saveToFile)
Sets flag indicating whether to save PDF into temporary file or not. |
void |
setUseTestData(boolean useTestData)
Sets flag indicating whether to use test data or not. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LetterRenderOptionsSpec()
public LetterRenderOptionsSpec(boolean mergeDataOnServer, boolean useTestData, boolean renderInteractive, boolean saveToFile, boolean includeFragmentsUnconditionally)
mergeDataOnServer
- False if we only need to render the Letter, without merging
data with it. If False, the letter is also augmented with
the FormBridge library for use in an interactive filling
environment. True if data needs to be merged (in which case
the FormBridge library is not included).useTestData
- specify whether to use test data for rendering or not.renderInteractive
- specify whether to render an interactive or flat PDF.saveToFile
- true to have the PDF saved to a temporary file for retrieval
via URL from the client; false to have the PDF bytes returned
in the PDFResponseType response.public LetterRenderOptionsSpec(boolean mergeDataOnServer, boolean useTestData, boolean renderInteractive, boolean saveToFile, boolean includeFragmentsUnconditionally, java.lang.String locale)
mergeDataOnServer
- False if we only need to render the Letter, without merging
data with it. If False, the letter is also augmented with
the FormBridge library for use in an interactive filling
environment. True if data needs to be merged (in which case
the FormBridge library is not included).useTestData
- specify whether to use test data for rendering or not.renderInteractive
- specify whether to render an interactive or flat PDF.saveToFile
- true to have the PDF saved to a temporary file for retrieval
via URL from the client; false to have the PDF bytes returned
in the PDFResponseType response.locale
- locale (e.g. en_US) to use while formatting data to prepare data xml for merge.Method Detail |
---|
public boolean isMergeDataOnServer()
public void setMergeDataOnServer(boolean mergeDataOnServer)
mergeDataOnServer
- flag indicating whether data should be merged on server or not.public boolean isUseTestData()
public void setUseTestData(boolean useTestData)
useTestData
- flag indicating whether to use test data or not.public boolean isRenderInteractive()
public void setRenderInteractive(boolean renderInteractive)
renderInteractive
- indicates whether to render interactive or non interactive PDF.public boolean isSaveToFile()
public void setSaveToFile(boolean saveToFile)
saveToFile
- indicates whether to save PDF into temporary file or not.public boolean isIncludeFragmentsUnconditionally()
public void setIncludeFragmentsUnconditionally(boolean includeFragmentsUnconditionally)
includeFragmentsUnconditionally
- indicates whether to include fragments without evauating conditions.public java.lang.String getLocale()
public void setLocale(java.lang.String locale)
locale
- locale to use for letter data resolution.public boolean isIncludeAttachments()
public void setIncludeAttachments(boolean includeAttachments)
public java.util.Date getPublishDate()
public void setPublishDate(java.util.Date publishDate)
publishDate
- the publishDate to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |