InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGraphicAttrMessage.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 // Desc: Messages for graphic attributes.
24 //
25 //========================================================================================
26 
27 #ifndef _IGraphicAttrMessage_
28 #define _IGraphicAttrMessage_
29 //========================================================================================
30 //________________________________________________________________________________________
31 // INCLUDES
32 //________________________________________________________________________________________
33  #include "IPMUnknown.h" // for the definition of
34 
35  #include "GraphicStylesID.h"
36  #include "ShuksanID.h"
37  #include "K2Vector.h"
38 
39  #include "ISelectionMessages.h"
40 //========================================================================================
41 //________________________________________________________________________________________
42 // CLASS DECLARATIONS
43 //________________________________________________________________________________________
45 
46 //____________________________________________________________________________________
47 // For external communication
48 //____________________________________________________________________________________
49 
54  {
55  //____________________________________________________________________________________
56  // Data Types
57  //____________________________________________________________________________________
58  public:
59 
60  //____________________________________________________________________________________
61  // GraphicAttributeCache message Type
62  //____________________________________________________________________________________
63 
67  {
75 
84 
101 
102  };
103 
104  public:
105  //____________________________________________________________________________________
106  // Accessors
107  //____________________________________________________________________________________
108 
111  virtual MessageType GetMessageType (void) const = 0;
114  virtual int32 GetClassIDCount (void) const = 0;
117  virtual ClassID GetClassID (int32 index = 0) const = 0;
122  virtual bool16 IsClassAffected (const ClassID& classID) const = 0;
126  virtual bool16 NeedClearAllBlocks (void) const = 0;
127 
128  };
129 
134  {
135  public:
138  virtual PMIID GetMessageSignatureID (void) const = 0;
141  virtual IGraphicAttrMessage::MessageType GetMessageType (void) const = 0;
144  virtual const K2Vector<ClassID>* GetAttrClassList (void) const = 0;
145 
146  };
147 
148 #endif // _IGraphicAttrMessage_