public class PDFFormRenderOptions extends Object
Constructor and Description |
---|
PDFFormRenderOptions() |
Modifier and Type | Method and Description |
---|---|
AcrobatVersion |
getAcrobatVersion()
get the get acrobat version of generated PDF Form
|
CacheStrategy |
getCacheStrategy()
Return the caching strategy to use
|
String |
getContentRoot() |
String |
getDebugDir() |
String |
getLocale() |
List<String> |
getSubmitUrls() |
boolean |
getTaggedPDF()
get if generated PDF Form is tagged
|
Document |
getXci() |
void |
setAcrobatVersion(AcrobatVersion acrobatVersion)
set version of acrobat for which PDF Form should be generated
|
void |
setCacheStrategy(CacheStrategy strategy)
set the caching strategy to use for PDF Forms rendition
one of the enums in
CacheStrategy
default is CacheStrategy.AGGRESSIVE
As Caching Strategy can also be configure via
Config Manager
When value specified using Config Manager is different
from the one specified via this API then
final Caching Strategy is calculated as follows
Value in Config ManagerValue via APIFinal Value
AggressiveConservativeConservative
AggressiveNoneNone
ConservativeAggressiveConservative
ConservativeNoneNone
NoneAggressiveNone
NoneConservativeNone
|
void |
setContentRoot(String url)
set content url
|
void |
setDebugDir(String debugDir)
Sets the location of directory in which debug dumps are created;
Debug dumps are created only if an existing directory is set in options
|
void |
setLocale(String locale)
Set locale to use for rendering
|
void |
setSubmitUrls(List<String> urls)
set submit url
|
void |
setTaggedPDF(boolean isTagged)
set if pdf form should be tagged
|
void |
setXci(Document xci) |
public CacheStrategy getCacheStrategy()
public void setCacheStrategy(CacheStrategy strategy)
CacheStrategy
default is CacheStrategy.AGGRESSIVE
As Caching Strategy can also be configure via
Config Manager
When value specified using Config Manager is different
from the one specified via this API then
final Caching Strategy is calculated as follows
Value in Config Manager | Value via API | Final Value |
---|---|---|
Aggressive | Conservative | Conservative |
Aggressive | None | None |
Conservative | Aggressive | Conservative |
Conservative | None | None |
None | Aggressive | None |
None | Conservative | None |
strategy
- public String getContentRoot()
public void setContentRoot(String url)
url
- public boolean getTaggedPDF()
public void setTaggedPDF(boolean isTagged)
isTagged
- public AcrobatVersion getAcrobatVersion()
public void setAcrobatVersion(AcrobatVersion acrobatVersion)
acrobatVersion
- public String getLocale()
public void setLocale(String locale)
locale
- public Document getXci()
public void setXci(Document xci)
public String getDebugDir()
public void setDebugDir(String debugDir)
debugDir
- Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.