InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IInCopySwatchContext.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Jeff Argast
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 __IInCopySwatchContext__
25
#define __IInCopySwatchContext__
26
27
#include "IPMUnknown.h"
28
29
#include "GraphicTypes.h"
30
#include "InCopyWorkflowID.h"
31
32
class
WideString
;
33
34
35
//================================================================================================
36
// Class InCopySwatchContext
37
//================================================================================================
38
class
IInCopySwatchContext
:
public
IPMUnknown
39
{
40
public
:
41
enum
{ kDefaultIID = IID_IINCOPYSWATCHCONTEXT };
42
43
44
//----------------------------------------------------------------------------------------
45
// Public Member Functions
46
//----------------------------------------------------------------------------------------
47
48
49
//----------------------------------------------------------------------------------------
50
virtual
void
Initialize (
51
const
UIDRef
& storyRef
52
) = 0;
53
54
//----------------------------------------------------------------------------------------
55
virtual
void
AddTint(
56
const
PMString
& tintName,
57
const
PMReal
tintPercent,
58
const
int32
id
= 0,
59
const
bool16 visible = kFalse
60
) = 0;
61
62
//----------------------------------------------------------------------------------------
63
virtual
void
AddGradient(
64
const
PMString
& gradientName,
65
const
GradientType gradientType,
66
K2Vector<UID>
stopColor,
67
K2Vector<PMReal>
stopPos,
68
K2Vector<PMReal>
midPoint,
69
const
int32
id
= 0,
70
const
bool16 visible = kFalse
71
) = 0;
72
73
//----------------------------------------------------------------------------------------
74
virtual
void
CreateSwatches() = 0;
75
};
76
77
#endif // __IInCopySwatchContext__
tmpdoxygeninput
IInCopySwatchContext.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1