public interface DistillerService
Modifier and Type | Method and Description |
---|---|
Map |
createPDF(Document inputDoc,
String inputFileName,
String pdfSettings,
String securitySettings,
Document settingsDoc,
Document xmpDoc)
Deprecated.
|
CreatePDFResult |
createPDF2(Document inputDoc,
String inputFileName,
String pdfSettings,
String securitySettings,
Document settingsDoc,
Document xmpDoc)
Creates Adobe PDF from supported file types.
|
Map createPDF(Document inputDoc, String inputFileName, String pdfSettings, String securitySettings, Document settingsDoc, Document xmpDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
inputDoc
- The Document that needs to be converted.
com.adobe.idp.Document needs to be created over the input
document. Required Parameter.inputFileName
- File name with extension of the document that needs to be
converted. Required Parameter. While using Client SDK the key
to be supplied in input Map is "File Name with Extension".
pdfSettings
- PDF OutPut settings that need to be applied. Optional
Parameter. They can be one of the following.
High_Quality_PrintsecuritySettings
- For applying security settings.The parameter is optional.
While using Client SDK the key to be supplied in input Map is
"Security Settings". settingsDoc
- The file that contains settings that need to be applied while
generating the pdf(like optimization for web view) and also
the settings that are applied once the pdf is
created(InitialView, Security). Optional Parameter.xmpDoc
- The file that contains metadata information that will be
applied to the generated pdf. The parameter is optional.ConversionException
InvalidParameterException
FileFormatNotSupportedException
CreatePDFResult createPDF2(Document inputDoc, String inputFileName, String pdfSettings, String securitySettings, Document settingsDoc, Document xmpDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
inputDoc
- The Document that needs to be converted.
com.adobe.idp.Document needs to be created over the input
document. Required Parameter.inputFileName
- File name with extension of the document that needs to be
converted. Required Parameter. While using Client SDK the key
to be supplied in input Map is "File Name with Extension".
pdfSettings
- PDF OutPut settings that need to be applied. Optional
Parameter. They can be one of the following.
High_Quality_PrintsecuritySettings
- For applying security settings.The parameter is optional.
While using Client SDK the key to be supplied in input Map is
"Security Settings". settingsDoc
- The file that contains settings that need to be applied while
generating the pdf(like optimization for web view) and also
the settings that are applied once the pdf is
created(InitialView, Security). Optional Parameter.xmpDoc
- The file that contains metadata information that will be
applied to the generated pdf. The parameter is optional.ConversionException
InvalidParameterException
FileFormatNotSupportedException
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.