InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IChangePIIsApplicableCmdData.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 _IChangePageItemIsApplicableCmdData_
25 #define _IChangePageItemIsApplicableCmdData_
26 //========================================================================================
27 //________________________________________________________________________________________
28 // INCLUDES
29 //________________________________________________________________________________________
30  #include "IPMUnknown.h"
31 //========================================================================================
32 //________________________________________________________________________________________
33 // CLASS DECLARATION
34 //________________________________________________________________________________________
35 
39  {
40  public:
41  //................................................................................
42  // Accessors/Mutators for the allow attribute class ID.
43  // This list will enable the specified attributes on the page items in the
44  // command's list.
45  //................................................................................
46 
50  virtual void AddAllowAttributeClassID (const ClassID& allowedAttrClassID) = 0;
53  virtual int32 GetAllowAttributeCount (void) = 0;
58  virtual ClassID GetAllowAttributeClassID (int32 index) = 0;
59 
60  //................................................................................
61  // Accessors/Mutators for the prevent attribute class ID.
62  // This list will disable the specified attributes on the page items in the
63  // command's list.
64  //................................................................................
65 
69  virtual void AddPreventAttributeClassID (const ClassID& preventAttrClassID) = 0;
72  virtual int32 GetPreventAttributeCount (void) = 0;
77  virtual ClassID GetPreventAttributeClassID (int32 index) = 0;
78 
79  //................................................................................
80  // Accessors/Mutators for the allow fill rendering type.
81  // This list will disable the specified rendering types on the page items in
82  // the command's list.
83  //................................................................................
84 
88  virtual void AddAllowFillRenderingType (const ClassID& renderClassID) = 0;
91  virtual int32 GetAllowFillRenderingTypeCount (void) = 0;
96  virtual ClassID GetAllowFillRenderingType (int32 index) = 0;
97 
98  //................................................................................
99  // Accessors/Mutators for the prevent fill rendering type.
100  // This list will disable the specified rendering types on the page items in
101  // the command's list.
102  //................................................................................
103 
107  virtual void AddPreventFillRenderingType (const ClassID& preventRenderClassID) = 0;
110  virtual int32 GetPreventFillRenderingTypeCount (void) = 0;
115  virtual ClassID GetPreventFillRenderingType (int32 index) = 0;
116 
117  //................................................................................
118  // Accessors/Mutators for the allow stroke rendering type.
119  // This list will disable the specified rendering types on the page items in
120  // the command's list.
121  //................................................................................
122 
126  virtual void AddAllowStrokeRenderingType (const ClassID& renderClassID) = 0;
129  virtual int32 GetAllowStrokeRenderingTypeCount (void) = 0;
134  virtual ClassID GetAllowStrokeRenderingType (int32 index) = 0;
135 
136  //................................................................................
137  // Accessors/Mutators for the prevent stroke rendering type.
138  // This list will disable the specified rendering types on the page items in
139  // the command's list.
140  //................................................................................
141 
145  virtual void AddPreventStrokeRenderingType (const ClassID& preventRenderClassID) = 0;
148  virtual int32 GetPreventStrokeRenderingTypeCount (void) = 0;
153  virtual ClassID GetPreventStrokeRenderingType (int32 index) = 0;
154  };
155 
156 #endif // _IChangePageItemIsApplicableCmdData_