InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMasterOverrideList.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 
24 #ifndef __IMasterOverrideList__
25 #define __IMasterOverrideList__
26 
27 #include "IPMUnknown.h"
28 #include "MasterPageID.h"
29 
38 {
39 public:
40 
41  enum { kDefaultIID = IID_IMASTEROVERRIDELIST };
42 
44  virtual int32 OverrideCount() = 0;
45 
50  virtual void AddOverride(UID masterUID, UID pageUID) = 0;
51 
55  virtual void AddOverride(IMasterOverrideList *masterOverrides) = 0;
56 
60  virtual void RemoveOverride(UID masterUID) = 0;
61 
63  virtual void RemoveAllOverrides() = 0;
64 
80  virtual int32 GetNthOverrideIndex( UID mpUID, int32 nthOverride ) const = 0;
81 
82 
88  virtual int32 GetOverrideIndexCount(UID mpUID) const = 0;
89 
94  virtual bool16 HasOverrides( UID mpUID ) const = 0;
95 
101  virtual void GetOverridePair(int32 index, UID *mpUID, UID *pgUID) = 0;
102 
108  virtual UID GetOverride(int32 idx) = 0;
109 
110 };
111 
112 #endif