Adobe InDesign CS4 (6.0) Object Model JS: ColorSetting

InDesign CS4

Class

ColorSetting

 Color management settings. Base Class: Preference

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application
Preference
ColorSetting

Properties

PropertyTypeAccessDescription
accurateLABSpotsbool r/wIf true, uses LAB alternates for spot colors when available.
cmsSettingsstring r/wThe current color management system settings configuration. Note: For information on possible values, see CMS settings list.
cmsSettingsListArray of string readonlyA list of valid color management system settings configurations.
cmsSettingsPathFile r/wThe file path of the CSF file to use.
cmykPolicyColorSettingsPolicy:
ColorSettingsPolicy.COLOR_POLICY_OFF
ColorSettingsPolicy.PRESERVE_EMBEDDED_PROFILES
ColorSettingsPolicy.CONVERT_TO_WORKING_SPACE
ColorSettingsPolicy.COMBINATION_OF_PRESERVE_AND_SAFE_CMYK
r/wThe policy for handling colors in a CMYK color model, including reading and embedding color profiles, resolving mismatches between embedded color profiles and the working space, and moving colors between documents.
enableColorManagementbool r/wIf true, enables color management.
enginestring r/wThe color management module (CMM) for mapping color space gamuts between documents.
engineListArray of string readonlyThe available color engines.
idealizedBlackToExportbool r/wIf true, uses idealized black for CMYK-to-RGB or CMYK-to-Gray conversions to print or export.
idealizedBlackToScreenbool r/wIf true, uses idealized black for CMYK-to-RGB or CMYK-to-Gray conversions to the screen.
intentDefaultRenderingIntent:
DefaultRenderingIntent.PERCEPTUAL
DefaultRenderingIntent.SATURATION
DefaultRenderingIntent.RELATIVE_COLORIMETRIC
DefaultRenderingIntent.ABSOLUTE_COLORIMETRIC
r/wThe default rendering intent.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
mismatchAskWhenOpeningbool r/wIf true, displays a prompt when opening a file whose embedded color profile does not match the current working space. The prompt provides the option to override the default mismatch behavior.
mismatchAskWhenPastingbool r/wIf true, displays a prompt when importing an object (via pasting, drag-and-drop, or other similar methods) whose colors do not match the current working space. The prompt provides the option to override the default mismatch behavior.
missingAskWhenOpeningbool r/wIf true, displays a prompt when opening a file that does not have an embedded color profile. The prompt provides the option to assign a color profile.
parentApplication readonlyThe parent of the ColorSetting (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
rgbPolicyColorSettingsPolicy:
ColorSettingsPolicy.COLOR_POLICY_OFF
ColorSettingsPolicy.PRESERVE_EMBEDDED_PROFILES
ColorSettingsPolicy.CONVERT_TO_WORKING_SPACE
ColorSettingsPolicy.COMBINATION_OF_PRESERVE_AND_SAFE_CMYK
r/wThe policy for handling colors in an RGB color model, including reading and embedding color profiles, handling mismatches between embedded color profiles and the working space, and moving colors from one document to another.
useBPCbool r/wIf true, uses black point compensation to ensure that shadow detail is preserved by simulating the full dynamic range of the output device.
workingSpaceCMYKstring r/wThe current CMYK profile.
workingSpaceCMYKListArray of string readonlyA list of valid CMYK color profiles.
workingSpaceRGBstring r/wThe current RGB profile.
workingSpaceRGBListArray of string readonlyA list of valid RGB color profiles.

Methods

Instances

Array of ColorSetting getElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the ColorSetting.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.colorSettings

Return

Array of ColorSetting ColorSetting.getElements ()

Jongware, 20-Jun-2010 v3.0.3dContents :: Index