InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMasterSpread.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 // NOT FINISHED YET - MANY MORE ATTRIBUTES TO BE ADDED ****
24 //
25 //========================================================================================
26 
27 #ifndef __IMASTERSPREAD__
28 #define __IMASTERSPREAD__
29 
30 #include "IPMUnknown.h"
31 #include "MasterPageID.h"
32 #include "PMRect.h"
33 #include "PMPoint.h"
34 #include "PMMatrix.h"
35 
36 class PMString;
37 class IHierarchy;
38 
52 class IMasterSpread : public IPMUnknown
53 {
54 public:
55  enum {kDefaultIID = IID_IMASTERSPREAD };
56 
67  virtual void GetName(PMString *pName) const = 0;
68 
74  virtual void SetBasename(const PMString& newBasename) = 0;
75 
81  virtual void GetBasename(PMString *pBasename) const = 0;
82 
83 
89  virtual void SetPrefix(const PMString& newPrefix) = 0;
90 
96  virtual void GetPrefix(PMString *pPrefix) const = 0;
97 
105  virtual UID GetCurrentLayoutSpreadUID() const = 0;
106 
115  virtual void SetCurrentLayoutSpreadUID(const UID &newSpread) = 0;
116 
124  virtual const PMMatrix& GetCurrentSpreadOffset() const = 0;
125 
133  virtual void SetCurrentSpreadOffset(const PMMatrix &offset, UID currentPage) = 0;
134 
139  virtual UID GetTopLevelPageUID() const = 0;
140 };
141 
142 #endif