![]() | InDesign SDK 20.5 |
#include <IInkData.h>

Public Types | |
| enum | { kDefaultIID = IID_IINKDATA } |
| enum | InkType { kUndefinedInk = -1, kProcessInk, kSpotInk, kRegistrationInk, kDeviceNInk } |
Public Member Functions | |
| virtual PersistUIDList | GetInkUIDList () const =0 |
| virtual int32 | GetNumInkComponents () const =0 |
| virtual InkType | GetInkType () const =0 |
| virtual void | SetInkUIDList (const PersistUIDList &uidInkList)=0 |
| virtual void | SetInkType (InkType inkType)=0 |
| virtual bool16 | IsEqual (const IInkData *iInkData) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
An interface for InDesign color object.
| enum IInkData::InkType |
Identifies the ink types
| pure virtual |
Returns the color definition's ink type. This is one of kProcessInk, kSpotInk, kDeviceNInk, or kRegistrationInk.
| pure virtual |
Returns the list of ink UIDs associated with the color definition. If color definition is a process ink, then this list should be empty. If color definition is a spot ink, then this list should have only one entry. If color definition is a deviceN ink, then this list should contain 2 or more inks.
| pure virtual |
Returns the number of ink components associated with the color definition. For process ink, this is 0. For spot ink, this number should be 1. For deviceN inks, this number is >= 2.
| pure virtual |
Returns kTrue if both IInkData* are equal.
| iInkData | to compare with. |
| pure virtual |
Sets the ink type for the color definition. Ink type should be one of kProcessInk, kSpotInk, kDeviceNInk, or kRegistrationInk. Ink type should remained as kUndefinedInk if defining a color that is based on another.
| inkType | the new ink type to set. Typically SetInkUIDList is set through either NewColorCmdBoss, ChangeColorCmdBoss, kNewMixedInkGroupCmdBoss, or kChangeMixedInkGroupCmdBoss. |
| pure virtual |
Sets the new inks associated for this color definition. If color definition is a process ink, then this list should be empty. If color definition is a spot ink, then this list should have only one entry. If color definition is a deviceN ink, then this list should contain 2 or more inks.
| uidInkList | the ink list to set. Typically SetInkUIDList is set through either NewColorCmdBoss, ChangeColorCmdBoss, kNewMixedInkGroupCmdBoss, or kChangeMixedInkGroupCmdBoss. For deviceN ink, the client would specify a list of ink UIDs and set through command's IInkData interface. For spot ink, this should be left empty. The appropriate commands (NewColorCmdBoss or ChangeColorCmdBoss) will set this field. |