InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IColorGroupList.h
1 //========================================================================================
2 //
3 // ADOBE CONFIDENTIAL
4 //
5 // $File$
6 //
7 // Owner: Ankur Gupta
8 //
9 // $Author$
10 //
11 // $DateTime$
12 //
13 // $Revision$
14 //
15 // $Change$
16 //
17 // Copyright 2014 Adobe Systems Incorporated
18 // All Rights Reserved.
19 //
20 // NOTICE: All information contained herein is, and remains
21 // the property of Adobe Systems Incorporated and its suppliers,
22 // if any. The intellectual and technical concepts contained
23 // herein are proprietary to Adobe Systems Incorporated and its
24 // suppliers and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 #ifndef __ICOLORGROUPLIST__
32 #define __ICOLORGROUPLIST__
33 
34 #include "IPMUnknown.h"
35 #include "ColorSystemID.h"
36 
37 
42 {
43 public:
44  enum { kDefaultIID = IID_ICOLORGROUPLIST };
45 
50  virtual void AddColorGroup(UID colorGroupUID, int32 pos = -1) = 0 ;
51 
55  virtual void RemoveColorGroup(UID colorGroupUID) = 0 ;
56 
60  virtual void RemoveNthColorGroup(int32 pos) = 0 ;
61 
64  virtual void RemoveAllColorGroups() = 0 ;
65 
69  virtual int32 CountColorGroups() const = 0 ;
70 
75  virtual UIDRef GetNthColorGroup(int32 pos) const = 0 ;
76 
81  virtual int32 GetColorGroupPosition(UID colorGroupUID) const = 0 ;
82 
87  virtual UIDRef FindColorGroup(const PMString& name) const = 0;
88 
89 };
90 
91 #endif // __ICOLORGROUPLIST__