|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.livecycle.convertpdfservice.client.ConvertPdfServiceClient
public class ConvertPdfServiceClient
This class enables you to convert PDF documents to PostScript and image files. For information, see Converting PDF to Postscript and Image Files in Programming with Adobe Experience Manager forms.
| Constructor Summary | |
|---|---|
ConvertPdfServiceClient(ServiceClientFactory serviceClientFactory)
A constructor for creating a ConvertPdfServiceClient object. |
|
| Method Summary | |
|---|---|
boolean |
isSynchronous()
For internal use only. |
void |
setSynchronous(boolean synchronous)
Sets the ConvertPDF service to be invoked synchronously. |
Document |
toImage(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec)
Deprecated. Please use the toImage2 method instead of this method. |
java.util.List |
toImage2(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec)
Converts a PDF document to image files. |
Document |
toPS(Document inPdfDoc,
PSLevel psLevel)
Deprecated. Please use the toPS2 method instead of this method. |
Document |
toPS2(Document inPdfDoc,
ToPSOptionsSpec toPSOptionsSpec)
Converts a PDF document to a PostScript file. |
java.util.List |
toSWF(Document inPdfDoc,
ToSWFOptionsSpec toSWFOptionsSpec)
Converts a PDF document to SWF files. |
void |
unzipArchive(Document inZipDoc,
java.lang.String destDir)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConvertPdfServiceClient(ServiceClientFactory serviceClientFactory)
ConvertPdfServiceClient object.
serviceClientFactory - A ServiceClientFactory instance with valid Adobe Experience Manager forms credentials * where the service is deployed.| Method Detail |
|---|
public boolean isSynchronous()
public void setSynchronous(boolean synchronous)
synchronous - A Boolean value that specifies whether the ConvertPDF service is invoked synchronously.
@Deprecated
public Document toPS(Document inPdfDoc,
PSLevel psLevel)
throws com.adobe.idp.dsc.DSCException,
ConvertPdfException
toPS2 method instead of this method.
inPdfDoc - The Document object representing the PDF document to be converted.psLevel - The PostScript level (2 or 3) to be produced.
Document object representing the converted PostScript.
com.adobe.idp.dsc.DSCException
ConvertPdfException
public Document toPS2(Document inPdfDoc,
ToPSOptionsSpec toPSOptionsSpec)
throws com.adobe.idp.dsc.DSCException,
ConvertPdfException
To see this method used in a code example, see the Converting a PDF document to PostScript using the Java API quick start in Programming with Adobe Experience Manager forms.
inPdfDoc - The Document object representing the PDF document to convert.toPSOptionsSpec - A ToPSOptionsSpec object that contains conversion run-time options.
Document object representing the converted PostScript.
com.adobe.idp.dsc.DSCException
ConvertPdfException
@Deprecated
public Document toImage(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec)
throws com.adobe.idp.dsc.DSCException,
ConvertPdfException
toImage2 method instead of this method.
Document, except in the case of TIFF files, in which case .tiff files are returned.
Supported image formats are JPEG, JPEG2K, PNG and TIFF.
inPdfDoc - The Document object representing the PDF document to convert.toImageOptionsSpec - Contains various preferences used to convert
the PDF document to an image file.
Document object for the output image files archived
in Zip format.
ConvertPdfException
com.adobe.idp.dsc.DSCExceptionToImageOptionsSpec
public java.util.List toImage2(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec)
throws com.adobe.idp.dsc.DSCException,
ConvertPdfException
java.util.List object.
To see this method used in a code example, see the Converting a PDF document to JPEG files using the Java API quick start in Programming with Adobe Experience Manager forms.
inPdfDoc - A Document object representing the PDF document to convert.toImageOptionsSpec - Contains conversion run-time options used to convert a PDF document to image files.
java.util.List object that contains image files.
ConvertPdfException
com.adobe.idp.dsc.DSCExceptionToImageOptionsSpec
public java.util.List toSWF(Document inPdfDoc,
ToSWFOptionsSpec toSWFOptionsSpec)
throws com.adobe.idp.dsc.DSCException,
ConvertPdfException
java.util.List object.
inPdfDoc - A Document object representing the PDF document to convert.toSWFOptionsSpec - Contains conversion run-time options used to convert a PDF document to SWF files.
java.util.List object that contains SWF files.
ConvertPdfException
com.adobe.idp.dsc.DSCExceptionToSWFOptionsSpec
@Deprecated
public void unzipArchive(Document inZipDoc,
java.lang.String destDir)
throws com.adobe.idp.dsc.DSCException,
ConvertPdfException
inZipDoc - The Document object constructed from the Zip file.destDir - The output directory.
ConvertPdfException
com.adobe.idp.dsc.DSCException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||