InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ILayerList.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Zak WIlliamson
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 __ILAYERLIST__
25
#define __ILAYERLIST__
26
27
#include "IPMUnknown.h"
28
#include "LayerID.h"
29
30
31
class
IDocumentLayer
;
32
class
PMString
;
33
40
class
ILayerList
:
public
IPMUnknown
41
{
42
public
:
43
enum
{ kDefaultIID = IID_ILAYERLIST };
44
45
enum
{
46
kAtTheEnd = -1
47
};
48
49
54
virtual
int32
GetCount
()
const
= 0;
55
60
virtual
UID
FindByName
(
const
PMString
& name)
const
= 0;
61
66
virtual
IDocumentLayer
*
QueryLayer
(int32 n)
const
= 0;
67
72
virtual
UIDRef
GetLayerUIDRef
(int32 n)
const
= 0;
73
78
virtual
int32
GetLayerIndex
(
const
IDocumentLayer
* docLayer)
const
= 0;
79
84
virtual
int32
GetLayerIndex
(
UID
layerUID)
const
= 0;
85
91
virtual
void
Add
(
IDocumentLayer
* docLayer, int32 pos = kAtTheEnd) = 0;
92
96
virtual
void
Remove
(
IDocumentLayer
* docLayer) = 0;
97
103
virtual
void
Move
(int32 from, int32 to) = 0;
104
112
virtual
UIDRef
GetNextActiveLayer
(
const
IDocumentLayer
* docLayer)
const
= 0;
113
123
virtual
UIDRef
GetNextActiveLayer
(int32 layerIndex)
const
= 0;
124
130
virtual
void
GenerateNewLayerName
(
PMString
* pName, bool16 duplicate = kFalse) = 0;
131
136
virtual
UID
GetLeastUsedLayerColor
() = 0;
137
};
138
139
#endif
tmpdoxygeninput
ILayerList.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1