InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICMSUtils Class Referenceabstract

#include <ICMSUtils.h>

Inheritance diagram for ICMSUtils:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ICMSUTILS }
 

Public Member Functions

virtual ICMSProfileListQueryCMSProfileList (IDocument *doc, uint32 cmsQueryFlags=0)=0
 
virtual ICMSProfileListQueryCMSProfileList (const UIDRef &docRef, uint32 cmsQueryFlags=0)=0
 
virtual ICMSManagerQueryCMSManager (ClassID whichCMSMgr=kInvalidClass, uint32 cmsQueryFlags=0)=0
 
virtual IColorPresetsSettingsQueryColorPresetsSettings ()=0
 
virtual bool16 IsEmulating1xCMSOffState ()=0
 
virtual ICMSSettingsQueryCMSSettings (IDocument *doc, uint32 cmsQueryFlags=0)=0
 
virtual ICMSSettingsQueryCMSSettings (const UIDRef &docRef, uint32 cmsQueryFlags=0)=0
 
virtual ICMSSettingsQueryDefaultObjectSettings (IDocument *doc, uint32 cmsQueryFlags=0)=0
 
virtual ICMSSettingsQueryDefaultObjectSettings (const UIDRef &docRef, uint32 cmsQueryFlags=0)=0
 
virtual bool16 DoTurnCMSOnOrOff (bool16 turnItOn, const UIDList &itemlist, uint32 cmdFlags=0, ClassID cmsMgrID=kInvalidClass)=0
 
virtual bool16 DoCMMChoice (const PMString &cmmChoice, IDocument *doc, uint32 cmdFlags=0, ClassID cmsMgrID=kInvalidClass)=0
 
virtual bool16 DoDocUseProfileCmd (const PMString &profileName, IDocument *doc, ICMSProfile::profileCategory which, uint32 cmdFlags=0, ClassID cmsMgrID=kInvalidClass, bool16 installDefaultFlag=kFalse)=0
 
virtual bool16 DoItemUseExternalProfileCmd (const UIDRef &itemUIDRef, const PMString &profileName, uint32 cmdFlags=0, ClassID cmsMgrID=kInvalidClass)=0
 
virtual bool16 DoItemUseEmbeddedProfileCmd (const UIDRef &itemUIDRef, void *pProfileData=nil, int32 dataSize=0, PMString *pName=nil, uint32 cmdFlags=0, ClassID cmsMgrID=kInvalidClass)=0
 
virtual bool16 DoItemUseDocDefaultProfileCmd (const UIDRef &itemUIDRef, uint32 cmdFlags=0, ClassID cmsMgrID=kInvalidClass)=0
 
virtual bool16 DoesProfileExist (const PMString &profileName, IDataBase *db, ClassID cmsMgrID=kInvalidClass)=0
 
virtual bool16 DoSetRenderingIntent (const UIDRef &itemRef, ICMSSettings::renderingIntent choice, uint32 cmdFlags=0)=0
 
virtual bool16 DoSetRenderingIntent (const UIDList &itemList, ICMSSettings::renderingIntent choice, uint32 cmdFlags=0)=0
 
virtual bool16 DoCopyCMSSettingsCmd (UIDRef srcItem, UIDRef dstItem, uint32 cmdFlags=0, ClassID cmsMgrID=kInvalidClass)=0
 
virtual bool16 DoRemoveCMSSetup (UIDRef theItem, uint32 cmdFlags=0, ClassID cmsMgrID=kInvalidClass)=0
 
virtual bool16 ColorXFormChange (IDataBase *iDataBase, ICommand *cmdChangedBy, int32 changeFlags)=0
 
virtual bool16 DoColorPresetsSettingsSetCmd (bool16 emulate1xCMSOff, bool16 isCustom, const PMString &presetName, const PMString &presetPath, const PMString &description, ICMSProfile *workingRGB, const PMString &workingRGBName, ICMSProfile::profileCode workingRGBCode, ICMSProfile *workingCMYK, const PMString &workingCMYKName, ICMSProfile::profileCode workingCMYKCode, ICMSManager::CMSPolicy policyRGB, ICMSManager::CMSPolicy policyCMYK, bool16 mismatchAskOpening, bool16 mismatchAskPasting, bool16 missingAskOpening, uint32 engineCMS, uint32 engineCMM, ICMSSettings::renderingIntent intent, bool16 kpc, int32 nFlags=0)=0
 
