InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISnapPrefsData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
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 __ISnapPrefsData__
25 #define __ISnapPrefsData__
26 
27 #include "IPMUnknown.h"
28 #include "SnapID.h"
29 #include "SnapshotUtils.h"
30 
35 class ISnapPrefsData : public IPMUnknown
36 {
37 public:
38  enum { kDefaultIID = IID_ISNAPPREFSDATA };
39 
44  virtual void CopyPrefs(ISnapPrefsData* prefsToCopy) = 0;
45 
49  virtual void SetName(const WideString& name) = 0;
50 
54  virtual const WideString& GetName() = 0;
55 
59  virtual void SetFormatClassID(const ClassID& formatClassID) = 0;
60 
64  virtual const ClassID& GetFormatClassID() = 0;
65 
69  virtual void SetScale(const PMReal& scale) = 0;
70 
74  virtual const PMReal& GetScale() = 0;
75 
79  virtual void SetResolution(const PMReal& resolution) = 0;
80 
84  virtual const PMReal& GetResolution() = 0;
85 
89  virtual void SetMinimumResolution(const PMReal& minimumResolution) = 0;
90 
94  virtual const PMReal& GetMinimumResolution() = 0;
95 
99  virtual void SetBleed(const PMReal& bleed) = 0;
100 
104  virtual const PMReal& GetBleed() = 0;
105 
109  virtual void SetDrawArea(bool16 drawArea) = 0;
110 
114  virtual const bool16& GetDrawArea () = 0;
115 
119  virtual void SetFullResolutionGraphics(bool16 fullResolutionGraphics) = 0;
120 
124  virtual const bool16& GetFullResolutionGraphics() = 0;
125 
129  virtual void SetDrawGray(bool16 drawGray) = 0;
130 
134  virtual const bool16& GetDrawGray() = 0;
135 
143  virtual void SetDrawingFlags(int32 drawingFlags) = 0;
144 
148  virtual const int32& GetDrawingFlags() = 0;
149 
154  virtual void SetJPEGEncoding(const int32 encoding) = 0;
155 
159  virtual const int32& GetJPEGEncoding() = 0;
160 
164  virtual void SetJPEGQuality(const int32 quality) = 0;
165 
169  virtual const int32& GetJPEGQuality() = 0;
170 
177  virtual void SetTIFFPaletteType(const int32 paletteType) = 0;
178 
182  virtual const int32& GetTIFFPaletteType() = 0;
183 
191  virtual void SetGIFPaletteType(const int32 paletteType) = 0;
192 
196  virtual const int32& GetGIFPaletteType() = 0;
197 
201  virtual void SetTIFFTransparent(const bool16 transparent) = 0;
202 
206  virtual const bool16& GetTIFFTransparent() = 0;
207 
211  virtual void SetGIFTransparent(const bool16 transparent) = 0;
212 
216  virtual const bool16& GetGIFTransparent() = 0;
217 
222  virtual void SetGIFInterlaced(const bool16 interlaced) = 0;
223 
224 
228  virtual const bool16& GetGIFInterlaced() = 0;
229 };
230 
231 #endif // __ISnapPrefsData__
232 
233 
234