|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeneratePDF
Method Summary | |
---|---|
java.util.Map |
createPDF(Document inputDoc,
java.lang.String inputFileName,
java.lang.String fileTypeSettings,
java.lang.String pdfSettings,
java.lang.String securitySettings,
Document settingsDoc,
Document xmpDoc)
Deprecated. |
CreatePDFResult |
createPDF2(Document inputDoc,
java.lang.String inputFileExtension,
java.lang.String fileTypeSettings,
java.lang.String pdfSettings,
java.lang.String securitySettings,
Document settingsDoc,
Document xmpDoc)
Creates Adobe PDF from supported file types. |
CreatePDFResult |
createPDF3(java.util.Map inputDocuments,
java.lang.String primaryFileToConvertFilter,
java.lang.String inputFileExtension,
java.lang.String fileTypeSettings,
java.lang.String pdfSettings,
java.lang.String securitySettings,
Document settingsDoc,
Document xmpDoc)
Creates Adobe PDF from supported file types. |
java.util.Map |
exportPDF(Document inputDoc,
java.lang.String inputFileName,
java.lang.String formatType,
Document settingsDoc)
Deprecated. |
ExportPDFResult |
exportPDF2(Document inputDoc,
java.lang.String inputFileExtension,
java.lang.String formatType,
Document settingsDoc)
Converts Adobe PDF to supported application extensions. |
ExportPDFResult |
exportPDF3(Document inputDoc,
java.lang.String inputFileExtension,
java.lang.String formatType,
Document customPreflightProfile,
Document settingsDoc)
Converts Adobe PDF to supported application extensions. |
HtmlToPdfResult |
htmlFileToPdf(Document inputDoc,
java.lang.String fileTypeSettingsName,
java.lang.String securitySettingsName,
Document settingsDoc,
Document xmpDoc)
Creates PDF from Input Document containing the HTML page(s). For invoking the API through client SDK, the API name is HtmlFileToPdf. |
java.util.Map |
htmlToPdf(java.lang.String inputUrl,
java.lang.String fileTypeSettingsName,
java.lang.String securitySettingsName,
Document settingsDoc,
Document xmpDoc)
Deprecated. |
HtmlToPdfResult |
htmlToPdf2(java.lang.String inputUrl,
java.lang.String fileTypeSettingsName,
java.lang.String securitySettingsName,
Document settingsDoc,
Document xmpDoc)
Creates PDF from URLs pointing to an HTML page. For invoking the API through client SDK, the API name is HtmlToPdf2. |
OptimizePDFResult |
optimizePDF(Document inputDoc,
java.lang.String fileTypeSettings,
Document settingsDoc)
Optimizes the input pdf and also converts it to any of the PDF versions. |
Method Detail |
---|
java.util.Map createPDF(Document inputDoc, java.lang.String inputFileName, java.lang.String fileTypeSettings, java.lang.String pdfSettings, java.lang.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".
fileTypeSettings
- Optional Parameter.While using Client SDK the key to be
supplied in input Map is "Filetype Settings". 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, java.lang.String inputFileExtension, java.lang.String fileTypeSettings, java.lang.String pdfSettings, java.lang.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.inputFileExtension
- 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".
fileTypeSettings
- Optional Parameter.While using Client SDK the key to be
supplied in input Map is "Filetype Settings". 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 createPDF3(java.util.Map inputDocuments, java.lang.String primaryFileToConvertFilter, java.lang.String inputFileExtension, java.lang.String fileTypeSettings, java.lang.String pdfSettings, java.lang.String securitySettings, Document settingsDoc, Document xmpDoc) throws InvalidParameterException, ConversionException, FileFormatNotSupportedException
inputDocuments
- A Collection of Documents containing the Document that needs to be
converted to PDF, along with resources referred to by this document.
Required Parameter. Implemented as a java.util.Map with file names (java.lang.String)
as the keys and corresponding com.adobe.idp.Document instances as values. primaryFileToConvertFilter
- A java.lang.String representing the pattern matching the name of the
file to be converted. Required Parameter. inputFileExtension
- 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".
fileTypeSettings
- Optional Parameter.While using Client SDK the key to be
supplied in input Map is "Filetype Settings". 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
HtmlToPdfResult htmlFileToPdf(Document inputDoc, java.lang.String fileTypeSettingsName, java.lang.String securitySettingsName, Document settingsDoc, Document xmpDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
inputDoc
- The document containg the single HTML page or a zip containg the HTML pages, which need to
be converted to PDFfileTypeSettingsName
- securitySettingsName
- fileTypeSettings
- Optional Parameter.While using Client SDK the key to be
supplied in input Map is "Filetype Settings". securitySettings
- 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 configuration document used for the settings. Only the
security settings and the filetype settings are used while
converting to PDF document.xmpDoc
- The XMP metadata document to be merged into the generated PDF
document.
ConversionException
InvalidParameterException
FileFormatNotSupportedException
java.util.Map htmlToPdf(java.lang.String inputUrl, java.lang.String fileTypeSettingsName, java.lang.String securitySettingsName, Document settingsDoc, Document xmpDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
inputUrl
- The URL pointing to the webpage or HTML file, which needs to
be converted to PDFfileTypeSettingsName
- securitySettingsName
- fileTypeSettings
- Optional Parameter.While using Client SDK the key to be
supplied in input Map is "Filetype Settings". securitySettings
- 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 configuration document used for the settings. Only the
security settings and the filetype settings are used while
converting to PDF document.xmpDoc
- The XMP metadata document to be merged into the generated PDF
document.
ConversionException
InvalidParameterException
FileFormatNotSupportedException
HtmlToPdfResult htmlToPdf2(java.lang.String inputUrl, java.lang.String fileTypeSettingsName, java.lang.String securitySettingsName, Document settingsDoc, Document xmpDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
inputUrl
- The URL pointing to the webpage or HTML file, which needs to
be converted to PDFfileTypeSettingsName
- securitySettingsName
- fileTypeSettings
- Optional Parameter.While using Client SDK the key to be
supplied in input Map is "Filetype Settings". securitySettings
- 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 configuration document used for the settings. Only the
security settings and the filetype settings are used while
converting to PDF document.xmpDoc
- The XMP metadata document to be merged into the generated PDF
document.
ConversionException
InvalidParameterException
FileFormatNotSupportedException
java.util.Map exportPDF(Document inputDoc, java.lang.String inputFileName, java.lang.String formatType, Document settingsDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
inputDoc
- The document that needs to be converted. inputFileName
- The name of the input document. formatType
- settingsDoc
- The document holding the configuration file. This is typically
ConversionException
InvalidParameterException
FileFormatNotSupportedException
ExportPDFResult exportPDF2(Document inputDoc, java.lang.String inputFileExtension, java.lang.String formatType, Document settingsDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
inputDoc
- The document that needs to be converted. inputFileExtension
- The name of the input document. formatType
- settingsDoc
- The document holding the configuration file. This is typically
ConversionException
InvalidParameterException
FileFormatNotSupportedException
ExportPDFResult exportPDF3(Document inputDoc, java.lang.String inputFileExtension, java.lang.String formatType, Document customPreflightProfile, Document settingsDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
inputDoc
- The document that needs to be converted. inputFileExtension
- The name of the input document. formatType
- customPreflightProfile
- A document containing the custom Preflight profile to be used during conversion to PDF/A. settingsDoc
- The document holding the configuration file. This is typically
ConversionException
InvalidParameterException
FileFormatNotSupportedException
OptimizePDFResult optimizePDF(Document inputDoc, java.lang.String fileTypeSettings, Document settingsDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
inputDoc
- The PDF Document that needs to be optimized.
com.adobe.idp.Document needs to be created over the input
document. Required Parameter.fileTypeSettings
- Optional Parameter.While using Client SDK the key to be
supplied in input Map is "Filetype Settings". settingsDoc
- Optional Parameter. The file that contains settings that need to be applied while
generating the output pdf. If provided, the fileTypeSettings parameter should be
ommitted.ConversionException
InvalidParameterException
FileFormatNotSupportedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |