InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGroupItemSuite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Yeming Liu
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 __IGROUPITEMSUITE__
25 #define __IGROUPITEMSUITE__
26 
27 // ----- Interface files
28 #include "IPMUnknown.h"
29 
30 // ----- ID files
31 #include "ShuksanID.h" // for IID_IGROUPSUITE
32 
37 {
38  public:
40  enum { kDefaultIID = IID_IGROUPITEMSUITE };
41 
42  // ----- Abilities
43 
49  virtual bool16 CanItemsBeGrouped() = 0;
50 
56  virtual bool16 CanItemsBeUngrouped() = 0;
57 
63  virtual bool16 HaveBothLockedAndUnLockedItems() = 0;
64 
71 
72  // ----- Actions
73 
78  virtual ErrorCode GroupItems() = 0;
79 
84  virtual ErrorCode UngroupItems() = 0;
85 
90  virtual ErrorCode GroupLockedItems() = 0;
91 
96  virtual ErrorCode LockGroupedItems() = 0;
97 
102  virtual ErrorCode GroupOverrideableItems() = 0;
103 
108  virtual ErrorCode MakeNonOverrideableGroupedItems() = 0;};
109 
110 #endif // __IGROUPITEMSUITE__