InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IHyperlinkDestination.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 __IHyperlinkDestination__
25
#define __IHyperlinkDestination__
26
27
// Includes:
28
#include "HyperlinkID.h"
29
30
// Classes:
31
class
ISpread
;
32
class
IDocument
;
33
class
IHierarchy
;
34
class
IPMStream
;
35
39
class
IHyperlinkDestination
:
public
IPMUnknown
40
{
41
public
:
42
enum
{ kDefaultIID = IID_IHYPERLINKDESTINATION };
43
44
enum
DestType
45
{
46
kTextAnchorDestination = 0,
47
kPageDestination,
48
kURLDestination,
49
kExternalPageDestination,
50
};
51
55
virtual
void
GoToHyperlinkDestination
()
const
= 0;
56
57
61
virtual
void
SetHidden
(bool16 bIsHidden) = 0;
62
67
virtual
bool16
IsHidden
()
const
= 0;
68
69
73
virtual
void
GetName
(
PMString
*destName)
const
= 0;
74
78
virtual
void
SetName
(
const
PMString
&destName) = 0;
79
83
virtual
uint32
GetKey
()
const
= 0;
84
88
virtual
void
SetKey
(uint32 destKey) = 0;
89
90
// The following methods are included for extensibility
91
// They are intended as ways for current dialogs to be able
92
// to give users basic information about destination types that
93
// may be added in the future.
94
99
virtual
void
GetIcon
(RsrcID *iconID,
PluginID
*pluginID) = 0;
100
101
// Get this destination's type as a string ("Page", "Text Anchor", "URL")
102
106
virtual
void
GetType
(
PMString
*destType)
const
= 0;
107
108
// Get this destination's type as a DestType enum
109
113
virtual
DestType
GetType
()
const
= 0;
114
115
// Get information about this destination (Page it is on, URL it points to, etc)
116
120
virtual
void
GetInfo
(
PMString
*destInfo)
const
= 0;
121
};
122
123
#endif // __IHyperlinkDestination__
tmpdoxygeninput
IHyperlinkDestination.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1