InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IHyperlinkSource.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Brendan O'Shea
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 __IHyperlinkSource__
25 #define __IHyperlinkSource__
26 
27 // Includes:
28 #include "HyperlinkID.h"
29 
30 // Classes:
31 class ISpread;
32 class IHierarchy;
33 class IPMStream;
34 class IDocument;
35 
42 {
43 public:
44  enum { kDefaultIID = IID_IHYPERLINKSOURCE };
45 
46 
50  virtual void GoToHyperlinkSource() const = 0;
51 
52  // Get & Set the name of the hyperlink source
53 
57  virtual void GetName(PMString *pName) const = 0;
58 
59  // Get & Set the base name of this Hyperlink source
60 
64  virtual void SetName(const PMString& newName) = 0;
65 
66 
70  virtual void SetHidden(bool16 bIsHidden) = 0;
71 
76  virtual bool16 IsHidden() const = 0;
77 
78 
82  virtual void SetOwningHyperlink(UID owningHyperlink) = 0;
83 
88  virtual UID GetOwningHyperlink() const = 0;
89 
90 
94  virtual void SetBookmarkUID(UID bookmarkUID) = 0;
95 
100  virtual UID GetBookmarkUID() const = 0;
101 };
102 
103 #endif //__IHyperlinkSource__