SeparationParams Class Documentation
classSeparationParamsNamespace:datalogics_interface
Detailed Description
Holds parameters for making color separations. Used with PostScript.
Constructor & Destructor Documentation
SeparationParams
SeparationParams(const SeparationParams &other)Parameters
other: const SeparationParams &
Copy constructor.
SeparationParams
SeparationParams(SeparationParams &&)Parameters
SeparationParams
SeparationParams(std::vector< SeparationPlate >plates)Parameters
plates: std::vector< SeparationPlate >The plates to use for making separations.
Set up default parameters for making separations.
~SeparationParams
~SeparationParams()Member Function Documentation
get_apply_ocg_print_overrides
boolget_apply_ocg_print_overrides()Returns:
boolIf true, apply print-specific visibility state settings from the optional content group. Default is false.
get_binary_channel_available
boolget_binary_channel_available()Returns:
boolTrue if a binary channel to the printer is supported, false otherwise. Default is false.
get_convert_to_process_using_opp
boolget_convert_to_process_using_opp()Returns:
boolIf 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.
get_convert_true_type_to_type42
boolget_convert_true_type_to_type42()Returns:
boolIf 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.
get_destination_profile_string
std::stringget_destination_profile_string()Returns:
std::stringThe 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".
get_emit_annotations
boolget_emit_annotations()Returns:
boolIf true, emit annotations. Default is false.
get_emit_font_option
SeparationFontOptionget_emit_font_option()Returns:
SeparationFontOptionFont output options. Default is EmitAllFonts.
get_emit_halftones
boolget_emit_halftones()Returns:
boolIf true, emit halftones. Default is true.
get_emit_separable_images_only
boolget_emit_separable_images_only()Returns:
boolIf true, emit separable images only. Default is false.
get_emit_transfer_functions
boolget_emit_transfer_functions()Returns:
boolIf true, emit transfer functions. Default is true.
get_invert_plates
boolget_invert_plates()Returns:
boolIf true, invert the plates. Default is false.
get_mirror_print
MirrorOptionget_mirror_print()Returns:
MirrorOptionOptions for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip.
get_page_marks_to_emit
PageMarkFlagsget_page_marks_to_emit()Returns:
PageMarkFlagsThe page marks to emit for this plate. It is a bit-wise OR of the PageMarkFlags values. Default is None.
get_plates
std::vector< SeparationPlate >get_plates()Returns:
std::vector< SeparationPlate >A list of plates to use for separations.
get_post_script_level
intget_post_script_level()Returns:
intThe PostScript printing level. 2 means emit as level 2, 3 means level 3. Default is level 2.
get_printer_has_far_east_fonts
boolget_printer_has_far_east_fonts()Returns:
boolIf true, do not include Far East fonts. Default is false.
get_suppress_cjk_substitution
boolget_suppress_cjk_substitution()Returns:
boolIf true, suppress CJK substitution. Default is false.
get_transparency_level
intget_transparency_level()Returns:
intThe transparency flattening quality level. Range is from 0 to 100. Lower values flatten faster. Higher values provide better quality. Default is
get_use_cmyk_working_color_space
boolget_use_cmyk_working_color_space()Returns:
boolIf true, color manage DeviceCMYK. If false, pass it directly onto the process plates. Default is false.
get_use_western_style_page_marks
boolget_use_western_style_page_marks()Returns:
boolIf true, use the western style for page marks. Default is false.
operator=
SeparationParams &operator=(const SeparationParams &other)Parameters
other: const SeparationParams &
Returns:
SeparationParams &Copy assignment.
operator=
SeparationParams &operator=(SeparationParams &&)Parameters
Returns:
SeparationParams &set_apply_ocg_print_overrides
voidset_apply_ocg_print_overrides(boolvalue)Parameters
value: booltrue to apply print-specific visibility state settings from the optional content group. Default is false
Returns:
voidIf true, apply print-specific visibility state settings from the optional content group. Default is false.
set_binary_channel_available
voidset_binary_channel_available(boolvalue)Parameters
value: booltrue if a binary channel to the printer is supported, false otherwise. Default is false.
Returns:
voidTrue if a binary channel to the printer is supported, false otherwise. Default is false.
set_convert_to_process_using_opp
voidset_convert_to_process_using_opp(boolvalue)Parameters
value: booltrue to use the overprint preview (OPP) for converting to process, which better simulates what would happen if t...
Returns:
voidIf 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.
set_convert_true_type_to_type42
voidset_convert_true_type_to_type42(boolvalue)Parameters
value: booltrue to send TrueType fonts as TrueType fonts (level 3 and most level 2 PS printers). If false, convert TrueType...
Returns:
voidIf 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.
set_destination_profile_string
voidset_destination_profile_string(const std::string &profile)Parameters
profile: const std::string &the profile description of a valid CMYK profile, such as the strings seen in the color management preferences in a PD...
Returns:
voidThe 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".
set_emit_annotations
voidset_emit_annotations(boolvalue)Parameters
value: booltrue to emit annotations. Default is false
Returns:
voidIf true, emit annotations. Default is false.
set_emit_font_option
voidset_emit_font_option(SeparationFontOptionoption)Parameters
option: SeparationFontOptionthe font output options. Default is EmitAllFonts
Returns:
voidFont output options. Default is EmitAllFonts.
set_emit_halftones
voidset_emit_halftones(boolvalue)Parameters
value: booltrue to emit halftones. Default is true
Returns:
voidIf true, emit halftones. Default is true.
set_emit_separable_images_only
voidset_emit_separable_images_only(boolvalue)Parameters
value: booltrue to emit separable images only. Default is false
Returns:
voidIf true, emit separable images only. Default is false.
set_emit_transfer_functions
voidset_emit_transfer_functions(boolvalue)Parameters
value: booltrue to emit transfer functions. Default is true
Returns:
voidIf true, emit transfer functions. Default is true.
set_invert_plates
voidset_invert_plates(boolvalue)Parameters
value: booltrue to invert the plates. Default is false
Returns:
voidIf true, invert the plates. Default is false.
set_mirror_print
voidset_mirror_print(MirrorOptionoption)Parameters
option: MirrorOptionthe options for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip
Returns:
voidOptions for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip.
set_page_marks_to_emit
voidset_page_marks_to_emit(PageMarkFlagsmarks)Parameters
marks: PageMarkFlagsthe page marks to emit for this plate. It is a bit-wise OR of the PageMarkFlags values. Default is None
Returns:
voidThe page marks to emit for this plate. It is a bit-wise OR of the PageMarkFlags values. Default is None.
set_plates
voidset_plates(std::vector< SeparationPlate >plates)Parameters
plates: std::vector< SeparationPlate >a list of plates to use for separations
Returns:
voidA list of plates to use for separations.
set_post_script_level
voidset_post_script_level(intlevel)Parameters
level: intthe PostScript printing level. 2 means emit as level 2, 3 means level 3. Default is level 2
Returns:
voidThe PostScript printing level. 2 means emit as level 2, 3 means level 3. Default is level 2.
set_printer_has_far_east_fonts
voidset_printer_has_far_east_fonts(boolvalue)Parameters
value: booltrue to exclude Far East fonts, false to include them. Default is false.
Returns:
voidIf true, do not include Far East fonts. Default is false.
set_suppress_cjk_substitution
voidset_suppress_cjk_substitution(boolvalue)Parameters
value: booltrue to suppress CJK substitution. Default is false
Returns:
voidIf true, suppress CJK substitution. Default is false.
set_transparency_level
voidset_transparency_level(intlevel)Parameters
level: intthe transparency flattening quality level. Range is from 0 to 100. Lower values flatten faster. Higher values provide...
Returns:
voidThe transparency flattening quality level. Range is from 0 to 100. Lower values flatten faster. Higher values provide better quality. Default is 75.
set_use_cmyk_working_color_space
voidset_use_cmyk_working_color_space(boolvalue)Parameters
value: booltrue to color manage DeviceCMYK. If false, pass it directly onto the process plates. Default is false
Returns:
voidIf true, color manage DeviceCMYK. If false, pass it directly onto the process plates. Default is false.
set_use_western_style_page_marks
voidset_use_western_style_page_marks(boolvalue)Parameters
value: booltrue to use the western style for page marks. Default is false
Returns:
voidIf true, use the western style for page marks. Default is false.