InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IInkResourceData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: jargast
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 // Page items that have drawing resources should include this interface
24 //
25 //========================================================================================
26 
27 #ifndef __IInkResourceData__
28 #define __IInkResourceData__
29 
30 #include "IPMUnknown.h"
31 
32 class IInkList;
33 class IPrintData;
34 
41 {
42 public:
48  virtual void Setup (IInkList* iInkList, IPrintData* iPrintData) = 0;
49 
53  virtual void CopyInkResouceData (IInkResourceData* srcData) = 0;
54 
61  virtual void AddInk (UIDRef inkUIDRef) = 0;
62 
65  virtual void AddProcessCyan() = 0;
68  virtual void AddProcessMagenta() = 0;
71  virtual void AddProcessYellow() = 0;
74  virtual void AddProcessBlack() = 0;
75 
81  virtual bool8 AllProcessInksUsed() const = 0;
82 
86  virtual IInkList* QueryInkList() const = 0;
87 
91  virtual IPrintData* QueryPrintData() const = 0;
92 
96  virtual int32 GetNumInks() const = 0;
97 
102  virtual UID GetNthInk (int32 n) const = 0;
103 
106  virtual void Clear() = 0;
107 
112  virtual bool8 GetGradientUsed() const = 0;
113 
117  virtual void SetGradientUsed(const bool8 bGradientUsed) = 0;
118 
123  virtual bool8 GetGradientMeshUsed() const = 0;
124 
128  virtual void SetGradientMeshUsed(const bool8 bGradientMeshUsed) = 0;
129 
130 };
131 
132 #endif