InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ISnipRunParameterUtils.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 _ISnipRunParameterUtils_
25
#define _ISnipRunParameterUtils_
26
27
class
PMString
;
28
49
class
ISnipRunParameterUtils
:
public
IPMUnknown
50
{
51
public
:
53
enum
{ kDefaultIID = IID_ISNIPRUNPARAMETERUTILS };
54
66
virtual
PMString
GetPMString
(
const
PMString
& prompt,
const
PMString
& defaultValue =
""
)
const
= 0;
67
87
virtual
int32
GetInt32
(
const
PMString
& prompt,
const
int32 defaultValue = 0,
const
int32 lowerLimit = 0,
const
int32 upperLimit = 0)
const
= 0;
88
108
virtual
PMReal
GetPMReal
(
const
PMString
& prompt,
const
PMReal
& defaultValue = 0,
const
PMReal
& lowerLimit = 0,
const
PMReal
& upperLimit = 0)
const
= 0;
109
134
virtual
int32
GetChoice
(
const
PMString
& prompt,
const
K2Vector<PMString>
& choices,
const
int32 defaultChoiceIndex = 0)
const
= 0;
135
141
virtual
bool16
WasDialogCancelled
()
const
= 0;
142
143
public
:
144
// The methods in this section are for the use of the SnippetRunner framework
145
// and should be avoided.
146
159
virtual
void
EnableDialog
(
const
bool16 enable) = 0;
160
165
virtual
bool16
IsDialogEnabled
()
const
= 0;
166
187
virtual
void
EnableTranslation
(
const
bool16 enable) = 0;
188
193
virtual
bool16
IsTranslationEnabled
()
const
= 0;
194
199
virtual
void
SetParameters
(
const
PMString
& params) = 0;
200
206
virtual
PMString
GetParameters
() = 0;
207
208
};
209
210
#endif // _ISnipRunParameterUtils_
tmpdoxygeninput
ISnipRunParameterUtils.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1