virtual ErrorCode DoCMSSetProofingCmd (ICMSProofing *iCMSProofing, bool16 isProofingOn, ICMSProofing::ProofingType proofingType, ICMSProfile *iCMSProfile, bool32 paperWhite, bool32 inkBlack, bool32 preserveNumbers=kTrue)=0
 
virtual ErrorCode DoCMSSetProofingCmd (ICMSProofing *iCMSProofing, bool16 isProofingOn, ICMSProofing::ProofingType proofingType, PMString &name, bool32 paperWhite, bool32 inkBlack, bool32 preserveNumbers=kTrue)=0
 
virtual ErrorCode DoConvertToProfileCmd (IDocument *doc, ICMSProfile::profileCategory category, const PMString &name, uint32 engineCMS=0, uint32 engineCMM=0, ICMSSettings::renderingIntent intent=ICMSSettings::kImage, bool16 useKPC=kTrue)=0
 
virtual
ICMSSettings::renderingIntent 
ResolveIntent (IDocument *iDoc, ICMSSettings::renderingIntent ri)=0
 
virtual bool32 BuildScriptableProfileArray (CMSAvailableProfileList *plistSource, ScriptListData &plistTarget)=0
 
virtual bool32 SetupImageFilter (UIDRef uidImage, CMSMgrProfileFilter &filter)=0
 
virtual
ICMSSettings::renderingIntent 
ScriptIntentToCMSIntent (IDocument *pDoc, ScriptID nScriptIntent, ICMSSettings::renderingIntent nIntentType, ErrorCode &nError)=0
 
virtual ScriptID CMSIntentToScriptIntent (ICMSSettings::renderingIntent nCMSIntent)=0
 
virtual int32 AccessCMSProfileList (IScriptRequestData *data, IScript *script, ICMSProfile::profileCategory profileCategory, ScriptID propID)=0
 
virtual int32 AccessCMSProfile (IDocument *pDoc, IScriptRequestData *data, IScript *script, ICMSProfile::profileCategory nProfileType, ScriptID propID)=0
 
virtual bool16 CanFindProfile (const PMString &strName)=0
 
virtual void GetProfileProofingSupport (const PMString &strName, bool16 &bSupportsInkBlack, bool16 &bSupportsPaperWhite)=0
 
virtual void CopyColorProfiles (IDataBase *pSrc, IDataBase *pDst)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

CMS-related utility functions.

Member Function Documentation

virtual int32 ICMSUtils::AccessCMSProfile (IDocumentpDoc,
IScriptRequestDatadata,
IScriptscript,
ICMSProfile::profileCategory nProfileType,
ScriptID propID 
)
pure virtual

Given information about a scripting context, gets or sets the cms profile name for the specified profile type. nParamID is the constant for the script parameter which contains the name of the new profile to use if the operation is a set.

Parameters
pDocThe document whose profiles are needed.
dataThe data to fill in.
scriptNot currently used.
nProfileTypeThe profile category you're interested in.
propIDWhich scripting field to use.
Returns
kSuccess or kFailure.
virtual int32 ICMSUtils::AccessCMSProfileList (IScriptRequestDatadata,
IScriptscript,
ICMSProfile::profileCategory profileCategory,
ScriptID propID 
)
pure virtual

Given infomration about a scripting context, returns the set of cms profiles that satisfy the specified profile category to the scripting implementation.

Parameters
dataThe scripting data to fill in.
scriptNot currently used.
profileCategoryThe category to use to populate the list of profiles.
propIDWhich scripting field to use.
Returns
kSuccess or kFailure.
virtual bool32 ICMSUtils::BuildScriptableProfileArray (CMSAvailableProfileListplistSource,
ScriptListData & plistTarget 
)
pure virtual

Adds the names of the profiles in plistSource to the specified IScriptList.

Parameters
plistSourceSpecifies the list of profiles to read from.
plistTargetThe list to populate.
Returns
True if successful.
virtual bool16 ICMSUtils::CanFindProfile (const PMStringstrName)
pure virtual

Returns true if a profile w/ the specified name can be located on the filesystem in one of the standard search paths.

Parameters
strNameThe profile name for which to look.
Returns
True if the profile exists.
virtual ScriptID ICMSUtils::CMSIntentToScriptIntent (ICMSSettings::renderingIntent nCMSIntent)
pure virtual

