Class SeparationParams

java.lang.Object
com.datalogics.PDFL.SeparationParams

public class SeparationParams extends Object
Holds parameters for making color separations. Used with PostScript.
  • Constructor Details

    • SeparationParams

      public SeparationParams(List<SeparationPlate> plates)
      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

      public SeparationFontOptions getEmitFontOption()
      Font output options. Default is EmitAllFonts.
    • setEmitFontOption

      public void setEmitFontOption(SeparationFontOptions theOption)
      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

      public String 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

      public void setDestinationProfileString(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. 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

      public List<SeparationPlate> getPlates()
      A list of plates to use for separations.
    • setPlates

      public void setPlates(List<SeparationPlate> thePlates)
      A list of plates to use for separations.
    • getOCContext

      public OptionalContentContext 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

      public void setOCContext(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. 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

      public MirrorOptions getMirrorPrint()
      Options for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip.
    • setMirrorPrint

      public void setMirrorPrint(MirrorOptions theOption)
      Options for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip.
    • getPageMarksToEmit

      public EnumSet<PageMarkFlags> getPageMarksToEmit()
      The page marks to emit for this plate. It is a bit-wise OR of the PageMarkFlags values. Default is None.
    • setPageMarksToEmit

      public void setPageMarksToEmit(EnumSet<PageMarkFlags> theMarks)
      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.