InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITextFrameColumn.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Zak_Williamson
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 // The ITextFrameColumn interface exists on a text frame boss.
24 // The text frame boss represents one column of text within a multi-column boss.
25 //
26 // The ITextFrameColumn interface holds information on the relationship between this column of text and the story
27 // displayed in the column.
28 //
29 //========================================================================================
30 
31 #ifndef __ITextFrameColumn__
32 #define __ITextFrameColumn__
33 
34 #include "IPMUnknown.h"
35 #include "TextID.h"
36 #include "CTextEnum.h"
37 
38 class IFrameList;
40 class IInlineData;
41 class IStoryOptions;
42 class ITextModel;
43 class ParcelKey;
44 class PMPoint;
45 class UIDList;
46 
53 {
54 public:
55  enum { kDefaultIID = IID_ITEXTFRAMECOLUMN };
56 
62 
63 #ifdef ID_DEPRECATED
64 
68  virtual TextIndex TextStart() const = 0;
69 
74  virtual int32 TextSpan() const = 0;
75 #endif // ID_DEPRECATED
76 
82  virtual void SetFrameListUID(UID frameListUID) = 0;
83 
88  virtual UID GetFrameListUID() const = 0;
89 
94  virtual IFrameList* QueryFrameList() const = 0;
95 
100  virtual UID GetTextModelUID() const = 0;
101 
106  virtual ITextModel* QueryTextModel() const = 0;
107 
112  virtual IStoryOptions* QueryStoryOptions() const = 0;
113 
124  virtual PMReal HitTestFrame(const PMPoint & pPt,
125  bool16 composeFirst,
126  TextIndex *nextLine,
127  bool16 primarySTOnly = kTrue) = 0;
128 
134  virtual bool16 GetIsEmpty() const = 0;
135 
142  virtual void GetHierarchyChildren(UIDList& childList) const = 0;
143 
147  virtual void AddHierarchyChild(const IInlineData* id) = 0;
148 
152  virtual void RemoveHierarchyChild(const IInlineData* id) = 0;
153 
154 };
155 
156 #endif