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

#include <IConvertSwatchCmdData.h>

Inheritance diagram for IConvertSwatchCmdData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ICONVERTSWATCHCMDDATA }
 

Public Member Functions

virtual UIDRef GetSource ()=0
 
virtual void SetSource (UIDRef &refSource)=0
 
virtual UIDRef GetTarget ()=0
 
virtual void SetTarget (UIDRef &refTarget)=0
 
virtual ISwatchListGetSwatchList ()=0
 
virtual void SetSwatchList (ISwatchList *pSwatchList)=0
 
virtual bool16 GetAllowCancel ()=0
 
virtual void SetAllowCancel (bool16 bAllow)=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

A swatch color conversion command data interface. This is used for converting color managed swatch color data from source profile to destination profile.

Member Function Documentation

virtual bool16 IConvertSwatchCmdData::GetAllowCancel ()
pure virtual

Return whether or not cancel is allowed.

Returns
true if conversion can be cancelled.
virtual UIDRef IConvertSwatchCmdData::GetSource ()
pure virtual

Returns the source swatch UIDRef.

virtual ISwatchList* IConvertSwatchCmdData::GetSwatchList ()
pure virtual

Returns the target swatch list.

virtual UIDRef IConvertSwatchCmdData::GetTarget ()
pure virtual

Returns the target swatch UIDRef.

virtual void IConvertSwatchCmdData::SetAllowCancel (bool16 bAllow)
pure virtual

Set whether or not conversion can be cancelled

Parameters
bAllowis true if conversion can be cancelled.
virtual void IConvertSwatchCmdData::SetSource (UIDRefrefSource)
pure virtual

Sets the source swatch UIDRef

Parameters
refSourceis the source swatch UIDRef
virtual void IConvertSwatchCmdData::SetSwatchList (ISwatchListpSwatchList)
pure virtual

Sets the target swatch list.

Parameters
pSwatchListis the target swatch list
virtual void IConvertSwatchCmdData::SetTarget (UIDRefrefTarget)
pure virtual

Sets the target swatch UIDRef

Parameters
refTargetis the target swatch UIDRef