SeparationParams Class Documentation
class SeparationParamsNamespace: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
bool get_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
bool get_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
bool get_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
bool get_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::string get_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
bool get_emit_annotations()Returns:
boolIf true, emit annotations. Default is false.
get_emit_font_option
SeparationFontOption get_emit_font_option()Returns:
SeparationFontOptionFont output options. Default is EmitAllFonts.
get_emit_halftones
bool get_emit_halftones()Returns:
boolIf true, emit halftones. Default is true.
get_emit_separable_images_only
bool get_emit_separable_images_only()Returns:
boolIf true, emit separable images only. Default is false.
get_emit_transfer_functions
bool get_emit_transfer_functions()Returns:
boolIf true, emit transfer functions. Default is true.
get_invert_plates
bool get_invert_plates()Returns:
boolIf true, invert the plates. Default is false.
get_mirror_print
MirrorOption get_mirror_print()Returns:
MirrorOptionOptions for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip.
get_page_marks_to_emit
PageMarkFlags get_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
int get_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
bool get_printer_has_far_east_fonts()Returns:
boolIf true, do not include Far East fonts. Default is false.
get_suppress_cjk_substitution
bool get_suppress_cjk_substitution()Returns:
boolIf true, suppress CJK substitution. Default is false.
get_transparency_level
int get_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
bool get_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
bool get_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
void set_apply_ocg_print_overrides(bool value)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
void set_binary_channel_available(bool value)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
void set_convert_to_process_using_opp(bool value)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
void set_convert_true_type_to_type42(bool value)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
void set_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
void set_emit_annotations(bool value)Parameters
value: booltrue to emit annotations. Default is false
Returns:
voidIf true, emit annotations. Default is false.
set_emit_font_option
void set_emit_font_option(SeparationFontOption option)Parameters
option: SeparationFontOptionthe font output options. Default is EmitAllFonts
Returns:
voidFont output options. Default is EmitAllFonts.
set_emit_halftones
void set_emit_halftones(bool value)Parameters
value: booltrue to emit halftones. Default is true
Returns:
voidIf true, emit halftones. Default is true.
set_emit_separable_images_only
void set_emit_separable_images_only(bool value)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
void set_emit_transfer_functions(bool value)Parameters
value: booltrue to emit transfer functions. Default is true
Returns:
voidIf true, emit transfer functions. Default is true.
set_invert_plates
void set_invert_plates(bool value)Parameters
value: booltrue to invert the plates. Default is false
Returns:
voidIf true, invert the plates. Default is false.
set_mirror_print
void set_mirror_print(MirrorOption option)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
void set_page_marks_to_emit(PageMarkFlags marks)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
void set_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
void set_post_script_level(int level)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
void set_printer_has_far_east_fonts(bool value)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
void set_suppress_cjk_substitution(bool value)Parameters
value: booltrue to suppress CJK substitution. Default is false
Returns:
voidIf true, suppress CJK substitution. Default is false.
set_transparency_level
void set_transparency_level(int level)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
void set_use_cmyk_working_color_space(bool value)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
void set_use_western_style_page_marks(bool value)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.