|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.convertpdfservice.client.ToImageOptionsSpec
public class ToImageOptionsSpec
Enables you to define run-time options that control how the Convert PDF service converts a PDF document to image files.To see this data type 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.
Constructor Summary | |
---|---|
ToImageOptionsSpec()
The standard default constructor. |
|
ToImageOptionsSpec(java.lang.String sOptions)
A constructor that enables you to specify a standard query string that sets conversion run-time options. |
Method Summary | |
---|---|
CMYKPolicy |
getCmykPolicy()
Retrieves the CMYK policy. |
ColorCompression |
getColorCompression()
Retrieves the color compression. |
ColorSpace |
getColorSpace()
Retrieves the color space. |
PNGFilter |
getFilter()
Retrieves the PNG filter value. |
JPEGFormat |
getFormat()
Retrieves the JPEG format. |
GrayScaleCompression |
getGrayScaleCompression()
Retrieves the grayscale compression. |
GrayScalePolicy |
getGrayScalePolicy()
Retrieves the grayscale policy. |
ImageConvertFormat |
getImageConvertFormat()
Retrieves the image conversion format. |
java.lang.String |
getImageSizeHeight()
Returns a string value that specifies the page height of the resulting image file. |
java.lang.String |
getImageSizeWidth()
Returns a string value that specifies the page width of the resulting image file. |
Interlace |
getInterlace()
Retrieves the interlace. |
MonochromeCompression |
getMonochrome()
Retrieves the monochrome compression. |
java.lang.Boolean |
getMultiPageTiff()
Specifies whether the output TIFF should be located on multiple pages. |
java.lang.String |
getOptions()
Retrieves the entire option string. |
java.lang.String |
getPageRange()
Returns a string value that specifies the page range value. |
java.lang.String |
getProperty(java.lang.String key)
For internal use only. |
java.lang.String |
getResolution()
Retrieves the image resolution. |
RGBPolicy |
getRgbPolicy()
Retrieves the RGB policy. |
int |
getRowsPerStrip()
Gets the rows for each strip. |
int |
getTileSize()
Retrieves the tile size. |
boolean |
isIncludeComments()
Specifies whether comments are included when converting the PDF document. |
boolean |
isUseLegacyImageSizeBehavior()
returns the option whether the legacy image size behavior needs to be used or not |
void |
resetProperty(java.lang.String key)
Resets the specified property. |
void |
setCmykPolicy(CMYKPolicy cmykPolicy)
Sets the CMYK policy. |
void |
setColorCompression(ColorCompression colorCompression)
Sets the color compression. |
void |
setColorSpace(ColorSpace colorSpace)
Sets the color space. |
void |
setFilter(PNGFilter filter)
Sets the filter. |
void |
setFormat(JPEGFormat format)
Sets the JPEG format. |
void |
setGrayScaleCompression(GrayScaleCompression grayScaleCompression)
Sets the grayscale compression. |
void |
setGrayScalePolicy(GrayScalePolicy grayScalePolicy)
Sets the grayscale policy. |
void |
setImageConvertFormat(ImageConvertFormat imageConvertFormat)
Sets the image conversion format. |
void |
setImageSizeHeight(java.lang.String imageSizeHeight)
Sets the image height of the resulting image file. |
void |
setImageSizeWidth(java.lang.String imageSizeWidth)
Sets the image width of the resulting image file. |
void |
setIncludeComments(boolean includeComments)
Specifies that comments are included when converting the PDF document. |
void |
setInterlace(Interlace interlace)
Sets the interlace. |
void |
setMonochrome(MonochromeCompression monochrome)
Sets the monochrome compression. |
void |
setMultiPageTiff(java.lang.Boolean multiPageTiff)
Sets whether the output TIFF should be located on multiple pages. |
void |
setPageRange(java.lang.String pageRange)
Sets a string value that specifies the page range value. |
void |
setResolution(java.lang.String resolution)
Sets the image resolution. |
void |
setRgbPolicy(RGBPolicy rgbPolicy)
Sets the RGB policy. |
void |
setRowsPerStrip(int rowsPerStrip)
Sets the rows for each strip. |
void |
setTileSize(int tileSize)
Sets the image tile size. |
void |
setUseLegacyImageSizeBehavior(boolean useLegacyImageSizeBehavior)
sets the option to use legacy image size behavior or not |
java.lang.String |
toString()
Retrieves the entire option string. |
void |
updateOptionsBean(java.lang.String key,
java.lang.String value)
For internal use only. |
void |
updateOptionsSpec(java.lang.String options)
For internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ToImageOptionsSpec()
public ToImageOptionsSpec(java.lang.String sOptions) throws ConvertPdfException
ConversionFormat=jpeg&GrayCompression=low
.
ConvertPdfException
Method Detail |
---|
public boolean isUseLegacyImageSizeBehavior()
public void setUseLegacyImageSizeBehavior(boolean useLegacyImageSizeBehavior)
useLegacyImageSizeBehavior
- public ImageConvertFormat getImageConvertFormat()
ImageConvertFormat
enumeration value that specifies the image conversion format.ImageConvertFormat
public void setImageConvertFormat(ImageConvertFormat imageConvertFormat)
imageConvertFormat
- An ImageConvertFormat
enumeration value that specifies the image conversion format.ImageConvertFormat
public CMYKPolicy getCmykPolicy()
CMYKPolicy
enumeration value that specifies the CMYK policy.CMYKPolicy
public void setCmykPolicy(CMYKPolicy cmykPolicy)
cmykPolicy
- A CMYKPolicy
enumeration value that specifies the CMYK policy.CMYKPolicy
public ColorCompression getColorCompression()
ColorCompression
enumeration value that specifies the color compression option.ColorCompression
public void setColorCompression(ColorCompression colorCompression)
colorCompression
- A ColorCompression
enumeration value that specifies the color compression option.ColorCompression
public ColorSpace getColorSpace()
ColorSpace
enumeration value that specifies the color space option.ColorSpace
public void setColorSpace(ColorSpace colorSpace)
colorSpace
- A ColorSpace
enumeration value that specifies the color space option.ColorSpace
public PNGFilter getFilter()
PNGFilter
enumeration value that specifies the PNG filter value.PNGFilter
public void setFilter(PNGFilter filter)
filter
- A PNGFilter
enumeration value that specifies the PNG filter value.PNGFilter
public JPEGFormat getFormat()
JPEGFormat
enumeration value that specifies the JPEG format.JPEGFormat
public void setFormat(JPEGFormat format)
format
- A JPEGFormat
enumeration value that specifies the JPEG format.JPEGFormat
public GrayScaleCompression getGrayScaleCompression()
GrayScaleCompression
enumeration value that specifies the grayscale compression.GrayScaleCompression
public void setGrayScaleCompression(GrayScaleCompression grayScaleCompression)
grayScaleCompression
- A GrayScaleCompression
enumeration value that specifies the grayscale compression.GrayScaleCompression
public GrayScalePolicy getGrayScalePolicy()
GrayScalePolicy
enumeration value that specifies the grayscale compression policy.GrayScalePolicy
public void setGrayScalePolicy(GrayScalePolicy grayScalePolicy)
grayScalePolicy
- A GrayScalePolicy
enumeration value that specifies the grayscale compression policy.GrayScalePolicy
public Interlace getInterlace()
Interlace
enumeration value that specifies the interlace.Interlace
public void setInterlace(Interlace interlace)
interlace
- An Interlace
enumeration value that specifies the interlace.Interlace
public MonochromeCompression getMonochrome()
MonochromeCompression
enumeration value that specifies the monochrome compression.MonochromeCompression
public void setMonochrome(MonochromeCompression monochrome)
monochrome
- A MonochromeCompression
enumeration value that specifies the monochrome compression.MonochromeCompression
public java.lang.String getResolution()
public void setResolution(java.lang.String resolution)
resolution
- A string value that specifies the image resolution.public RGBPolicy getRgbPolicy()
RGBPolicy
enumeration value that specifies the RGB policy.RGBPolicy
public void setRgbPolicy(RGBPolicy rgbPolicy)
rgbPolicy
- A RGBPolicy
enumeration value that specifies the RGB policy.RGBPolicy
public int getTileSize()
128-2048
.public void setTileSize(int tileSize)
tileSize
- The image tile size. It must be assigned a value in the following range: 128-2048
.public int getRowsPerStrip()
public void setRowsPerStrip(int rowsPerStrip)
rowsPerStrip
- The number of rows for each strip.public java.lang.Boolean getMultiPageTiff()
public void setMultiPageTiff(java.lang.Boolean multiPageTiff)
multiPageTiff
- A boolean value that specifies whether the output TIFF file should be on multiple pages.public boolean isIncludeComments()
public void setIncludeComments(boolean includeComments)
A
- boolean value that specifies whether comments are included.public java.lang.String getImageSizeHeight()
setImageSizeHeight()
public void setImageSizeHeight(java.lang.String imageSizeHeight)
imageSizeHeight
- A string value that specifies the image height of the resulting image file.
This does not work in toImage API and should be used only with toImage2 API.public java.lang.String getImageSizeWidth()
setImageSizeWidth()
public void setImageSizeWidth(java.lang.String imageSizeWidth)
imageSizeWidth
- A string value that specifies the image width of the resulting image file.
This does not work in toImage API and should be used only with toImage2 API.public java.lang.String getPageRange()
public void setPageRange(java.lang.String pageRange)
pageRange
- the pageRange to setpublic void updateOptionsSpec(java.lang.String options) throws ConvertPdfException
ConvertPdfException
public void updateOptionsBean(java.lang.String key, java.lang.String value) throws ConvertPdfException
ConvertPdfException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getOptions()
public void resetProperty(java.lang.String key)
key
- The property name.public java.lang.String getProperty(java.lang.String key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |