InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPlaceBehaviorUI.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Lonnie Millett
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 // Return the cursor to use during a place operation and a content dropper operation.
24 // This was moved from IPlaceBehavior.
25 //
26 //========================================================================================
27 
28 #ifndef __IPlaceBehaviorUI__
29 #define __IPlaceBehaviorUI__
30 
31 #include "IPMUnknown.h"
32 #include "ICursorMgr.h"
33 #include "GenericID.h"
34 
35 class IHierarchy;
36 class ISpread;
37 class IPlaceBehavior;
38 
42 class IPlaceBehaviorUI : public IPMUnknown {
43 public:
44  enum { kDefaultIID = IID_IPLACEBEHAVIORUI};
45 
52  virtual CursorSpec GetCursor(SysPoint globalLocation, ICursorMgr::eCursorModifierState modifiers) const = 0;
53 
59  virtual IPlaceBehavior* QueryPlaceBehaviorAt(const PMPoint& point) const = 0;
60 
67  virtual CursorSpec GetDropCursor(SysPoint globalLocation, ICursorMgr::eCursorModifierState modifiers) const = 0;
68 };
69 
70 #endif
71