InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IPalettePanelUtils.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Dave Burnard
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
// ***Adobe Patent or Adobe Patent Pending Invention Included Within this File***
24
//
25
//========================================================================================
26
27
#ifndef __IPalettePanelUtils__
28
#define __IPalettePanelUtils__
29
30
#include "widgetid.h"
31
#include "IPMUnknown.h"
32
#include "Utils.h"
33
#include "IWindow.h"
34
35
class
ICommand
;
36
class
IControlView
;
37
class
IPanelControlData
;
38
43
class
IPalettePanelUtils
:
public
IPMUnknown
44
{
45
public
:
46
enum
{ kDefaultIID = IID_IPALETTEPANELUTILS };
47
53
// Returns the number of panels the tab group containing the specified panel
54
virtual
int32
GetNumPanelsInTabGroup
(
IControlView
*panel ) = 0;
55
57
virtual
ICommand
*
CreateDestroyPanelCmd
(
UID
panelUID ) = 0;
58
60
virtual
ErrorCode
ScheduleDestroyPanelCmd
(
UID
panelUID ) = 0;
61
63
virtual
ICommand
*
CreateHidePanelCmd
(
UID
panelUID ) = 0;
64
66
virtual
ErrorCode
ScheduleHidePanelCmd
(
UID
panelUID ) = 0;
67
75
virtual
IPanelControlData
*
QueryPanelByWidgetID
(
WidgetID
widgetID) = 0;
76
78
virtual
void
ShowNextDetailLevel
(
WidgetID
panelWidgetID) = 0;
79
83
virtual
PMString
GetCurrentOptionString
(
WidgetID
panelWidgetID) = 0;
84
99
virtual
WidgetID
GetCurrentListBoxID
(
const
WidgetID
panelID, RsrcID* itemWidgetRsrcID = nil) = 0;
100
110
virtual
WidgetID
GetCurrentListBoxID
(
const
IPanelControlData
* panelData, RsrcID* itemWidgetRsrcID = nil) = 0;
111
113
virtual
void
ShowHideOptions
(
WidgetID
panelWidgetID) = 0;
114
116
virtual
GSysRect
GetMaxDocAreaRectAvoidingPalettes
(bool16 onlyConsiderStashed = kFalse) = 0;
117
123
virtual
void
ResizePalettePanel
(
IControlView
* panelView,
const
PMPoint
& delta) = 0;
124
125
};
126
127
128
#endif // __IPalettePanelUtils__
tmpdoxygeninput
IPalettePanelUtils.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1