InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IPreflightArtworkCSInfo.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Matt Phillips
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
25
#include "IPMUnknown.h"
26
#include "PackageAndPreflightID.h"
27
#include "GraphicTypes.h"
28
#include "BravoForwardDecl.h"
29
61
class
IPreflightArtworkCSInfo
:
public
IPMUnknown
62
{
63
public
:
64
enum
{ kDefaultIID = IID_IPREFLIGHTARTWORKCSINFO };
65
67
typedef
enum
68
{
69
kCS_Invalid,
70
kCS_Other,
71
72
kCS_Gray,
73
kCS_RGB,
74
kCS_CMYK,
75
kCS_LAB,
76
80
kCS_NChannel
,
81
85
kCS_DeviceN
,
86
90
kCS_Indexed
,
91
97
kCS_Pattern
,
98
kCS_HSB
99
}
Type
;
100
102
typedef
enum
103
{
105
kChannelTypeProcess
,
106
108
kChannelTypeSpot
,
109
111
kChannelTypeRegistration
,
112
114
kChannelTypeCMYKInDeviceN
,
115
117
kChannelTypeAlpha
,
118
120
kChannelTypeInvalid
121
}
ChannelType
;
122
123
public
:
124
130
virtual
void
Initialize
(CAGMColorSpace& cs) = 0;
131
136
virtual
Type
GetType
()
const
= 0;
137
145
virtual
IPreflightArtworkCSInfo
*
QueryBase
()
const
= 0;
146
155
virtual
IPreflightArtworkCSInfo
*
QueryProcess
()
const
= 0;
156
165
virtual
IPreflightArtworkCSInfo
*
QueryCSWithAlphaState
(
bool
alpha)
const
= 0;
166
178
virtual
IPreflightArtworkCSInfo
*
QueryCSRasterPortSafe
(
bool
alpha)
const
= 0;
179
186
virtual
uint32
GetNumChannels
()
const
= 0;
187
197
virtual
const
K2Vector<int32>
&
GetColorChannelsMap
()
const
= 0;
198
211
virtual
const
K2Vector<int32>
&
GetProcessChannelsMap
()
const
= 0;
212
224
virtual
const
K2Vector<int32>
&
GetCMYKChannelsMap
()
const
= 0;
225
235
virtual
const
K2Vector<int32>
&
GetSpotChannelsMap
()
const
= 0;
236
246
virtual
const
K2Vector<int32>
&
GetRegistrationChannelsMap
()
const
= 0;
247
256
virtual
ChannelType
GetNthChannelInfo
(uint32 n, int32* index = nil)
const
= 0;
257
263
virtual
WideString
GetNthChannelName
(uint32 n)
const
= 0;
264
268
virtual
uint32
GetIndexedNumEntries
()
const
= 0;
269
276
virtual
void
GetIndexedNthEntry
(int32 n,
K2Vector<PMReal>
& vals)
const
= 0;
277
281
virtual
void
GetColorSpace
(CAGMColorSpace& spc)
const
= 0;
282
};
283
tmpdoxygeninput
IPreflightArtworkCSInfo.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1