InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IToolboxStrokeFillPreference.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 // Note: This interface is intended to hold the preference setting for the
24 // stroke & fill proxy in the toolbox. It is added, as a singleton, to the
25 // session's workspace (stored in K2 Defaults). The flag is an application
26 // wide setting.
27 //
28 //========================================================================================
29 
30 #ifndef _IToolboxStrokeFillPreference_
31 #define _IToolboxStrokeFillPreference_
32 //========================================================================================
33 //________________________________________________________________________________________
34 // INCLUDES
35 //________________________________________________________________________________________
36  #include "IPMUnknown.h"
37  #include "ToolboxProxyTypes.h"
38  #include "IGraphicAttrProxySuite.h" // for attribute proxy type
39 
40 //========================================================================================
45  {
46  //____________________________________________________________________________________
47  // Data Types
48  //____________________________________________________________________________________
49  public:
50  enum { kDefaultIID = IID_TOOLBOX_STROKEFILL_PREF };
51 
52  //____________________________________________________________________________________
53  // Accessors
54  //____________________________________________________________________________________
55  public:
60  virtual bool16 IsFillActive (const IGraphicAttrProxySuite::ActiveProxyType& attrProxyType) const = 0;
65  virtual bool16 IsStrokeActive (const IGraphicAttrProxySuite::ActiveProxyType& attrProxyType) const = 0;
66 
73  virtual bool16 IsActive (const ToolboxProxy::ActiveProxyType& x, const IGraphicAttrProxySuite::ActiveProxyType& attrProxyType) const = 0;
74 
80  virtual void SetActive (const ToolboxProxy::ActiveProxyType& x, const IGraphicAttrProxySuite::ActiveProxyType& attrProxyType) = 0;
81 
87  };
88 
89 #endif // _IToolboxStrokeFillPreference_