InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ISwatchLibraryPanelHelper.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: SusanCL
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 __ISwatchLibraryPanelHelper__
25
#define __ISwatchLibraryPanelHelper__
26
27
#include "SwatchLibPanelID.h"
28
#include "IPMUnknown.h"
29
30
class
IPanelControlData
;
31
36
class
ISwatchLibraryPanelHelper
:
public
IPMUnknown
37
{
38
public
:
39
//___________________________________________________________________________________
40
// DataType
41
//___________________________________________________________________________________
42
enum
{ kDefaultIID = IID_ISWATCHLIBRARYPANELHELPER };
43
47
virtual
ErrorCode
PreLoadLibraryList
(
void
) = 0;
48
56
virtual
IControlView
*
NewPanel
(
PMString
* pPanelName= nil) = 0;
57
58
64
virtual
ErrorCode
BuildPanel
(
IControlView
* iLibPanelView) = 0;
65
72
virtual
bool16
ValidatePanel
(
IControlView
* iLibPanelView) = 0;
73
79
virtual
IControlView
*
LoadOtherLibrary
(
WidgetID
& widgetID,
PMString
* pPanelName= nil) = 0;
80
101
virtual
bool16
RescanLibraryList
(
IPanelControlData
* iPanelData,
K2Vector<WidgetID>
* pInvalPanelList = nil) = 0;
102
103
108
virtual
PMString
GetLibraryNameFromCreatorID
(
IPanelControlData
* iPanelData, int32 creatorID) = 0;
112
virtual
PMString
GetLibraryNameFromCreatorID
(int32) = 0;
113
118
virtual
void
SelectLibraryPanelSwatch
(
IControlView
* iLibPanel,
const
PMString
& swatchName) = 0;
119
120
/* Return kTrue if the specified library swatch selection list is valid.
121
@param iLibPanel specifies a library panel.
122
@param selectList is the list of library swatch selection to check.
123
@param validList A list of valid swatches in returned in the validList.
124
@param conflictList A list of pantone conflict list is returned in pantoneList.
125
The UIDs in this list matches in position to UID in the validList which caused
126
the PANTONE conflicts. In position where swatch is not a PANTONE swatch,
127
it is set to kInvalidUID.
128
*/
129
virtual
ErrorCode IsLibraryPanelSwatchSelectionValid (
IControlView
* iLibPanel,
const
UIDList
& selectList,
UIDList
& validList,
UIDList
& conflictList) = 0;
130
135
virtual
void
GetLibraryPanelSwatchSelections
(
IControlView
* iLibPanel,
UIDList
& selectList) = 0;
136
};
137
138
#endif
tmpdoxygeninput
ISwatchLibraryPanelHelper.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1