InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IHyperlink.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
// IHyperlink is the abstract interface to a hyperlink
24
//
25
//========================================================================================
26
27
#ifndef __IHyperlink__
28
#define __IHyperlink__
29
30
#include "IPMUnknown.h"
31
#include "HyperlinkID.h"
32
33
class
PMString
;
34
35
class
IHyperlink
:
public
IPMUnknown
36
{
37
public
:
38
enum
{kDefaultIID = IID_IHYPERLINK };
39
43
virtual
void
GetName
(
PMString
*pName)
const
= 0;
44
48
virtual
void
SetName
(
const
PMString
& newName) = 0;
49
53
virtual
void
GetDisplayName
(
PMString
*pName)
const
= 0;
54
58
virtual
void
SetDisplayName
(
const
PMString
& newName) = 0;
59
64
virtual
const
UID
&
GetSourceUID
()
const
= 0;
65
70
virtual
UID
GetDestinationUID
()
const
= 0;
71
75
virtual
uint32
GetDestinationUniqueKey
()
const
= 0;
76
80
virtual
void
SetSourceUID
(
const
UID
newSourceUID) = 0;
81
85
virtual
void
SetDestinationUniqueKey
(uint32 newDestKey) = 0;
86
90
virtual
void
SetHidden
(bool16 bIsHidden) = 0;
91
96
virtual
bool16
IsHidden
()
const
= 0;
97
101
virtual
void
SetExternalDestination
(bool16 bIsDestinationExternal) = 0;
102
107
virtual
bool16
IsExternalDestination
()
const
= 0;
108
113
virtual
bool16
IsDestInExternalFile
()
const
= 0;
114
118
virtual
void
GoToSource
()
const
= 0;
119
123
virtual
void
GoToDestination
()
const
= 0;
124
125
// For getting and setting the destination Icons
126
131
virtual
void
GetIcon
(RsrcID *iconID,
PluginID
*pluginID)
const
= 0;
132
137
virtual
void
SetIcon
(RsrcID iconID,
PluginID
pluginID) = 0;
138
141
virtual
bool16
IsUnresolvedLink
()
const
= 0;
144
virtual
bool16
destInHiddenLayer
()
const
= 0;
147
virtual
bool16
IsOutOfDateLink
()
const
= 0;
148
152
virtual
UIDRef
GetDestinationUIDRef
()
const
= 0;
153
};
154
155
#endif
tmpdoxygeninput
IHyperlink.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1