Opposite of ScriptIntentToCMSIntent.

Parameters
nCMSIntentThe intent you want to convert.
Returns
The corresponding script ID.
virtual bool16 ICMSUtils::ColorXFormChange (IDataBaseiDataBase,
ICommandcmdChangedBy,
int32 changeFlags 
)
pure virtual

Broadcast on the subject of the target database with IID_ICOLORXFORMCHANGE protocol, alerting the world of the change and updating pageitems and/or spreads as appropriate in open documents. The IID_ICOLORXFORMCHANGE interface is on the active context.

Parameters
iDataBaseIN the command's target database from which the change is broadcast.
cmdChangedByIN The command that's passed to the subject.
changeFlagsIN CXFORMFLAG_* options.
Returns
True if successful.
virtual void ICMSUtils::CopyColorProfiles (IDataBasepSrc,
IDataBasepDst 
)
pure virtual

Tell the destination document to use the source document's profiles.

Parameters
pSrcThe document from which to copy profiles.
pDstThe document to which to copy profiles.
virtual bool16 ICMSUtils::DoCMMChoice (const PMStringcmmChoice,
IDocumentdoc,
uint32 cmdFlags = 0,
ClassID cmsMgrID = kInvalidClass 
)
pure virtual

Selects a CMM to use.

Parameters
cmmChoicetOnIN The name of the new CMM.
docIN Obsolete. Not used.
cmdFlagsIN kCMSCmd* (optional)
cmsMgrIDIN Obsolete; leave at default.
Returns
True if successful.
virtual ErrorCode ICMSUtils::DoCMSSetProofingCmd (ICMSProofingiCMSProofing,
bool16 isProofingOn,
ICMSProofing::ProofingType proofingType,
ICMSProfileiCMSProfile,
bool32 paperWhite,
bool32 inkBlack,
bool32 preserveNumbers = kTrue 
)
pure virtual

Configures proofing parameters via a command. This version specifies a profile by interface.

Parameters
iCMSProofingIN The interface to affect.
isProofingOnIN Enables/disables proofing.
proofingTypeIN Any of the default proofing states, or custom.
iCMSProfileIN The custom proofing profile, if applicable.
paperWhiteIN Whether to simulate paper color.
inkBlackIN Whether to simulate ink black.
preserveNumbersIN Whether to preserve numbers for same-family untagged objects.
Returns
The error code from the command.
virtual ErrorCode ICMSUtils::DoCMSSetProofingCmd (ICMSProofingiCMSProofing,
bool16 isProofingOn,
ICMSProofing::ProofingType proofingType,
PMStringname,
bool32 paperWhite,
bool32 inkBlack,
bool32 preserveNumbers = kTrue 
)
pure virtual

Configures proofing parameters via a command. This version specifies a profile by name.

Parameters
iCMSProofingIN The interface to affect.
isProofingOnIN Enables/disables proofing.
proofingTypeIN Any of the default proofing states, or custom.
nameIN The custom proofing profile, if applicable.
paperWhiteIN Whether to simulate paper color.
inkBlackIN Whether to simulate ink black.
preserveNumbersIN Whether to preserve numbers for same-family untagged objects.
Returns
The error code from the command.
virtual bool16 ICMSUtils::DoColorPresetsSettingsSetCmd (bool16 emulate1xCMSOff,
bool16 isCustom,
const PMStringpresetName,
const PMStringpresetPath,
const PMStringdescription,
ICMSProfileworkingRGB,
const PMStringworkingRGBName,
ICMSProfile::profileCode workingRGBCode,
ICMSProfileworkingCMYK,
const PMStringworkingCMYKName,
ICMSProfile::profileCode workingCMYKCode,
ICMSManager::CMSPolicy policyRGB,
ICMSManager::CMSPolicy policyCMYK,
bool16 mismatchAskOpening,
bool16 mismatchAskPasting,
bool16 missingAskOpening,
uint32 engineCMS,
uint32 engineCMM,
ICMSSettings::renderingIntent intent,
bool16 kpc,
int32 nFlags = 0 
)
pure virtual

Sets the current color settings en masse.

