Package com.datalogics.PDFL
Class SeparationParams
java.lang.Object
com.datalogics.PDFL.SeparationParams
Holds parameters for making color separations. Used with PostScript.
-
Constructor Summary
ConstructorsConstructorDescriptionSeparationParams(List<SeparationPlate> plates) Set up default parameters for making separations. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanIf true, apply print-specific visibility state settings from the optional content group.booleanTrue if a binary channel to the printer is supported, false otherwise.booleanIf true, use the overprint preview (OPP) for converting to process, which better simulates what would happen if the spot ink were really used.booleanIf true, send TrueType fonts as TrueType fonts (level 3 and most level 2 PS printers).The profile description of a valid CMYK profile, such as the strings seen in the color management preferences in a PDF Viewer (for example, "U.S.booleanIf true, emit annotations.Font output options.booleanIf true, emit halftones.booleanIf true, emit separable images only.booleanIf true, emit transfer functions.booleanIf true, invert the plates.Options for mirroring.The optional content context to use for visibility state information, or NULL to use the document's current states in the default context.The page marks to emit for this plate.A list of plates to use for separations.intThe PostScript printing level.booleanIf true, do not include Far East fonts.booleanIf true, suppress CJK substitution.intThe transparency flattening quality level.booleanIf true, color manage DeviceCMYK.booleanIf true, use the western style for page marks.voidsetApplyOCGPrintOverrides(boolean theSetting) If true, apply print-specific visibility state settings from the optional content group.voidsetBinaryChannelAvailable(boolean isAvailable) True if a binary channel to the printer is supported, false otherwise.voidsetConvertToProcessUsingOPP(boolean theSetting) If true, use the overprint preview (OPP) for converting to process, which better simulates what would happen if the spot ink were really used.voidsetConvertTrueTypeToType42(boolean theSetting) If true, send TrueType fonts as TrueType fonts (level 3 and most level 2 PS printers).voidsetDestinationProfileString(String theDestProfile) The profile description of a valid CMYK profile, such as the strings seen in the color management preferences in a PDF Viewr (for example, "U.S.voidsetEmitAnnotations(boolean theSetting) If true, emit annotations.voidsetEmitFontOption(SeparationFontOptions theOption) Font output options.voidsetEmitHalftones(boolean theSetting) If true, emit halftones.voidsetEmitSeparableImagesOnly(boolean theSetting) If true, emit separable images only.voidsetEmitTransferFunctions(boolean theSetting) If true, emit transfer functions.voidsetInvertPlates(boolean theSetting) If true, invert the plates.voidsetMirrorPrint(MirrorOptions theOption) Options for mirroring.voidsetOCContext(OptionalContentContext theContext) The optional content context to use for visibility state information, or NULL to use the document's current states in the default context.voidsetPageMarksToEmit(EnumSet<PageMarkFlags> theMarks) The page marks to emit for this plate.voidsetPlates(List<SeparationPlate> thePlates) A list of plates to use for separations.voidsetPostScriptLevel(int theLevel) The PostScript printing level.voidsetPrinterHasFarEastFonts(boolean theSetting) If true, do not include Far East fonts.voidsetSuppressCJKSubstitution(boolean theSetting) If true, suppress CJK substitution.voidsetTransparencyLevel(int theLevel) The transparency flattening quality level.voidsetUseCMYKWorkingColorSpace(boolean theSetting) If true, color manage DeviceCMYK.voidsetUseWesternStylePageMarks(boolean theSetting) If true, use the western style for page marks.
-
Constructor Details
-
SeparationParams
Set up default parameters for making separations.- Parameters:
plates- The plates to use for making separations.
-
-
Method Details
-
delete
public void delete() -
getPostScriptLevel
public int getPostScriptLevel()The PostScript printing level. 2 means emit as level 2, 3 means level 3. Default is level 2. -
setPostScriptLevel
public void setPostScriptLevel(int theLevel) The PostScript printing level. 2 means emit as level 2, 3 means level 3. Default is level 2. -
getBinaryChannelAvailable
public boolean getBinaryChannelAvailable()True if a binary channel to the printer is supported, false otherwise. Default is false. -
setBinaryChannelAvailable
public void setBinaryChannelAvailable(boolean isAvailable) True if a binary channel to the printer is supported, false otherwise. Default is false. -
getEmitAnnotations
public boolean getEmitAnnotations()If true, emit annotations. Default is false. -
setEmitAnnotations
public void setEmitAnnotations(boolean theSetting) If true, emit annotations. Default is false. -
getEmitHalftones
public boolean getEmitHalftones()If true, emit halftones. Default is true. -
setEmitHalftones
public void setEmitHalftones(boolean theSetting) If true, emit halftones. Default is true. -
getEmitTransferFunctions
public boolean getEmitTransferFunctions()If true, emit transfer functions. Default is true. -
setEmitTransferFunctions
public void setEmitTransferFunctions(boolean theSetting) If true, emit transfer functions. Default is true. -
getEmitSeparableImagesOnly
public boolean getEmitSeparableImagesOnly()If true, emit separable images only. Default is false. -
setEmitSeparableImagesOnly
public void setEmitSeparableImagesOnly(boolean theSetting) If true, emit separable images only. Default is false. -
getSuppressCJKSubstitution
public boolean getSuppressCJKSubstitution()If true, suppress CJK substitution. Default is false. -
setSuppressCJKSubstitution
public void setSuppressCJKSubstitution(boolean theSetting) If true, suppress CJK substitution. Default is false. -
getEmitFontOption
Font output options. Default is EmitAllFonts. -
setEmitFontOption
Font output options. Default is EmitAllFonts. -
getConvertTrueTypeToType42
public boolean getConvertTrueTypeToType42()If true, send TrueType fonts as TrueType fonts (level 3 and most level 2 PS printers). If false, convert TrueType to T1 (typically desirable only for Level 1 PS where no TrueType handling is present). Default is false. -
setConvertTrueTypeToType42
public void setConvertTrueTypeToType42(boolean theSetting) If true, send TrueType fonts as TrueType fonts (level 3 and most level 2 PS printers). If false, convert TrueType to T1 (typically desirable only for Level 1 PS where no TrueType handling is present). Default is false. -
getPrinterHasFarEastFonts
public boolean getPrinterHasFarEastFonts()If true, do not include Far East fonts. Default is false. -
setPrinterHasFarEastFonts
public void setPrinterHasFarEastFonts(boolean theSetting) If true, do not include Far East fonts. Default is false. -
getTransparencyLevel
public int getTransparencyLevel()The transparency flattening quality level. Range is from 0 to 100. Lower values flatten faster. Higher values provide better quality. Default is 75. -
setTransparencyLevel
public void setTransparencyLevel(int theLevel) The transparency flattening quality level. Range is from 0 to 100. Lower values flatten faster. Higher values provide better quality. Default is 75. -
getUseCMYKWorkingColorSpace
public boolean getUseCMYKWorkingColorSpace()If true, color manage DeviceCMYK. If false, pass it directly onto the process plates. Default is false. -
setUseCMYKWorkingColorSpace
public void setUseCMYKWorkingColorSpace(boolean theSetting) If true, color manage DeviceCMYK. If false, pass it directly onto the process plates. Default is false. -
getDestinationProfileString
The profile description of a valid CMYK profile, such as the strings seen in the color management preferences in a PDF Viewer (for example, "U.S. Web Coated (SWOP) v2"). Default is "U.S. Web Coated (SWOP) v2". -
setDestinationProfileString
The profile description of a valid CMYK profile, such as the strings seen in the color management preferences in a PDF Viewr (for example, "U.S. Web Coated (SWOP) v2"). Default is "U.S. Web Coated (SWOP) v2". -
getConvertToProcessUsingOPP
public boolean getConvertToProcessUsingOPP()If true, use the overprint preview (OPP) for converting to process, which better simulates what would happen if the spot ink were really used. Default is false. -
setConvertToProcessUsingOPP
public void setConvertToProcessUsingOPP(boolean theSetting) If true, use the overprint preview (OPP) for converting to process, which better simulates what would happen if the spot ink were really used. Default is false. -
getPlates
A list of plates to use for separations. -
setPlates
A list of plates to use for separations. -
getOCContext
The optional content context to use for visibility state information, or NULL to use the document's current states in the default context. Default is NULL. -
setOCContext
The optional content context to use for visibility state information, or NULL to use the document's current states in the default context. Default is NULL. -
getApplyOCGPrintOverrides
public boolean getApplyOCGPrintOverrides()If true, apply print-specific visibility state settings from the optional content group. Default is false. -
setApplyOCGPrintOverrides
public void setApplyOCGPrintOverrides(boolean theSetting) If true, apply print-specific visibility state settings from the optional content group. Default is false. -
getInvertPlates
public boolean getInvertPlates()If true, invert the plates. Default is false. -
setInvertPlates
public void setInvertPlates(boolean theSetting) If true, invert the plates. Default is false. -
getMirrorPrint
Options for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip. -
setMirrorPrint
Options for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip. -
getPageMarksToEmit
The page marks to emit for this plate. It is a bit-wise OR of the PageMarkFlags values. Default is None. -
setPageMarksToEmit
The page marks to emit for this plate. It is a bit-wise OR of the PageMarkFlags values. Default is None. -
getUseWesternStylePageMarks
public boolean getUseWesternStylePageMarks()If true, use the western style for page marks. Default is false. -
setUseWesternStylePageMarks
public void setUseWesternStylePageMarks(boolean theSetting) If true, use the western style for page marks. Default is false.
-