InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IHyperlinkTextDestinationMarker.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jianlan Song
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 __IHyperlinkTextDestinationMarker__
25 #define __IHyperlinkTextDestinationMarker__
26 
27 #include "IPMUnknown.h"
28 #include "HyperlinkID.h"
29 
31 class ITextModel;
32 
39 {
40 public:
41  enum { kDefaultIID = IID_IHYPERLINKTEXTDESTINATIONMARKER };
42 
43 
49  virtual void Initialize( const IHyperlinkTextDestinationData *textHyperlinkDestinationData,
50  const ITextModel *textModel) = 0;
51 
52 
58  virtual UID GetHyperlinkDestinationUID() const = 0;
59 
60 
65  virtual UID GetTextModel( ) const = 0;
66 
71  virtual TextIndex UpdateLocation(TextIndex newTextIndex = -1) = 0;
72 
77  virtual TextIndex GetLocation() const = 0;
78 
79 };
80 
81 
82 #endif // __IHyperlinkTextDestinationMarker__
83 
84