Class PDFOutputDevice
- java.lang.Object
-
- com.levigo.jadice.server.ghostscript.OutputDevice
-
- com.levigo.jadice.server.ghostscript.PDFOutputDevice
-
- All Implemented Interfaces:
Serializable
public class PDFOutputDevice extends OutputDevice
AnOutputDevice
generating Adobe PDF files.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PDFOutputDevice.AutoRotate
static class
PDFOutputDevice.DownsampleType
static class
PDFOutputDevice.ProcessColorModel
static class
PDFOutputDevice.Version
The version of PDF to generate.
-
Constructor Summary
Constructors Constructor Description PDFOutputDevice()
-
Method Summary
-
Methods inherited from class com.levigo.jadice.server.ghostscript.OutputDevice
fillOptions
-
-
-
-
Method Detail
-
getGhostscriptOutputDeviceName
protected String getGhostscriptOutputDeviceName()
- Specified by:
getGhostscriptOutputDeviceName
in classOutputDevice
-
getVersion
public PDFOutputDevice.Version getVersion()
-
setVersion
public void setVersion(PDFOutputDevice.Version version)
-
getResolution
public int getResolution()
-
setResolution
public void setResolution(int resolution)
-
getProcessColorModel
public PDFOutputDevice.ProcessColorModel getProcessColorModel()
-
setProcessColorModel
public void setProcessColorModel(PDFOutputDevice.ProcessColorModel processColorModel)
-
getMaxInlineImageSize
public int getMaxInlineImageSize()
-
setMaxInlineImageSize
public void setMaxInlineImageSize(int maxInlineImageSize)
-
isPatternImagemask
public boolean isPatternImagemask()
-
setPatternImagemask
public void setPatternImagemask(boolean patternImagemask)
-
getMaxClipPathSize
public int getMaxClipPathSize()
-
setMaxClipPathSize
public void setMaxClipPathSize(int maxClipPathSize)
-
getMaxShadingBitmapSize
public int getMaxShadingBitmapSize()
-
setMaxShadingBitmapSize
public void setMaxShadingBitmapSize(int maxShadingBitmapSize)
-
isHaveTransparency
public boolean isHaveTransparency()
-
setHaveTransparency
public void setHaveTransparency(boolean haveTransparency)
-
getOwnerPassword
public String getOwnerPassword()
-
setOwnerPassword
public void setOwnerPassword(String ownerPassword)
-
getUserPassword
public String getUserPassword()
-
setUserPassword
public void setUserPassword(String userPassword)
-
getPermissions
public int getPermissions()
-
setPermissions
public void setPermissions(int permissions)
-
getEncryptionRevision
public int getEncryptionRevision()
-
setEncryptionRevision
public void setEncryptionRevision(int encryptionRevision)
-
getKeyLength
public int getKeyLength()
-
setKeyLength
public void setKeyLength(int keyLength)
-
getDocumentUUID
public String getDocumentUUID()
-
setDocumentUUID
public void setDocumentUUID(String documentUUID)
-
getInstanceUUID
public String getInstanceUUID()
-
setInstanceUUID
public void setInstanceUUID(String instanceUUID)
-
getDscEncoding
public String getDscEncoding()
-
setDscEncoding
public void setDscEncoding(String dscEncoding)
-
isAscii85EncodePages
public boolean isAscii85EncodePages()
-
setAscii85EncodePages
public void setAscii85EncodePages(boolean ascii85EncodePages)
-
getAutoRotatePages
public PDFOutputDevice.AutoRotate getAutoRotatePages()
-
setAutoRotatePages
public void setAutoRotatePages(PDFOutputDevice.AutoRotate autoRotatePages)
-
getColorImageResolution
public int getColorImageResolution()
-
setColorImageResolution
public void setColorImageResolution(int colorImageResolution)
-
isCompressPages
public boolean isCompressPages()
-
setCompressPages
public void setCompressPages(boolean compressPages)
-
isConvertCMYKImagesToRGB
public boolean isConvertCMYKImagesToRGB()
-
setConvertCMYKImagesToRGB
public void setConvertCMYKImagesToRGB(boolean convertCMYKImagesToRGB)
-
getDefaultRenderingIntent
public String getDefaultRenderingIntent()
-
setDefaultRenderingIntent
public void setDefaultRenderingIntent(String defaultRenderingIntent)
-
isDownsampleColorImages
public boolean isDownsampleColorImages()
-
setDownsampleColorImages
public void setDownsampleColorImages(boolean downsampleColorImages)
-
isDownsampleGrayImages
public boolean isDownsampleGrayImages()
-
setDownsampleGrayImages
public void setDownsampleGrayImages(boolean downsampleGrayImages)
-
isDownsampleMonoImages
public boolean isDownsampleMonoImages()
-
setDownsampleMonoImages
public void setDownsampleMonoImages(boolean downsampleMonoImages)
-
isEmbedAllFonts
public boolean isEmbedAllFonts()
-
setEmbedAllFonts
public void setEmbedAllFonts(boolean embedAllFonts)
-
isEncodeColorImages
public boolean isEncodeColorImages()
-
setEncodeColorImages
public void setEncodeColorImages(boolean encodeColorImages)
-
isEncodeGrayImages
public boolean isEncodeGrayImages()
-
setEncodeGrayImages
public void setEncodeGrayImages(boolean encodeGrayImages)
-
isEncodeMonoImages
public boolean isEncodeMonoImages()
-
setEncodeMonoImages
public void setEncodeMonoImages(boolean encodeMonoImages)
-
getGrayImageDepth
public int getGrayImageDepth()
-
setGrayImageDepth
public void setGrayImageDepth(int grayImageDepth)
-
getGrayImageDownsampleThreshold
public float getGrayImageDownsampleThreshold()
-
setGrayImageDownsampleThreshold
public void setGrayImageDownsampleThreshold(float grayImageDownsampleThreshold)
-
getGrayImageDownsampleType
public PDFOutputDevice.DownsampleType getGrayImageDownsampleType()
-
setGrayImageDownsampleType
public void setGrayImageDownsampleType(PDFOutputDevice.DownsampleType grayImageDownsampleType)
-
getGrayImageFilter
public String getGrayImageFilter()
-
setGrayImageFilter
public void setGrayImageFilter(String grayImageFilter)
-
getGrayImageResolution
public int getGrayImageResolution()
-
setGrayImageResolution
public void setGrayImageResolution(int grayImageResolution)
-
getMaxSubsetPct
public int getMaxSubsetPct()
-
setMaxSubsetPct
public void setMaxSubsetPct(int maxSubsetPct)
-
getMonoImageDepth
public int getMonoImageDepth()
-
setMonoImageDepth
public void setMonoImageDepth(int monoImageDepth)
-
getMonoImageDownsampleThreshold
public float getMonoImageDownsampleThreshold()
-
setMonoImageDownsampleThreshold
public void setMonoImageDownsampleThreshold(float monoImageDownsampleThreshold)
-
getMonoImageDownsampleType
public PDFOutputDevice.DownsampleType getMonoImageDownsampleType()
-
setMonoImageDownsampleType
public void setMonoImageDownsampleType(PDFOutputDevice.DownsampleType monoImageDownsampleType)
-
getMonoImageFilter
public String getMonoImageFilter()
-
setMonoImageFilter
public void setMonoImageFilter(String monoImageFilter)
-
getMonoImageResolution
public int getMonoImageResolution()
-
setMonoImageResolution
public void setMonoImageResolution(int monoImageResolution)
-
getOffOptimizations
public int getOffOptimizations()
-
setOffOptimizations
public void setOffOptimizations(int offOptimizations)
-
getOPM
public int getOPM()
-
setOPM
public void setOPM(int opm)
-
isOptimize
public boolean isOptimize()
-
setOptimize
public void setOptimize(boolean optimize)
-
isParseDSCComments
public boolean isParseDSCComments()
-
setParseDSCComments
public void setParseDSCComments(boolean parseDSCComments)
-
isParseDSCCommentsForDocInfo
public boolean isParseDSCCommentsForDocInfo()
-
setParseDSCCommentsForDocInfo
public void setParseDSCCommentsForDocInfo(boolean parseDSCCommentsForDocInfo)
-
isPreserveHalftoneInfo
public boolean isPreserveHalftoneInfo()
-
setPreserveHalftoneInfo
public void setPreserveHalftoneInfo(boolean preserveHalftoneInfo)
-
isPreserveOverprintSettings
public boolean isPreserveOverprintSettings()
-
setPreserveOverprintSettings
public void setPreserveOverprintSettings(boolean preserveOverprintSettings)
-
isSubsetFonts
public boolean isSubsetFonts()
-
setSubsetFonts
public void setSubsetFonts(boolean subsetFonts)
-
getTransferFunctionInfo
public String getTransferFunctionInfo()
-
setTransferFunctionInfo
public void setTransferFunctionInfo(String transferFunctionInfo)
-
getUCRandBGInfo
public String getUCRandBGInfo()
-
setUCRandBGInfo
public void setUCRandBGInfo(String randBGInfo)
-
isUseFlateCompression
public boolean isUseFlateCompression()
-
setUseFlateCompression
public void setUseFlateCompression(boolean useFlateCompression)
-
getOutputMimeType
public String getOutputMimeType()
- Specified by:
getOutputMimeType
in classOutputDevice
-
-