Parameters
emulate1xCMSOffTrue to use "CMS off" mode.
isCustomIndicates that the settings are not based on a CSF but are custom.
presetNameFor non-custom CSFs, the name of the preset.
presetPathFor non-custom CSFs, the location of the preset file.
descriptionThe internal name of the preset.
workingRGBThe working RGB profile.
workingRGBNameThe name of the working RGB profile.
workingRGBCodeThe profile code of the working RGB profile.
workingCMYKThe working CMYK profile.
workingCMYKNameThe name of the working CMYK profile.
workingCMYKCodeThe profile code of the working CMYK profile.
policyRGBThe profile policy for RGB.
policyCMYKThe profile policy for CMYK.
mismatchAskOpeningWhether to display profile-mismatch dialogs when opening documents.
mismatchAskPastingWhether to display profile-mismatch dialogs when pasting content.
missingAskOpeningWhether to display profile-missing dialogs when opening documents.
engineCMSThe index of the CMS to use. Should always be zero for now.
engineCMMThe index of the CMM to use.
intentThe default rendering intent.
kpcThe default black point compensation setting (on/off).
nFlagsIN kCMSCmd* (optional)
Returns
True if successful.
virtual ErrorCode ICMSUtils::DoConvertToProfileCmd (IDocumentdoc,
ICMSProfile::profileCategory category,
const PMStringname,
uint32 engineCMS = 0,
uint32 engineCMM = 0,
ICMSSettings::renderingIntent intent = ICMSSettings::kImage,
bool16 useKPC = kTrue 
)
pure virtual

Processes a convert to profile command that will convert all native swatches to a new profile.

Parameters
docIN The document to affect.
categoryIN The profile category to convert (must be CMYK or RGB)
nameIN The name of the profile to use for the new destination (will be assigned to the document after conversion)
engineCMSIN The index of the CMS (leave as default).
engineCMMIN The index of the CMM.
intentIN The RI to apply for the conversions.
useKPCIN The BPC to apply for the conversions.
Returns
The error code from the command.
virtual bool16 ICMSUtils::DoCopyCMSSettingsCmd (UIDRef srcItem,
UIDRef dstItem,
uint32 cmdFlags = 0,
ClassID cmsMgrID = kInvalidClass 
)
pure virtual

Creates and executes a kCMSCopyCMSSetupCmdBoss with specified src and dst items. Handles the recreation of the settings on the item in the destination document. Src and destination documents can be same, or different. Used when copying page items from one document to another, or whatever you like.

Parameters
srcItemIN The item from which the settings are copied
dstItemIN The item to which the settings are copied
cmdFlagsIN kCMSCmd* (optional)
cmsMgrIDIN Obsolete; leave at default.
Returns
True if successful.
virtual bool16 ICMSUtils::DoDocUseProfileCmd (const PMStringprofileName,
IDocumentdoc,
ICMSProfile::profileCategory which,
uint32 cmdFlags = 0,
ClassID cmsMgrID = kInvalidClass,
bool16 installDefaultFlag = kFalse 
)
pure virtual

Sets a document profile (CMYK or RGB) via a kCMSUseProfileCmd.

Parameters
profileNameThe name of the profile to use.
docIN The document that should be affected. Must be non-nil to have any effect.
whichIN Which of the profiles to set. Only CMYK and RGB profiles have any effect.
cmdFlagsIN kCMSCmd* (optional)
cmsMgrIDIN Obsolete; leave at default.
installDefaultFlagIN If true, ignore the name passed in and set the document to use the current working space.
Returns
True if successful.
virtual bool16 ICMSUtils::DoesProfileExist (const PMStringprofileName,
IDataBasedb,
ClassID cmsMgrID = kInvalidClass 
)
pure virtual

Indicates whether the specified profile is in use in the specified document.

Parameters
profileNameIN The name to look for.
dbIN The database of the document.
cmsMgrIDIN Obsolete; leave at default.
Returns
True if successful.
virtual bool16 ICMSUtils::DoItemUseDocDefaultProfileCmd (const UIDRefitemUIDRef,
uint32 cmdFlags = 0,
ClassID cmsMgrID = kInvalidClass 
)
pure virtual

Resets an image to use the document default profile.

Parameters
itemUIDRefIN The image page item boss.
cmdFlagsIN kCMSCmd* (optional)
cmsMgrIDIN Obsolete; leave at default.
Returns
True if successful.
virtual bool16 ICMSUtils::DoItemUseEmbeddedProfileCmd (const UIDRefitemUIDRef,
void * pProfileData = nil,
int32 dataSize = 0,
PMStringpName = nil,
uint32 cmdFlags = 0,
ClassID cmsMgrID = kInvalidClass 
)
pure virtual

