InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDisplayOverrideMgr.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Chris Jones
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:
24 // This is the handle shape interface for page item adornments. This interface can
25 // return trackers just like a normal handle shape. Keep in mind, however, that
26 // it is the page item which is in the selection, not the adornment.
27 //
28 //========================================================================================
29 
30 #ifndef __IDisplayOverrideMgr__
31 #define __IDisplayOverrideMgr__
32 
33 #include "IPMUnknown.h"
34 #include "DocFrameworkID.h"
35 
37 {
38 public:
39  enum { kDefaultIID = IID_IDISPLAYOVERRIDESMGR };
40 
41 public:
54  virtual uint32 GetDrawOptionsGroup(UID uidShape, bool16 bForUIWidget) = 0;
55 
61  virtual void SetDrawOptionsGroup(UID uidShape, uint32 nGroup) = 0;
62 
72  virtual void SetInterruptDraw( bool16 bInterrupt ) = 0;
73 
78  virtual bool16 IsDrawInterrupted() = 0;
79 
85  virtual void SetMostRecentDrawOptionsID(uint32 n) = 0;
86  virtual uint32 GetMostRecentDrawOptionsID() = 0;
87 
92  virtual void GetInMemoryOverrides(uint32 nDrawGroup, UIDList& uidOverrides ) = 0;
93 };
94 
95 #endif