InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITableTextContainer.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: ???
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 __ITableTextContainer__
25 #define __ITableTextContainer__
26 
27 #include "TableTypes.h"
28 #include "TablesID.h"
29 #include "PMTextUtils.h"
30 
31 class ITextModel;
32 class ITextParcelList;
33 
61 {
62 public:
63  enum { kDefaultIID = IID_ITABLETEXTCONTAINER };
64 
69  virtual const UIDRef& GetTextModelRef() const = 0;
70 
74  virtual ITextModel* QueryTextModel() const = 0;
75 
76 
81  virtual void AttachToTextModel(UID textModelUID) = 0;
82 
86  virtual void DetachFromTextModel() = 0;
87 
91  virtual void SetTextModelUID(UID textModelUID) = 0;
92 
93  // 01/19/01 dwaterfa: These methods will likely disappear as this
94  // information is hidden within the Layout Strand.
95 
100  virtual UID GetFirstTableFrameUID() const = 0;
101 
106  virtual void SetFirstTableFrameUID(UID uid) = 0;
107 
108 
114  virtual TextIndex GetAnchorTextIndex() const = 0;
115 
120  virtual int32 GetAnchorSpan() const = 0;
121 
133  virtual Text::StoryRange GetThreadBlockTextRange() const = 0;
134 
139  virtual ITextParcelList* QueryTextParcelList() const = 0;
140 
141 };
142 
143 #endif