InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IUserInterfacePreferences.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 __IUserInterfacePreferences__
25
#define __IUserInterfacePreferences__
26
27
#include "IPMUnknown.h"
28
#include "AppUIID.h"
29
32
class
IUserInterfacePreferences
:
public
IPMUnknown
33
{
34
public
:
35
enum
{ kDefaultIID = IID_IUSERINTERFACEPREFERENCES };
37
enum
ToolboxState
{
39
kTallSkinny
= 0,
41
kTallRegular
,
43
kWideSkinny
44
};
45
46
50
virtual
ToolboxState
GetToolboxOrientation
()
const
= 0;
51
55
virtual
void
SetToolboxOrientation
(
ToolboxState
newOrientation) = 0;
56
57
enum
TipsState
{
59
kNoTips
= 0,
61
kNormalTips
,
63
kSlowTips
,
65
kFastTips
66
};
67
68
72
virtual
TipsState
GetTipsState
()
const
= 0;
73
77
virtual
void
SetTipsState
(
TipsState
newState) = 0;
78
82
virtual
bool16
GetUIPaletteDrawersStayOpen
()
const
= 0;
83
87
virtual
void
SetUIPaletteDrawersStayOpen
(bool16 drawersStayOpen) = 0;
88
93
virtual
bool16
GetUIAutoShowHiddenPanels
()
const
= 0;
94
98
virtual
void
SetUIAutoShowHiddenPanels
(bool16 autoShow) = 0;
99
104
virtual
bool16
GetUseApplicationContainerAsAppFrame
()
const
= 0;
105
110
virtual
void
SetUseApplicationContainerAsAppFrame
(bool16 iWantToLiveInABox ) = 0;
111
116
virtual
bool16
GetShowAppBar
()
const
= 0;
117
122
virtual
void
SetShowAppBar
(bool16 bShowAppBar) = 0;
123
127
virtual
bool16
GetNewPresentationsAppearAsNewTabInActiveContext
()
const
= 0;
128
132
virtual
void
SetNewDocumentPresentationsAppearAsNewTabInActiveContext
(bool16 createNewDocumentTabs ) = 0;
133
137
virtual
bool16
GetEnableFloatingPresentationDocking
()
const
= 0;
138
142
virtual
void
SetEnableFloatingPresentationDocking
(bool16 enableDocking) = 0;
143
149
virtual
bool16
GetUIShowThumbnailCursor
()
const
= 0;
150
155
virtual
void
SetUIShowThumbnailCursor
(bool16 showThumbnails) = 0;
156
162
virtual
bool16
GetUIShowObjectDimensionsCursor
()
const
= 0;
163
169
virtual
void
SetUIShowObjectDimensionsCursor
(bool16 showDimensions) = 0;
170
176
virtual
int32
GetUIOpenRecentLength
()
const
= 0;
177
182
virtual
void
SetUIOpenRecentLength
(int32 numOfOpenRecentFilesToDisplay) = 0;
183
187
virtual
bool16
GetUIShowContentGrabber
(
void
)
const
= 0;
188
193
virtual
void
SetUIShowContentGrabber
(bool16 show) = 0;
194
198
virtual
bool16
GetUIShowLiveCorners
(
void
)
const
= 0;
199
204
virtual
void
SetUIShowLiveCorners
(bool16 show) = 0;
205
209
virtual
bool16
GetUIShowAnchorAdornment
(
void
)
const
= 0;
210
216
virtual
void
SetUIShowAnchorAdornment
(bool16 show) = 0;
217
218
222
virtual
bool16
GetShowMasterPageOverlay
(
void
)
const
= 0;
223
227
virtual
void
SetShowMasterPageOverlay
(bool16 show) = 0;
228
229
233
virtual
bool16
GetObjectsMoveWithPage
(
void
)
const
= 0;
234
238
virtual
void
SetObjectsMoveWithPage
(bool16 moveItemsWithPagesWithoutOptionKey) = 0;
239
240
241
245
virtual
bool16
GetEnableMultiTouchGestures
()
const
= 0;
246
250
virtual
void
SetEnableMultiTouchGestures
(bool16 enableGestures) = 0;
251
255
virtual
bool16
GetPreventSelectingLockedItems
(
void
)
const
= 0;
256
260
virtual
void
SetPreventSelectingLockedItems
(bool16 show) = 0;
261
265
virtual
bool16
GetObjectFrameHighlighting
()
const
= 0;
266
270
virtual
void
SetObjectFrameHighlighting
(bool16 enableHighlighting) = 0;
271
275
virtual
bool16
GetScrollAllWindows
()
const
= 0;
276
280
virtual
void
SetScrollAllWindows
(bool16 scrollAll) = 0;
281
285
virtual
bool16
GetZoomAllWindows
()
const
= 0;
286
290
virtual
void
SetZoomAllWindows
(bool16 zoomAll) = 0;
291
295
virtual
bool16
GetEnableDrawProxyOnDrag
()
const
= 0;
296
300
virtual
void
SetEnableDrawProxyOnDrag
(bool16 enableDrawProxyOnDrag) = 0;
301
305
virtual
bool16
GetUIShowRibbon
(
void
)
const
= 0;
306
311
virtual
void
SetUIShowRibbon
(bool16 show) = 0;
312
316
virtual
bool16
GetEnableCreateLinks
(
void
)
const
= 0;
317
322
virtual
void
SetEnableCreateLinks
(bool16 enableCreateLinks) = 0;
323
327
virtual
bool16
GetEnableMapStyles
(
void
)
const
= 0;
328
333
virtual
void
SetEnableMapStyles
(bool16 enableMapStyles) = 0;
334
338
virtual
void
SetUseCustomMonitorResolution
(bool16 bUseCustomResolution) = 0;
339
343
virtual
bool16
GetUseCustomMonitorResolution
()
const
= 0;
344
348
virtual
void
SetCustomMonitorResolution
(
const
PMReal
& ppi) = 0;
349
353
virtual
PMReal
GetCustomMonitorResolution
()
const
= 0;
354
355
enum
UIBrightnessPreference
{
357
kBrightUI
= 0,
359
kMediumBrightUI
,
361
kMediumDarkUI
,
363
kDarkUI
,
365
kCustomUI
,
366
};
367
368
static
PMReal
UIBrightnessPreferenceValue[];
369
375
virtual
void
SetUIBrightnessPreference
(
const
PMReal
brightnessVal) = 0;
376
380
virtual
PMReal
GetUIBrightnessPreference
()
const
= 0;
381
382
enum
PasteboardColorPreference
{
384
kPasteboardWhiteColored
= 0,
386
kPasteboardThemeColored
,
387
};
388
392
virtual
void
SetPasteboardColorPreference
(
const
int32 nPrefValue) = 0;
393
397
virtual
int32
GetPasteboardColorPreference
()
const
= 0;
398
402
virtual
void
SetShowWhatsNewOnStartup
(bool16 showOnStartup) = 0;
403
407
virtual
bool16
GetShowWhatsNewOnStartup
()
const
= 0;
408
412
virtual
void
SetAutoAddSwatchToCCLibraries
(bool16 addSwatchToCCLibraries) = 0;
413
417
virtual
bool16
GetAutoAddSwatchToCCLibraries
()
const
= 0;
418
422
virtual
void
SetAutoAddCharStyleToCCLibraries
(bool16 addCharStyleToCCLibraries) = 0;
423
427
virtual
bool16
GetAutoAddCharStyleToCCLibraries
()
const
= 0;
428
432
virtual
void
SetAutoAddParaStyleToCCLibraries
(bool16 addParaStyleToCCLibraries) = 0;
433
437
virtual
bool16
GetAutoAddParaStyleToCCLibraries
()
const
= 0;
438
442
virtual
void
EnableApplicationContainerAsAppFrame
() = 0;
446
virtual
void
SetShowHomeWorkspace
(bool16 show) = 0;
447
451
virtual
bool16
GetShowHomeWorkspace
()
const
= 0;
452
456
virtual
bool16
GetUIShowStockPurchaseAdornment
(
void
)
const
= 0;
457
462
virtual
void
SetUIShowStockPurchaseAdornment
(bool16 show) = 0;
463
467
virtual
bool16
GetPanelTabHeightPreference
(
void
)
const
= 0;
468
472
virtual
void
SetPanelTabHeightPreference
(bool16 tabHeight) = 0;
473
477
virtual
void
SetShowLegacyNewDocDlg
(bool16 show) = 0;
478
482
virtual
bool16
GetShowLegacyNewDocDlg
()
const
= 0;
483
};
484
485
#endif
tmpdoxygeninput
IUserInterfacePreferences.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1