|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.output.client.RenderOptionsSpec
public class RenderOptionsSpec
Enables you to define run-time options that control how the Output service generates
document output streams.
By setting members of this class, you can perform tasks such as setting XCI options or
caching form designs in order to improve performance. An object of this type is passed to the
OutputClient
object's generatePDFOutput
method.
generatePDFOutput()
,
Serialized FormConstructor Summary | |
---|---|
RenderOptionsSpec()
A constructor that does not set any run-time options. |
|
RenderOptionsSpec(java.lang.Boolean cacheEnabled,
java.lang.String pdfVersion,
boolean taggedPDF,
boolean linearizedPDF,
boolean debugEnabled,
java.lang.String renderAtClient,
PDFARevisionNumber pDFARevisionNumber,
java.lang.String pDFAAmendment,
PDFAConformance pDFAConformance)
A constructor that sets all run-time options. |
|
RenderOptionsSpec(java.lang.String sOptions)
A constructor that accepts a string that contains various run-time options. |
Method Summary | |
---|---|
AcrobatVersion |
getAcrobatVersion()
Gets the PDF version that the Forms service creates. |
int |
getAuditLog()
Get Audit Log Configuration value |
java.lang.Boolean |
getCacheEnabled()
Specifies whether the Output service caches a form to boost performance. |
java.lang.String |
getInternalOptions(java.lang.String key)
For internal use only. |
java.lang.String |
getOptions()
Returns a string representation of the options that are set. |
java.lang.String |
getOptionsBean(java.lang.String key)
Returns the value of the specified option. |
java.lang.String |
getPDFAAmendment()
Returns the PDF/A amendment value. |
PDFAConformance |
getPDFAConformance()
Returns the PDF/A conformance level as specified in the PDF/A-1 ISO specification. |
PDFARevisionNumber |
getPDFARevisionNumber()
Returns the revision number of a PDF/A document. |
java.lang.String |
getPdfVersion()
Deprecated. Use getAcrobatVersion() |
java.lang.String |
getRenderAtClient()
Enables the delivery of PDF content by using the the client-side rendering capability of Acrobat 7.0 or later. |
RetainSignatureField |
getRetainSignatureField()
Signature fields to be retained on flattening. |
java.lang.Boolean |
isCacheEnabled()
Specifies whether the Output service caches a form to boost performance. |
boolean |
isDebugEnabled()
Specifies whether the debugEnabled option is enabled. |
boolean |
isLinearizedPDF()
Specifies whether the linearizedPDF option is enabled. |
boolean |
isTaggedPDF()
Specifies whether the Output service creates a tagged PDF document. |
void |
setAcrobatVersion(AcrobatVersion acrobatVersion)
Sets the appropriate PDF version required for a client. |
void |
setAuditLog(int auditLog)
Set Audit Log Configuration value |
void |
setCacheEnabled(java.lang.Boolean cacheEnabled)
Instructs the Output service to cache a form design in order to improve performance. |
void |
setDebugEnabled(boolean debugEnabled)
Sets the debugEnabled option. |
void |
setInternalOptions(java.lang.String key,
java.lang.String val)
For internal use only. |
void |
setLinearizedPDF(boolean linearizedPDF)
Sets the linearizedPDF option that results in the Output service
producing a linearized PDF document. |
void |
setPDFAAmendment(java.lang.String pDFAAmendment)
Sets the PDF/A document amendment value. |
void |
setPDFAConformance(PDFAConformance pDFAConformance)
Sets a string value that specifies the PDF/A conformance level as specified in the PDF/A-1 ISO specification. |
void |
setPDFARevisionNumber(PDFARevisionNumber pDFARevisionNumber)
Sets the revision number of a PDF/A document. |
void |
setPdfVersion(java.lang.String pdfVersion)
Deprecated. Use setAcrobatVersion() |
void |
setRenderAtClient(java.lang.String renderAtClient)
Enables the delivery of PDF content by using the the client-side rendering capability of Acrobat 7.0 or later. |
void |
setRetainSignatureField(RetainSignatureField retainSignatureField)
Signature fields to be retained on flattening. |
void |
setTaggedPDF(boolean taggedPDF)
Sets the taggedPDF option that results in the
Output service creating a tagged PDF document. |
java.lang.String |
toString()
Creates a string represenation of this class. |
void |
updateOptionsBean(java.lang.String options)
For internal use only. |
void |
updateOptionsBean(java.lang.String key,
java.lang.String value)
For internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RenderOptionsSpec()
public RenderOptionsSpec(java.lang.String sOptions) throws OutputException
taggedPDF=false&cacheEnabled=false
.
OutputException
public RenderOptionsSpec(java.lang.Boolean cacheEnabled, java.lang.String pdfVersion, boolean taggedPDF, boolean linearizedPDF, boolean debugEnabled, java.lang.String renderAtClient, PDFARevisionNumber pDFARevisionNumber, java.lang.String pDFAAmendment, PDFAConformance pDFAConformance)
Method Detail |
---|
public int getAuditLog()
public void setAuditLog(int auditLog)
auditLog
- An integer that specifies the audit log configurationpublic java.lang.String getRenderAtClient()
renderAtClient
values are valid:
auto
- Instructs the Output service to observe the form design's dynamicRender
configuration value.true
- Client-side rendering occurs within Acrobat 7.0 or later.false
- Client-side rendering is not enabled.
renderAtClient
value.public void setRenderAtClient(java.lang.String renderAtClient)
renderAtClient
values are valid:
auto
- Instructs the Output service to observe the form design's dynamicRender configuration value.true
- Client-side rendering occurs within Acrobat 7.0 or later.false
- Client-side rendering is not enabled.
renderAtClient
- The renderAtClient
value to set.public java.lang.String getPDFAAmendment()
transformPDF
public void setPDFAAmendment(java.lang.String pDFAAmendment)
transformPDF
method. For information about
the PDF/A document amendment value, see
the PDF/A-1 ISO specification that is titled ISO 19005-1 Document management.
pDFAAmendment
- A string value that represents the PDF/A amendment value.
This value also specifies the year which is separated from the amendment identifier value by a colon.transformPDF
public PDFAConformance getPDFAConformance()
transformPDF
public void setPDFAConformance(PDFAConformance pDFAConformance)
pDFAConformance
- The PDF/A conformance level to set. Valid values are A
or B
.transformPDF
public PDFARevisionNumber getPDFARevisionNumber()
transformPDF
public void setPDFARevisionNumber(PDFARevisionNumber pDFARevisionNumber)
pDFARevisionNumber
- An integer value that specifies the revision number of a PDF/A document.transformPDF
public java.lang.Boolean isCacheEnabled()
true
means that the form is cached.setCacheEnabled()
public java.lang.Boolean getCacheEnabled()
true
means that the form is cached.setCacheEnabled()
public void setCacheEnabled(java.lang.Boolean cacheEnabled)
cacheEnabled
- A Boolean value that specifies whether to cache a form.
The value true
means that a form is cached.public boolean isDebugEnabled()
debugEnabled
option is enabled.
This option provides more
information in the J2EE application server's log file.
debugEnabled
option is enabled.setDebugEnabled()
public void setDebugEnabled(boolean debugEnabled)
debugEnabled
option.
Pass the value true
to enable debug logging, which provides more
information in the J2EE application server's log file.
debugEnabled
- A Boolean value that sets the debugEnabled
option.public boolean isLinearizedPDF()
linearizedPDF
option is enabled.
A linearized PDF document is
organized to enable incremental access in a network
environment. For example, a linearized PDF document can be displayed
in a web browser before the entire PDF document is downloaded.
For more information about a linearized PDF document, see the PDF Reference guide.
setLinearizedPDF()
public void setLinearizedPDF(boolean linearizedPDF)
linearizedPDF
option that results in the Output service
producing a linearized PDF document. A linearized PDF document is
organized to enable incremental access in a network
environment. For example, a linearized PDF document can be displayed
in a web browser before the entire PDF document is downloaded.
For more information about a linearized PDF document, see the PDF Reference guide.
linearizedPDF
- A Boolean value that when set to true
, results in the Output
service producing a linearized PDF document.public java.lang.String getPdfVersion()
The following values are valid:
1.5
1.6
setPdfVersion()
public void setPdfVersion(java.lang.String pdfVersion)
The following values are valid:
1.5
1.6
pdfVersion
- A string value that specifies the PDF version value.RenderOptionsSpec.getPdfVersion()
public boolean isTaggedPDF()
setTaggedPDF()
public void setTaggedPDF(boolean taggedPDF)
taggedPDF
option that results in the
Output service creating a tagged PDF document. A tagged PDF document
defines a set of standard structure types and attributes that allow page content
(text, graphics, and images) to be extracted and reused for other purposes.
It is intended for use by tools that perform the following types of operations:
Tagged PDF files are not supported in PDF versions prior to version 1.4. For more information about tagged PDF documents, see the PDF Reference guide.
taggedPDF
- A Boolean value that when set to true
, results in the Output
service producing a tagged PDF document.public java.lang.String getOptions()
public java.lang.String getOptionsBean(java.lang.String key)
key
- A string value that specifies the name of the option.
public void updateOptionsBean(java.lang.String key, java.lang.String value) throws OutputException
OutputException
public void updateOptionsBean(java.lang.String options) throws OutputException
OutputException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getInternalOptions(java.lang.String key)
getOptionsBean
method.
getOptionsBean()
public void setInternalOptions(java.lang.String key, java.lang.String val)
updateOptionsBean
method.
updateOptionsBean()
public AcrobatVersion getAcrobatVersion()
acrobat6
acrobat7.0
acrobat7.0.5
acrobat8
public void setAcrobatVersion(AcrobatVersion acrobatVersion)
acrobatVersion
- The PDF version to set and must be one of the following values:
acrobat6
acrobat7.0
acrobat7.0.5
acrobat8
public RetainSignatureField getRetainSignatureField()
public void setRetainSignatureField(RetainSignatureField retainSignatureField)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |