InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IClearAttrOverrideCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael_Martz
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 _IClearAttrOverrideCmdData_
25 #define _IClearAttrOverrideCmdData_
26 //========================================================================================
27 //________________________________________________________________________________________
28 // INCLUDES
29 //________________________________________________________________________________________
30  #include "GraphicStylesID.h"
31  #include "IPMUnknown.h"
32  #include <vector>
33 //========================================================================================
34 //________________________________________________________________________________________
35 // CLASS DECLARATION
36 //________________________________________________________________________________________
37 
43  {
44  public:
45  //................................................................................
46  // Data Type
47  //................................................................................
48  enum { kDefaultIID = IID_CLEARATTROVERRIDE_CMDDATA};
49 
55  virtual void SetAttributeClassID (ClassID attrClassID) = 0;
59  virtual ClassID GetAttributeClassID (void) = 0;
60 
66  virtual void SetAttributeClassIDList(const std::vector<ClassID>& classIDList) = 0;
70  virtual const std::vector<ClassID>& GetAttributeClassIDList (void) const = 0;
71 
72  //................................................................................
73  // Accessor/Mutator for the command's DoNotify()
74  //................................................................................
75 
78  virtual void EnableCommandDoNotify (void) = 0;
81  virtual void DisableCommandDoNotify (void) = 0;
85  virtual void SetCommandDoNotifyFlag (bool16 doNotify) = 0;
88  virtual bool16 GetCommandDoNotifyFlag (void) = 0;
89 
90  //................................................................................
91  // Accessor/Mutator for whether or not the command should flatten the page
92  // item list.
93  //................................................................................
94 
97  virtual void EnableFlattenPageItem (void) = 0;
100  virtual void DisableFlattenPageItem (void) = 0;
104  virtual void SetFlattenPageItemFlag (bool16 doFlattenPageitem) = 0;
107  virtual bool16 GetFlattenPageItemFlag (void) = 0;
108 
109  //................................................................................
110  // Accessor/Mutator for whether or not the command should invalidate the page
111  // item list.
112  //................................................................................
113 
116  virtual void EnableInvalidatePageItem (void) = 0;
119  virtual void DisableInvalidatePageItem (void) = 0;
123  virtual void SetInvalidatePageItemFlag (bool16 doInvalidate) = 0;
126  virtual bool16 GetInvalidatePageItemFlag (void) = 0;
127  };
128 
129 #endif // _IClearAttrOverrideCmdData_