|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.convertpdf.docservice.ConvertPdfServiceImpl
public class ConvertPdfServiceImpl
This class exposes the submit and getResult APIs as doc service operations.
| Field Summary |
|---|
| Fields inherited from interface com.adobe.convertpdf.docservice.ConvertPdfService |
|---|
DRAW_SMOOTH_IMAGE, DRAW_SMOOTH_LINE_ART, DRAW_SMOOTH_TEXT, THRESHOLD_RESOLUTION_FOR_SMOOTHING |
| Constructor Summary | |
|---|---|
ConvertPdfServiceImpl()
|
|
| Method Summary | |
|---|---|
int |
getThresholdResolutionForSmoothing()
Returns the Threshold Resolution For Smoothing (in dpi). |
TransactionTemplate |
getTransactionTemplate()
|
int |
getTransactionTimeOut()
|
java.lang.String |
getTransactionType()
|
boolean |
isDrawSmoothImage()
Returns the boolean flag that decides whether to apply smoothing functions to Images. |
boolean |
isDrawSmoothLineArt()
Returns the boolean flag that decides whether to apply smoothing functions to LineArt. |
boolean |
isDrawSmoothText()
Returns the boolean flag that decides whether to apply smoothing functions to text. |
void |
setDrawSmoothImage(boolean drawSmoothImage)
Sets the boolean flag that decides whether to apply smoothing functions to Images. |
void |
setDrawSmoothLineArt(boolean drawSmoothLineArt)
Sets the boolean flag that decides whether to apply smoothing functions to LineArt. |
void |
setDrawSmoothText(boolean drawSmoothText)
Sets the boolean flag that decides whether to apply smoothing functions to text. |
void |
setThresholdResolutionForSmoothing(int thresholdResolutionForSmoothing)
Sets the Threshold Resolution For Smoothing (in dpi). |
void |
setTransactionTemplate(TransactionTemplate aTemplate)
|
void |
setTransactionTimeOut(int transactionTimeOut)
|
void |
setTransactionType(java.lang.String transactionType)
|
Document |
toImage(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec)
Deprecated. |
java.util.List |
toImage2(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec)
This method converts the PDF document to List of Images. |
java.util.List |
toImage2InTxn(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec,
java.lang.String archive)
|
Document |
toPS(Document inPdfDoc,
PSLevel psLevel)
Deprecated. |
Document |
toPS2(Document inPdfDoc,
ToPSOptionsSpec toPSOptionsSpec)
This method converts the given Flat PDF file to PostScript format using the options specified in the option spec |
java.util.List |
toSWF(Document inPdfDoc,
ToSWFOptionsSpec toSWFOptionsSpec)
This method converts a PDF document to a List of SWF documents using the options specified in the option spec |
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 ConvertPdfServiceImpl()
| Method Detail |
|---|
public int getThresholdResolutionForSmoothing()
ConvertPdfService
getThresholdResolutionForSmoothing in interface ConvertPdfServicepublic void setThresholdResolutionForSmoothing(int thresholdResolutionForSmoothing)
ConvertPdfService
setThresholdResolutionForSmoothing in interface ConvertPdfServicepublic boolean isDrawSmoothText()
ConvertPdfService
isDrawSmoothText in interface ConvertPdfServicepublic void setDrawSmoothText(boolean drawSmoothText)
ConvertPdfService
setDrawSmoothText in interface ConvertPdfServicepublic boolean isDrawSmoothLineArt()
ConvertPdfService
isDrawSmoothLineArt in interface ConvertPdfServicepublic void setDrawSmoothLineArt(boolean drawSmoothLineArt)
ConvertPdfService
setDrawSmoothLineArt in interface ConvertPdfServicepublic boolean isDrawSmoothImage()
ConvertPdfService
isDrawSmoothImage in interface ConvertPdfServicepublic void setDrawSmoothImage(boolean drawSmoothImage)
ConvertPdfService
setDrawSmoothImage in interface ConvertPdfServicepublic void setTransactionTemplate(TransactionTemplate aTemplate)
public TransactionTemplate getTransactionTemplate()
public Document toPS(Document inPdfDoc,
PSLevel psLevel)
throws ConvertPdfException
toPS in interface ConvertPdfServicesourcePdf - Document object for the source PDFpsLevel - The version level for the output PostScript
Document The document object for the output PostScript
file.
ConvertPdfException
public Document toPS2(Document inPdfDoc,
ToPSOptionsSpec toPSOptionsSpec)
throws ConvertPdfException
toPS2 in interface ConvertPdfServicesourcePdf - Document object for the source PDFtoPSOptionsSpec - ToPSOptionsSpec Option spec for toPS
Document The document object for the output PostScript
file.
ConvertPdfException
public Document toImage(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec)
throws ConvertPdfException
toImage in interface ConvertPdfServiceinPdfDoc - - PDF document to be converted to ImagetoImageOptionsSpec - - Various options for image conversions including image
format.
Document The document object for the output Image files archived
in ZIP format.
ConvertPdfException
public java.util.List toImage2(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec)
throws ConvertPdfException
toImage2 in interface ConvertPdfServiceinPdfDoc - - PDF document to be converted to ImagetoImageOptionsSpec - - Various options for image conversions including image
format.
List the list of Document objects containing the images.
ConvertPdfException
public java.util.List toImage2InTxn(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec,
java.lang.String archive)
throws ConvertPdfException
ConvertPdfException
public void unzipArchive(Document inZipDoc,
java.lang.String destDir)
throws ConvertPdfException
unzipArchive in interface ConvertPdfServiceinZipDoc - destDir -
ConvertPdfExceptionpublic int getTransactionTimeOut()
public void setTransactionTimeOut(int transactionTimeOut)
transactionTimeOut - The transactionTimeOut to set.public java.lang.String getTransactionType()
public void setTransactionType(java.lang.String transactionType)
transactionType - The transactionType to set.
public java.util.List toSWF(Document inPdfDoc,
ToSWFOptionsSpec toSWFOptionsSpec)
throws ConvertPdfException
toSWF in interface ConvertPdfServiceinPdfDoc - Document object for the source PDFtoSWFOptionsSpec - ToSWFOptionsSpec option spec
List, the list of SWF Document objects.
ConvertPdfException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||