InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IControllingPageItem.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Brendan O'Shea
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 // Description : To set up a page item as a slave to another page item. Used in
24 // conjunction with IControlledPageItems.
25 //
26 //========================================================================================
27 
28 #ifndef __IControllingPageItem__
29 #define __IControllingPageItem__
30 
31 #include "IPMUnknown.h"
32 #include "MasterPageID.h"
33 #include "K2Vector.h"
34 
35 
36 
38 {
39 public:
40  enum { kDefaultIID = IID_ICONTROLLINGPAGEITEM };
41 
42  virtual void SetControllingUID (UID id) = 0;
43 
45  virtual UID GetControllingUID () = 0;
46 
48  virtual void DontForward(PMIID) = 0;
49 
51  virtual void RestartForwarding(PMIID) = 0;
52 
54  virtual bool16 IsForwarded(PMIID) = 0;
55 
57  virtual void GetNonForwardedIIDs (K2Vector<PMIID>& list) = 0;
58 
60  virtual void SetNonForwardedIIDs (const K2Vector<PMIID>& list) = 0;
61 };
62 
63 #endif