InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAutoFlowCmdData.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 __IAutoFlowCmdData__
25 #define __IAutoFlowCmdData__
26 
27 #include "TextID.h"
28 #include "IPMUnknown.h"
29 
30 class IFrameList;
31 class IGeometry;
32 class UIDRef;
33 class PMPoint;
34 
40 {
41  public:
42  enum { kDefaultIID = IID_IAUTOFLOWCMDDATA };
43 
56  virtual void Set(UID page, UID framelist, UIDRef& parent, PMPoint& where, bool16 usePB = kFalse,
57  bool16 usePlaceGun = kTrue) = 0;
58 
62  virtual IFrameList* QueryFrameList() = 0;
63 
67  virtual IGeometry* QueryStartPage() = 0;
68 
72  virtual const UIDRef& GetParent() const = 0;
73 
77  virtual const PMPoint& GetClickPoint() const = 0;
78 
82  virtual bool16 UseProgressBar() const = 0;
83 
87  virtual TextIndex GetTextLength() = 0;
88 
92  virtual UID GetFrameListUID() = 0;
93 
97  virtual UID GetInitialTextFrameUID() const = 0;
98 
103  virtual UID GetFirstPlaceItemUID() const = 0;
104 
109  virtual bool16 UsePlaceGun() const = 0;
110 };
111 
112 #endif