InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGraphicStateCmdData.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 _IGraphicStateCmdData_
25 #define _IGraphicStateCmdData_
26 //===================================================================================
27 //___________________________________________________________________________________
28 // INCLUDES
29 //___________________________________________________________________________________
30  #include "IPMUnknown.h"
31  #include "IGraphicStateData.h"
32 //===================================================================================
33 class IGraphicStateData;
34 
35 //___________________________________________________________________________________
36 // CLASS DECLARATION
37 //___________________________________________________________________________________
38 
42  {
43  //___________________________________________________________________________
44  // Accessor memeber functions
45  //___________________________________________________________________________
46  public:
47  enum {kDefaultIID = IID_IGRAPHICSTATE_CMDDATA};
48 
53  virtual void SetGraphicStateUIDRef (IDataBase* iDataBase, UID gfxStateUID) = 0;
54 
57  virtual IPMUnknown* QueryGraphicStateDataInterface (void) = 0;
58 
61  virtual IDataBase* GetTargetDataBase (void) = 0;
62 
68  virtual void SetTarget (IGraphicStateData::TargetType targetType, bool16 isTargetCurrent) = 0;
69 
72  virtual IGraphicStateData::TargetType GetTargetType (void) = 0;
73 
77  virtual bool16 GetTargetIsCurrent (void) = 0;
78  };
79 
80 #endif // _IGraphicStateCmdData_