InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IApplyAttributeCmdData.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 _IApplyAttributeCmdData_
25 #define _IApplyAttributeCmdData_
26 //========================================================================================
27 //________________________________________________________________________________________
28 // INCLUDES
29 //________________________________________________________________________________________
30  #include "GraphicStylesID.h"
31  #include "IPMUnknown.h"
32 //========================================================================================
33 //________________________________________________________________________________________
34 // CLASS DECLARATION
35 //________________________________________________________________________________________
36 
40  {
41  public:
42  //................................................................................
43  // Data Type
44  //................................................................................
45  enum { kDefaultIID = IID_IAPPLYATTRIBUTE_CMDDATA};
46 
47  //................................................................................
48  // Accessor/Mutator for the command's PrePost mechanism
49  //................................................................................
50 
55  virtual void EnableCommandPrePost (void) = 0;
60  virtual void DisableCommandPrePost (void) = 0;
66  virtual void SetCommandPrePostFlag (bool16 doPrePostAction) = 0;
69  virtual bool16 GetCommandPrePostFlag (void) = 0;
70 
71  //................................................................................
72  // Accessor/Mutator for the command's DoNotify()
73  //................................................................................
74 
77  virtual void EnableCommandDoNotify (void) = 0;
80  virtual void DisableCommandDoNotify (void) = 0;
84  virtual void SetCommandDoNotifyFlag (bool16 doNotify) = 0;
87  virtual bool16 GetCommandDoNotifyFlag (void) = 0;
88 
89  //................................................................................
90  // Accessor/Mutator for whether or not the command should flatten the page
91  // item list.
92  //................................................................................
93 
96  virtual void EnableFlattenPageItem (void) = 0;
99  virtual void DisableFlattenPageItem (void) = 0;
103  virtual void SetFlattenPageItemFlag (bool16 doFlattenPageitem) = 0;
106  virtual bool16 GetFlattenPageItemFlag (void) = 0;
107 
108  //................................................................................
109  // Accessor/Mutator for whether or not the command should invalidate the page
110  // item list.
111  //................................................................................
112 
115  virtual void EnableInvalidatePageItem (void) = 0;
118  virtual void DisableInvalidatePageItem (void) = 0;
122  virtual void SetInvalidatePageItemFlag (bool16 doInvalidate) = 0;
125  virtual bool16 GetInvalidatePageItemFlag (void) = 0;
126  };
127 
128 #endif // _IApplyAttributeCmdData_