Assigns an embedded (from the image itself) profile to an image via a command.

Parameters
itemUIDRefIN The item to which to assign the profile.
pProfileDatae profile data; nil to pull from item.
dataSizeSize of data, or 0 to pull from item.
profileNameName of embedded profile, if not providing data and the item hasn't yet been set up with emb data. In all other cases, nil is appropriate.
cmdFlagsIN kCMSCmd* (optional)
cmsMgrIDIN Obsolete; leave at default.
Returns
True if successful.
virtual bool16 ICMSUtils::DoItemUseExternalProfileCmd (const UIDRefitemUIDRef,
const PMStringprofileName,
uint32 cmdFlags = 0,
ClassID cmsMgrID = kInvalidClass 
)
pure virtual

Assigns an external (from disk) profile to an image via a command.

Parameters
itemUIDRefIN The image page item boss.
profileNameThe name of the profile to use.
cmdFlagsIN kCMSCmd* (optional)
cmsMgrIDIN Obsolete; leave at default.
Returns
True if successful.
virtual bool16 ICMSUtils::DoRemoveCMSSetup (UIDRef theItem,
uint32 cmdFlags = 0,
ClassID cmsMgrID = kInvalidClass 
)
pure virtual

Creates and executes a kCMSRemoveCMSSetupCmdBoss with specified item. This removes the CMS setup from the item. Normally done prior to deletion.

Parameters
theItemIN The item to reset
cmdFlagsIN kCMSCmd* (optional)
cmsMgrIDIN Obsolete; leave at default.
Returns
True if successful.
virtual bool16 ICMSUtils::DoSetRenderingIntent (const UIDRefitemRef,
ICMSSettings::renderingIntent choice,
uint32 cmdFlags = 0 
)
pure virtual

Sets the RI for a page item or document (anything with an ICMSSettings interface) via a command.

Parameters
itemRefIN The boss with an ICMSSettings interface you want to change.
choiceIN The new RI to assign.
cmdFlagsIN kCMSCmd* (optional)
Returns
True if successful.
virtual bool16 ICMSUtils::DoSetRenderingIntent (const UIDListitemList,
ICMSSettings::renderingIntent choice,
uint32 cmdFlags = 0 
)
pure virtual

Sets the RI for a list of items (anything with an ICMSSettings interface) via a command.

Parameters
itemListIN The list of items with ICMSSettings interfaces you want to change.
choiceIN The new RI to assign.
cmdFlagsIN kCMSCmd* (optional)
Returns
True if successful.
virtual bool16 ICMSUtils::DoTurnCMSOnOrOff (bool16 turnItOn,
const UIDListitemlist,
uint32 cmdFlags = 0,
ClassID cmsMgrID = kInvalidClass 
)
pure virtual

Turns CMS on or off for a page item or document. This is deprecated; you can still turn cms on or off for a page item, but now that's interpreted as "use document default profile and rendering intent." The document on/off state is no longer honored at all.

Parameters
turnItOnIN The new state.
itemListIN The list of items to affect. Items must have the ICMSSettings interface.
cmdFlagsIN kCMSCmd* (optional)
cmsMgrIDIN Obsolete; leave at default.
Returns
True if successful.
virtual void ICMSUtils::GetProfileProofingSupport (const PMStringstrName,
bool16 & bSupportsInkBlack,
bool16 & bSupportsPaperWhite 
)
pure virtual

Returns whether the profile with the specified name supports ink black/paper white.

Parameters
strNameThe name of the profile.
bSupportsInkBlackReceives true if the profile supports ink black proofing; false otherwise.
bSupportsPaperWhiteReceives true if the profile supports paper white proofing; false otherwise.
virtual bool16 ICMSUtils::IsEmulating1xCMSOffState ()
pure virtual

Returns kTrue if currently emulating the 1.x CMS off state, otherwise kFalse.

virtual ICMSManager* ICMSUtils::QueryCMSManager (ClassID whichCMSMgr = kInvalidClass,
uint32 cmsQueryFlags = 0 
)
pure virtual

Returns the CMS manager. While in theory multiple CMS managers are permitted, in practice there is only one, which through ACE supports multiple CMMs.

