InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreflightTextRangeInfo.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Phillips
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 #include "IPMUnknown.h"
25 #include "PackageAndPreflightID.h"
26 
27 class ITextModel;
28 class ParcelKey;
29 
39 {
40 public:
41  enum { kDefaultIID = IID_IPREFLIGHTTEXTRANGEINFO };
42 
46  virtual ITextModel* QueryTextModel() const = 0;
47 
50  virtual UIDRef GetTextModelRef() const = 0;
51 
54  virtual UID GetThreadDictUID() const = 0;
55 
58  virtual uint32 GetThreadDictKey() const = 0;
59 
62  virtual ParcelKey GetParcelKey() const = 0;
63 
66  virtual TextIndex GetParcelRelativeStart() const = 0;
67 
70  virtual TextIndex GetAbsoluteStart() const = 0;
71 
74  virtual int32 GetSpan() const = 0;
75 
78  virtual void Initialize() = 0;
79 };
80