InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPasteboardUtils.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bernd Paradies
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 __IPasteboardUtils__
25 #define __IPasteboardUtils__
26 
27 #include "GenericID.h"
28 #include "IPMUnknown.h"
29 #include "RequestContext.h"
30 #include "Utils.h"
31 
32 #include "PMRect.h"
33 
34 class ISpread;
35 class IHierarchy;
36 class IControlView;
37 class UIDList;
38 
48 {
49 public:
53  enum { kDefaultIID = IID_IPASTEBOARDUTILS };
54 
61  virtual ISpread* QuerySpread(IHierarchy* item) const = 0;
62 
73  virtual ISpread* QuerySpread(IHierarchy* item, const ScriptInfo::RequestContext& context, bool16 useLastFrameIfOverset = kFalse) const = 0;
74 
82  virtual ISpread* QuerySpread(IControlView* layoutView, const PBPMPoint& location) const = 0;
83 
93  virtual ISpread* QuerySpread(IControlView* layoutView, const PMReal& location, bool16 horizontal) const = 0;
94 
105  virtual ISpread* QueryNearestSpread(IControlView* layoutView, const PBPMPoint& location) const = 0;
106 
107 };
108 
109 
110 #endif // __IPasteboardUtils__