InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IApplyMultAttributesCmdData.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 
24 #ifndef _IApplyMulAttributesCmdData_
25 #define _IApplyMulAttributesCmdData_
26 //========================================================================================
27 //________________________________________________________________________________________
28 // INCLUDES
29 //________________________________________________________________________________________
30  #include "GraphicStylesID.h"
31  #include "IPMUnknown.h"
32 //========================================================================================
34 //________________________________________________________________________________________
35 // CLASS DECLARATION
36 //________________________________________________________________________________________
37 
41  {
42  public:
43  //................................................................................
44  // Data Type
45  //................................................................................
46  enum { kDefaultIID = IID_IAPPLYMULTATTRIBUTES_CMDDATA};
47 
48 
49  //____________________________________________________________________________________
50  // Accessor for the command's attribute list
51  // NOTE: Stroke and fill rendering attributes should also be set here.
52  //____________________________________________________________________________________
57  virtual void SetAttributes (IGraphicStyleAttributeBossList* iAttrList) = 0;
63  virtual void AddAnAttribute (IPMUnknown*) = 0;
68 
69  //____________________________________________________________________________________
70  // Accessor/Mutator for the command's PrePost mechanism
71  //____________________________________________________________________________________
75  virtual void EnableCommandPrePost (void) = 0;
79  virtual void DisableCommandPrePost (void) = 0;
84  virtual void SetCommandPrePostFlag (bool16 doPrePost) = 0;
87  virtual bool16 GetCommandPrePostFlag (void) = 0;
88 
89  //____________________________________________________________________________________
90  // Accessor/Mutator for the command's DoNotify()
91  //____________________________________________________________________________________
94  virtual void EnableCommandDoNotify (void) = 0;
97  virtual void DisableCommandDoNotify (void) = 0;
101  virtual void SetCommandDoNotifyFlag (bool16 doNotify) = 0;
104  virtual bool16 GetCommandDoNotifyFlag (void) = 0;
105 
106  //____________________________________________________________________________________
107  // Accessor/Mutator for whether or not the command should flatten the page
108  // item list.
109  //____________________________________________________________________________________
112  virtual void EnableFlattenPageItem (void) = 0;
115  virtual void DisableFlattenPageItem (void) = 0;
119  virtual void SetFlattenPageItemFlag (bool16 doFlatten) = 0;
122  virtual bool16 GetFlattenPageItemFlag (void) = 0;
123 
124  //____________________________________________________________________________________
125  // Accessor/Mutator for whether or not the command should invalidate the page
126  // item list.
127  //____________________________________________________________________________________
131  virtual void EnableInvalidatePageItem (void) = 0;
135  virtual void DisableInvalidatePageItem (void) = 0;
139  virtual void SetInvalidatePageItemFlag (bool16 doInvalidate) = 0;
142  virtual bool16 GetInvalidatePageItemFlag (void) = 0;
143  };
144 
145 #endif // _IApplyMulAttributesCmdData_