InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISetDrawOptionsCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Dave Stephens
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 // Purpose: This Data interface is used to pass Draw options for a given set
24 // to the SetDrawOptionsCmd.
25 //
26 //========================================================================================
27 
28 #ifndef __ISetDrawOptionsCmdData__
29 #define __ISetDrawOptionsCmdData__
30 
31 #include "IDrawOptions.h"
32 #include "IPMUnknown.h"
33 
41 {
42 public:
47  {
48  kSetSaveLocalOverrides = 0x01
49  };
50 
51 public:
59  virtual void SetSet(DrawOptionsSet set, bool8 isDefault) = 0;
60 
68  virtual void SetIgnore(bool8 ignoreOverrides) = 0;
69 
74  virtual void SetSaveLocalOverrides(bool8 save) = 0;
75 
76 
81  virtual bool8 GetSet(DrawOptionsSet *set) const = 0;
82 
86  virtual bool8 IsDefault(void) const = 0;
87 
92  virtual bool8 DoIgnore(void) const = 0; // Are we ignoring local overrides?
93 
97  virtual bool8 DoSaveLocalOverrides() const = 0;
98 
102  virtual SetDrawOptionsSetFlags GetSetFlags() const = 0;
103 };
104 
105 #endif // __ISetDrawOptionsCmdData__