InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IEditBoxAttributes.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Lance Bushore
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 __IEditBoxAttributes__
25
#define __IEditBoxAttributes__
26
27
#include "IPMUnknown.h"
28
#include "widgetid.h"
29
30
#ifdef MACINTOSH
31
const
int32 kEndOfRange = 32767;
32
#endif
33
#ifdef WINDOWS
34
const
int32 kEndOfRange = -1;
35
#endif
36
39
class
IEditBoxAttributes
:
public
IPMUnknown
40
{
41
public
:
42
enum
{ kDefaultIID = IID_IEDITBOXATTRIBUTES };
43
47
virtual
void
SetNudgeButtonWidgetID
(
const
WidgetID
& nudgeButton) = 0;
48
52
virtual
WidgetID
GetNudgeButtonWidgetID
()
const
= 0;
53
59
virtual
void
SetSmallNudgeAmount
(
const
PMReal
& increment) = 0;
60
66
virtual
PMReal
GetSmallNudgeAmount
()
const
= 0;
67
73
virtual
void
SetLargeNudgeAmount
(
const
PMReal
& increment) = 0;
74
80
virtual
PMReal
GetLargeNudgeAmount
()
const
= 0;
81
85
virtual
CharCounter
GetMaxNumChars
()
const
= 0;
86
90
virtual
void
SetMaxNumChars
(
const
CharCounter& maxNumChars) = 0;
91
95
virtual
bool16
IsEditboxReadOnly
()
const
= 0;
96
100
virtual
void
SetEditboxReadOnly
(
const
bool16& readOnly) = 0;
101
106
virtual
bool16
ShouldNotifyEveryStroke
()
const
= 0;
107
112
virtual
void
SetNotifyEveryStroke
(
const
bool16& flag) = 0;
113
118
virtual
void
SelectRange
(
const
CharCounter& startOfRange,
const
CharCounter& endOfRange = kEndOfRange) = 0;
119
120
124
virtual
CharCounter
GetStartOfSelection
()
const
= 0;
125
129
virtual
CharCounter
GetEndOfSelection
()
const
= 0;
130
134
virtual
bool16
IsMultiLine
()
const
= 0;
135
};
136
137
#endif // __IEditBoxAttributes__
tmpdoxygeninput
IEditBoxAttributes.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1