InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICreateMCFrameData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: eric_menninga
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 __ICreateMCFrameData__
25 #define __ICreateMCFrameData__
26 
27 #include "IPMUnknown.h"
28 #include "TextID.h"
29 
30 class IDataBase;
31 class IDocument;
32 class IControlView;
33 
39 {
40  public:
41  enum { kDefaultIID = IID_ICREATEMCFRAMEDATA };
42 
46  virtual void CopyInto(ICreateMCFrameData *into) const = 0;
47 
52  virtual void SetFrameList(const UIDRef& framelist, int32 insertAt) = 0;
53 
57  virtual void SetStory(const UIDRef& story) = 0;
58 
62  virtual void SetDocument(IDocument* document) = 0;
63 
67  virtual void SetGraphicFrameParent(UID nGraphicFrameUID) = 0;
68 
72  virtual bool16 IsStoryCreated() const = 0;
73 
77  virtual bool16 IsFrameListCreated() const = 0;
78 
82  virtual IDocument* GetDocument() const = 0;
83 
87  virtual IDataBase* GetDataBase() const = 0;
88 
92  virtual UID GetGraphicFrameParent() const = 0;
93 
97  virtual UID GetCachedStory() const = 0;
98 
102  virtual UID GetCachedFrameList() const = 0;
103 
107  virtual UID GetStory() const = 0;
108 
112  virtual UID GetFrameList() const = 0;
113 
118  virtual int32 GetInsertIndex() const = 0;
119 
120  enum Orientation { kHorizontal, kVertical };
121 
125  virtual void SetOrientation( Orientation nOrientation ) = 0;
126 
130  virtual Orientation GetOrientation() const = 0;
131 
132  enum Direction { kLeftToRight, kRightToLeft };
133 
137  virtual void SetDirection( Direction nDirection ) = 0;
138 
142  virtual Direction GetDirection() const = 0;
143 
147  virtual void SetIsEndnoteStory(bool16 isEndnoteStory) = 0;
148 
152  virtual bool16 GetIsEndnoteStory() const = 0;
153 
158 };
159 
160 #endif