InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IApplyRendObjAttrCmdData.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 _IApplyRenderingObjectAttributeCmdData_
25 #define _IApplyRenderingObjectAttributeCmdData_
26 //========================================================================================
27 //________________________________________________________________________________________
28 // INCLUDES
29 //________________________________________________________________________________________
30  #include "IPMUnknown.h"
31  #include "GraphicStylesID.h"
32 //========================================================================================
33 //________________________________________________________________________________________
34 // CLASS DECLARATION
35 //________________________________________________________________________________________
36 
42  {
43  public:
44  enum { kDefaultIID = IID_IAPPLYRENDOBJATTR_CMDDATA };
45 
49  virtual void SetAttributeClassID (ClassID renderingAttrClassID) = 0;
50 
53  virtual ClassID GetAttributeClassID (void) = 0;
54 
60  virtual void SetRenderingClassID (ClassID renderingClassID) = 0;
63  virtual ClassID GetRenderingClassID (void) = 0;
64 
67  virtual void SetDataBase (IDataBase* iDataBase) = 0;
70  virtual IDataBase* GetDataBase (void) = 0;
71 
72  //................................................................................
73  // Accessor/Mutator for the command's PrePost mechanism
74  //................................................................................
75 
80  virtual void EnableCommandPrePost (void) = 0;
85  virtual void DisableCommandPrePost (void) = 0;
91  virtual void SetCommandPrePostFlag (bool16 doPrePostAction) = 0;
94  virtual bool16 GetCommandPrePostFlag (void) = 0;
95 
96  //................................................................................
97  // Accessor/Mutator for the command's DoNotify()
98  //................................................................................
99 
102  virtual void EnableCommandDoNotify (void) = 0;
105  virtual void DisableCommandDoNotify (void) = 0;
109  virtual void SetCommandDoNotifyFlag (bool16 doNotify) = 0;
112  virtual bool16 GetCommandDoNotifyFlag (void) = 0;
113  };
114 
115 #endif // _IApplyRenderingObjectAttributeCmdData_