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() |
boolean |
getEmbedFonts() |
String |
getLocale() |
RenderAtClient |
getRenderAtClient() |
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 |
setEmbedFonts(boolean embedFonts)
Enables font embedding in output PDF Form document
when
true is passed as argument |
void |
setLocale(String locale)
Set locale to use for rendering
|
void |
setRenderAtClient(RenderAtClient renderAtClient)
this option is used to generate
static pdf form
passing RenderAtClient#NO to this method causes form to be
pre rendered on the server
passing RenderAtClient#AUTO to this method causes to use
value set using Form Designer
default is RenderAtClient#YES
|
void |
setSubmitUrls(List<String> urls)
set submit url
|
void |
setTaggedPDF(boolean isTagged)
set if pdf form should be tagged
|
void |
setXci(Document xci)
allows setting a custom xci document
which provides low level access for XFA to PDF
conversion.
|
public RenderAtClient getRenderAtClient()
public void setRenderAtClient(RenderAtClient renderAtClient)
renderAtClient
- 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)
xci
- public String getDebugDir()
public void setDebugDir(String debugDir)
debugDir
- public boolean getEmbedFonts()
public void setEmbedFonts(boolean embedFonts)
true
is passed as argumentembedFonts
- Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.