public class SimplePdfExporterConfiguration extends SimpleExporterConfiguration implements PdfExporterConfiguration
ALL_PERMISSIONS, PROPERTY_128_BIT_KEY, PROPERTY_COMPRESSED, PROPERTY_CREATE_BATCH_MODE_BOOKMARKS, PROPERTY_DISPLAY_METADATA_TITLE, PROPERTY_ENCRYPTED, PROPERTY_JUSTIFIED_LETTER_SPACING, PROPERTY_METADATA_AUTHOR, PROPERTY_METADATA_CREATOR, PROPERTY_METADATA_KEYWORDS, PROPERTY_METADATA_SUBJECT, PROPERTY_METADATA_TITLE, PROPERTY_OWNER_PASSWORD, PROPERTY_PDF_JAVASCRIPT, PROPERTY_PDF_VERSION, PROPERTY_PDFA_CONFORMANCE, PROPERTY_PDFA_ICC_PROFILE_PATH, PROPERTY_PERMISSIONS_ALLOWED, PROPERTY_PERMISSIONS_DENIED, PROPERTY_PRINT_SCALING, PROPERTY_TAG_LANGUAGE, PROPERTY_TAGGED, PROPERTY_USER_PASSWORDPROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS| Constructor and Description |
|---|
SimplePdfExporterConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedPermissions()
An exporter hint property representing the allowed permissions for the generated PDF document.
|
String |
getDeniedPermissions()
An exporter hint property representing the denied permissions for the generated PDF document.
|
String |
getIccProfilePath()
The path to the ICC profile file for the PDF/A compliant document.
|
String |
getMetadataAuthor()
The Author of the PDF document.
|
String |
getMetadataCreator()
The Creator or Application for the PDF document.
|
String |
getMetadataKeywords()
The Keywords of the PDF document, as comma-separated String.
|
String |
getMetadataSubject()
The Subject of the PDF document.
|
String |
getMetadataTitle()
The Title of the PDF document.
|
String |
getOwnerPassword()
The password belonging to the owner of the document, if it is encrypted.
|
PdfaConformanceEnum |
getPdfaConformance()
The Conformance level of the PDF/A document.
|
String |
getPdfJavaScript()
The user defined JavaScript piece of code to be inserted in the generated PDF document.
|
PdfVersionEnum |
getPdfVersion()
Returns a Character instance representing the version of the generated PDF.
|
Integer |
getPermissions()
An integer value representing the PDF permissions for the generated document.
|
PdfPrintScalingEnum |
getPrintScaling()
Setting specifying the print scaling preference in the PDF print dialog.
|
String |
getTagLanguage()
Specifies the language that the exporter should put in the language tag of the generated PDF.
|
String |
getUserPassword()
The user password needed to open the document, if it is encrypted.
|
Boolean |
is128BitKey()
Returns a boolean value specifying whether the encryption key is 128 bits.
|
Boolean |
isCompressed()
Returns a boolean value specifying whether the PDF document should be compressed.
|
Boolean |
isCreatingBatchModeBookmarks()
Returns a boolean value specifying whether the PDF document should contain an outline section.
|
Boolean |
isDisplayMetadataTitle()
Specifies whether the document title should be displayed in the title bar instead of the file name.
|
Boolean |
isEncrypted()
Returns a boolean value specifying whether the final PDF document should be encrypted.
|
Boolean |
isTagged()
Specifies whether the exporter should put structure tags in the generated PDF.
|
void |
set128BitKey(Boolean is128BitKey) |
void |
setAllowedPermissionsHint(String allowedPermissionsHint) |
void |
setCompressed(Boolean isCompressed) |
void |
setCreatingBatchModeBookmarks(Boolean isCreatingBatchModeBookmarks) |
void |
setDeniedPermissionsHint(String deniedPermissionsHint) |
void |
setDisplayMetadataTitle(Boolean displayMetadataTitle) |
void |
setEncrypted(Boolean isEncrypted) |
void |
setIccProfilePath(String iccProfilePath) |
void |
setMetadataAuthor(String metadataAuthor) |
void |
setMetadataCreator(String metadataCreator) |
void |
setMetadataKeywords(String metadataKeywords) |
void |
setMetadataSubject(String metadataSubject) |
void |
setMetadataTitle(String metadataTitle) |
void |
setOwnerPassword(String ownerPassword) |
void |
setPdfaConformance(PdfaConformanceEnum pdfaConformance) |
void |
setPdfJavaScript(String pdfJavaScript) |
void |
setPdfVersion(PdfVersionEnum pdfVersion) |
void |
setPermissions(Integer permissions) |
void |
setPrintScaling(PdfPrintScalingEnum printScaling) |
void |
setTagged(Boolean isTagged) |
void |
setTagLanguage(String tagLanguage) |
void |
setUserPassword(String userPassword) |
isOverrideHints, setOverrideHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisOverrideHintspublic Boolean isCreatingBatchModeBookmarks()
PdfExporterConfigurationisCreatingBatchModeBookmarks in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_CREATE_BATCH_MODE_BOOKMARKSpublic void setCreatingBatchModeBookmarks(Boolean isCreatingBatchModeBookmarks)
public Boolean isCompressed()
PdfExporterConfigurationisCompressed in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_COMPRESSEDpublic void setCompressed(Boolean isCompressed)
public Boolean isEncrypted()
PdfExporterConfigurationBoolean.TRUE, this parameter instructs the exporter to
encrypt the resulting PDF document. By default PDF files are not encrypted.isEncrypted in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_ENCRYPTEDpublic void setEncrypted(Boolean isEncrypted)
public Boolean is128BitKey()
PdfExporterConfigurationBoolean.TRUE, it
can be configured to use a 128-bit key for stronger encryption.is128BitKey in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_128_BIT_KEYpublic void set128BitKey(Boolean is128BitKey)
public String getUserPassword()
PdfExporterConfigurationgetUserPassword in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_USER_PASSWORDpublic void setUserPassword(String userPassword)
public String getOwnerPassword()
PdfExporterConfigurationgetOwnerPassword in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_OWNER_PASSWORDpublic void setOwnerPassword(String ownerPassword)
public PdfVersionEnum getPdfVersion()
PdfExporterConfigurationgetPdfVersion in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_PDF_VERSIONpublic void setPdfVersion(PdfVersionEnum pdfVersion)
public String getPdfJavaScript()
PdfExporterConfigurationgetPdfJavaScript in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_PDF_JAVASCRIPTpublic void setPdfJavaScript(String pdfJavaScript)
public PdfPrintScalingEnum getPrintScaling()
PdfExporterConfigurationgetPrintScaling in interface PdfExporterConfigurationpublic void setPrintScaling(PdfPrintScalingEnum printScaling)
public Boolean isTagged()
PdfExporterConfigurationisTagged in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_TAGGEDpublic void setTagged(Boolean isTagged)
public String getTagLanguage()
PdfExporterConfigurationgetTagLanguage in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_TAG_LANGUAGEpublic void setTagLanguage(String tagLanguage)
public PdfaConformanceEnum getPdfaConformance()
PdfExporterConfigurationgetPdfaConformance in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_PDFA_CONFORMANCEpublic void setPdfaConformance(PdfaConformanceEnum pdfaConformance)
public String getIccProfilePath()
PdfExporterConfigurationgetIccProfilePath in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_PDFA_ICC_PROFILE_PATHpublic void setIccProfilePath(String iccProfilePath)
public Integer getPermissions()
PdfExporterConfigurationgetPermissions in interface PdfExporterConfigurationpublic void setPermissions(Integer permissions)
public String getAllowedPermissions()
PdfExporterConfigurationgetAllowedPermissions in interface PdfExporterConfigurationpublic void setAllowedPermissionsHint(String allowedPermissionsHint)
public String getDeniedPermissions()
PdfExporterConfigurationgetDeniedPermissions in interface PdfExporterConfigurationpublic void setDeniedPermissionsHint(String deniedPermissionsHint)
public String getMetadataTitle()
PdfExporterConfigurationgetMetadataTitle in interface PdfExporterConfigurationpublic void setMetadataTitle(String metadataTitle)
public String getMetadataAuthor()
PdfExporterConfigurationgetMetadataAuthor in interface PdfExporterConfigurationpublic void setMetadataAuthor(String metadataAuthor)
public String getMetadataSubject()
PdfExporterConfigurationgetMetadataSubject in interface PdfExporterConfigurationpublic void setMetadataSubject(String metadataSubject)
public String getMetadataKeywords()
PdfExporterConfigurationgetMetadataKeywords in interface PdfExporterConfigurationpublic void setMetadataKeywords(String metadataKeywords)
public String getMetadataCreator()
PdfExporterConfigurationgetMetadataCreator in interface PdfExporterConfigurationpublic void setMetadataCreator(String metadataCreator)
public Boolean isDisplayMetadataTitle()
PdfExporterConfigurationisDisplayMetadataTitle in interface PdfExporterConfigurationPdfExporterConfiguration.PROPERTY_DISPLAY_METADATA_TITLEpublic void setDisplayMetadataTitle(Boolean displayMetadataTitle)
Copyright © 2017. All rights reserved.