InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ISnipRunDialogData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Adobe Developer Technologies
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 __ISNIPRUNDIALOGDATA__
25
#define __ISNIPRUNDIALOGDATA__
26
27
class
PMString
;
28
class
PMReal
;
29
40
class
ISnipRunDialogData
:
public
IPMUnknown
41
{
42
public
:
44
enum
{ kDefaultIID = IID_ISNIPRUNDIALOGDATA };
45
50
virtual
void
EnableTranslation
(
const
bool16 enable) = 0;
51
55
typedef
enum
{ kSnipRunStringMode, kSnipRunIntMode, kSnipRunHexMode, kSnipRunRealMode, kSnipRunChoiceMode }
SnipRunDialogMode
;
56
60
virtual
void
SetMode
(
SnipRunDialogMode
mode) = 0;
61
64
virtual
const
SnipRunDialogMode
&
GetMode
()
const
= 0;
65
70
virtual
void
SetPrompt
(
const
PMString
& value) = 0;
71
74
virtual
const
PMString
&
GetPrompt
()
const
= 0;
75
80
virtual
void
SetTypeInfo
(
const
PMString
& value) = 0;
81
84
virtual
const
PMString
&
GetTypeInfo
()
const
= 0;
85
86
90
virtual
void
SetPMString
(
const
PMString
& value) = 0;
91
94
virtual
const
PMString
&
GetPMString
()
const
= 0;
95
99
virtual
void
SetInt32
(
const
int32 value) = 0;
100
103
virtual
const
int32&
GetInt32
()
const
= 0;
104
108
virtual
void
SetPMReal
(
const
PMReal
& value) = 0;
109
112
virtual
const
PMReal
&
GetPMReal
()
const
= 0;
113
117
virtual
void
SetChoiceIndex
(
const
int32 value) = 0;
118
121
virtual
const
int32&
GetChoiceIndex
()
const
= 0;
122
126
virtual
void
SetChoices
(
const
K2Vector<PMString>
& choices) = 0;
127
130
virtual
const
K2Vector<PMString>
&
GetChoices
()
const
= 0;
131
135
virtual
void
SetLowerLimit
(
const
PMReal
& lowerLimit) = 0;
136
139
virtual
const
PMReal
&
GetLowerLimit
()
const
= 0;
140
144
virtual
void
SetUpperLimit
(
const
PMReal
& upperLimit) = 0;
145
148
virtual
const
PMReal
&
GetUpperLimit
()
const
= 0;
149
153
virtual
void
SetWasCancelled
(
const
bool16 value) = 0;
154
157
virtual
const
bool16&
GetWasCancelled
()
const
= 0;
158
};
159
160
#endif // __ISNIPRUNDIALOGDATA__
161
tmpdoxygeninput
ISnipRunDialogData.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1