Parameters
whichCMSMgrIN The class to use (kInvalidClass invokes the standard manager).
cmsQueryFlagsIN Not currently used.
Returns
A refcounted ICMSManager interface.
virtual ICMSProfileList* ICMSUtils::QueryCMSProfileList (IDocumentdoc,
uint32 cmsQueryFlags = 0 
)
pure virtual

Returns the CMSProfileList from the document.

Parameters
docIN The document. If nil, returns the default document's CMSProfileList.
cmsQueryFlagsIN kCMSQuery* flags (optional).
Returns
A refcounted ICMSProfileList containing all the profiles used in the document.
virtual ICMSProfileList* ICMSUtils::QueryCMSProfileList (const UIDRefdocRef,
uint32 cmsQueryFlags = 0 
)
pure virtual

Returns the CMSProfileList from the document.

Parameters
docRefIN A reference to a document boss.
cmsQueryFlagsIN kCMSQuery* flags (optional).
Returns
A refcounted ICMSProfileList containing all the profiles used in the document.
virtual ICMSSettings* ICMSUtils::QueryCMSSettings (IDocumentdoc,
uint32 cmsQueryFlags = 0 
)
pure virtual

Returns the CMSSettings from the document. Note that CMSSettings on a document only contains the default vector rendering intent.

Parameters
docIN The document. If nil, returns the default document's settings.
cmsQueryFlagsIN kCMSQuery* flags (optional).
Returns
A refcounted ICMSSettings interface for the document.
virtual ICMSSettings* ICMSUtils::QueryCMSSettings (const UIDRefdocRef,
uint32 cmsQueryFlags = 0 
)
pure virtual

Returns the CMSSettings from the document. Note that CMSSettings on a document only contains the default vector rendering intent.

Parameters
docRefIN A reference to a document boss.
cmsQueryFlagsIN kCMSQuery* flags (optional).
Returns
A refcounted ICMSSettings interface for the document.
virtual IColorPresetsSettings* ICMSUtils::QueryColorPresetsSettings ()
pure virtual

Returns the ColorPresetsSettings for the application.

Returns
A refcounted IColorPresetsSettings interface.
virtual ICMSSettings* ICMSUtils::QueryDefaultObjectSettings (IDocumentdoc,
uint32 cmsQueryFlags = 0 
)
pure virtual

Returns the default object settings from the document. This controls the default RI for newly placed content.

Parameters
docIN The document. If nil, returns the default document's settings.
cmsQueryFlagsIN kCMSQuery* flags (optional).
Returns
A refcounted ICMSSettings interface for the document.
virtual ICMSSettings* ICMSUtils::QueryDefaultObjectSettings (const UIDRefdocRef,
uint32 cmsQueryFlags = 0 
)
pure virtual

Returns the default object settings from the document. This controls the default RI for newly placed content.

Parameters
docRefIN A reference to a document boss.
cmsQueryFlagsIN kCMSQuery* flags (optional).
Returns
A refcounted ICMSSettings interface for the document.
virtual ICMSSettings::renderingIntent ICMSUtils::ResolveIntent (IDocumentiDoc,
ICMSSettings::renderingIntent ri 
)
pure virtual

Resolves any rendering intents which are pointers (e.g., UseCSFImageRI) down to a simple intent. Requires iDoc when any of the UseDoc* intents are used.

Parameters
iDocIN The document to use. Can be nil if the RI to resolve is not document-based.
riIN The RI to resolve.
Returns
The resolved RI.
virtual ICMSSettings::renderingIntent ICMSUtils::ScriptIntentToCMSIntent (IDocumentpDoc,
ScriptID nScriptIntent,
ICMSSettings::renderingIntent nIntentType,
ErrorCode & nError 
)
pure virtual

Converts from on of the script enumeration values (en_... in ScriptingDefs.h) to the intenral rendering intent

Parameters
pDocThe document (required for indirect document referenced rendering intents).
nScriptIntentThe ID of the intent from the scripting world.
nIntentTypeUsed if nScriptIntent is en_UseColorSettings; indicates which of the default RIs to use.
nErrorReceives the error code.
Returns
The resolved rendering intent.
virtual bool32 ICMSUtils::SetupImageFilter (UIDRef uidImage,
CMSMgrProfileFilterfilter 
)
pure virtual

Sets up a filter which is appropriate for retrieving the set of profiles that apply to the specified image.

Parameters
uidImageThe image for which you want to build a list of profiles.
filterReceives the filter to use.
Returns
True if successful.