InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IInkList.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: SusanCL
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __IInkList__
25 #define __IInkList__
26 
27 #include "IPMUnknown.h"
28 #include "ColorSystemID.h"
29 #include "PMString.h"
30 #include "UIDList.h"
31 
32 class IPMInkBossData;
33 
39 class IInkList : public IPMUnknown
40 {
41  public:
42  enum { kDefaultIID = IID_IINKLIST };
43 
47  virtual void Init() const = 0;
48 
54  virtual UIDRef FindInk( IPMInkBossData* inkBossData ) const = 0;
55 
60  virtual UIDRef FindInk(const PMString& inkname) const = 0;
61 
66  virtual int32 FindInk(const UID& inkUID) const = 0;
67 
71  virtual int32 GetNumInks() const = 0;
72 
73 
78  virtual UIDRef GetNthInk(int32 index) const = 0;
79 
80 
85  virtual void AddInk(const UID& inkUID) = 0;
86 
92  virtual void RemoveInk(const UID& inkUID) = 0;
93 
100  enum { kExcludeNonPrintingInks = (1L<<0) };
103  enum { kExcludeProcessInks = (1L<<1) }; // Note: Filters out AsProcess inks too.
106  enum { kExcludeAliasedInks = (1L<<2) };
109  enum { kExcludeAsProcessInks = (1L<<3) }; // Note: Does not filter out CMYK primaries.
110 
115  virtual UIDList GetPlateOrderInkList(int32 flags) const = 0;
116 
117  enum {kNotFound = -1};
118 };
119 
120 #endif