|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AFPCustomizable
Interface used to customize the AFP renderer or document handler.
Method Summary | |
---|---|
void |
canEmbedJpeg(boolean canEmbed)
Sets whether or not to JPEG images can be embedded in the AFP document. |
boolean |
getFS45()
gets whether images should be FS45 |
int |
getResolution()
Returns the output/device resolution. |
boolean |
getWrapPSeg()
gets whether FS11 and FS45 non-inline images should be wrapped in a page segment |
boolean |
isGOCAEnabled()
Indicates whether GOCA is enabled or disabled. |
boolean |
isStrokeGOCAText()
Indicates whether to stroke text in GOCA mode or to use text operators where possible. |
void |
setBitmapEncodingQuality(float quality)
Sets the image encoding quality setting to use when encoding bitmap images. |
void |
setBitsPerPixel(int bitsPerPixel)
Sets the number of bits used per pixel |
void |
setCMYKImagesSupported(boolean value)
Controls whether CMYK images (IOCA FS45) are enabled. |
void |
setColorImages(boolean colorImages)
Sets whether images are color or not |
void |
setDefaultResourceGroupUri(java.net.URI uri)
Sets the default resource group URI |
void |
setDitheringQuality(float quality)
Sets the dithering quality setting to use when converting images to monochrome images. |
void |
setFS45(boolean fs45)
set true if images should be FS45 |
void |
setGOCAEnabled(boolean enabled)
Controls whether GOCA is enabled or disabled. |
void |
setLineWidthCorrection(float correction)
Sets the line width correction |
void |
setNativeImagesSupported(boolean nativeImages)
Sets whether images are supported natively or not |
void |
setResolution(int resolution)
Sets the output/device resolution |
void |
setResourceLevelDefaults(AFPResourceLevelDefaults defaults)
Sets the resource level defaults. |
void |
setShadingMode(AFPShadingMode shadingMode)
Sets the shading mode for painting filled rectangles. |
void |
setStrokeGOCAText(boolean stroke)
Controls whether to stroke text in GOCA mode or to use text operators where possible. |
void |
setWrapPSeg(boolean pSeg)
Sets whether FS11 and FS45 non-inline images should be wrapped in a page segment |
Method Detail |
---|
void setBitsPerPixel(int bitsPerPixel)
bitsPerPixel
- number of bits per pixelvoid setColorImages(boolean colorImages)
colorImages
- color image outputvoid setNativeImagesSupported(boolean nativeImages)
nativeImages
- native image supportvoid setCMYKImagesSupported(boolean value)
value
- true to enabled CMYK imagesvoid setShadingMode(AFPShadingMode shadingMode)
shadingMode
- the shading modevoid setDitheringQuality(float quality)
quality
- Defines the desired quality level for the conversion.
Valid values: a value between 0.0f (fastest) and 1.0f (best)void setBitmapEncodingQuality(float quality)
quality
- Defines the desired quality level.
Valid values: a value between 0.0f (lowest) and 1.0f (best, loss-less)void setResolution(int resolution)
resolution
- the output resolution (dpi)void setLineWidthCorrection(float correction)
correction
- the line width multiplying factor correctionvoid setWrapPSeg(boolean pSeg)
pSeg
- true iff images should be wrappedvoid setFS45(boolean fs45)
fs45
- true iff images should be FS45boolean getWrapPSeg()
boolean getFS45()
int getResolution()
void setGOCAEnabled(boolean enabled)
enabled
- true if GOCA is enabled, false if it is disabledboolean isGOCAEnabled()
void setStrokeGOCAText(boolean stroke)
stroke
- true to stroke, false to paint with text operators where possibleboolean isStrokeGOCAText()
void setDefaultResourceGroupUri(java.net.URI uri)
uri
- the default resource group URIvoid setResourceLevelDefaults(AFPResourceLevelDefaults defaults)
defaults
- the resource level defaultsvoid canEmbedJpeg(boolean canEmbed)
canEmbed
- whether or not to embed JPEG image
|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |