InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXPSetPreferencesCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Greg St. Pierre
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 __IXPSetPreferencesCmdData__
25 #define __IXPSetPreferencesCmdData__
26 
27 #include "XPID.h" // for IID_IXPSETPREFERENCESCMDDATA
28 #include "IPMUnknown.h"
29 #include "IXPPreferences.h" //for BlendDevice
30 
32 {
33 public:
34  enum { kDefaultIID = IID_IXPSETPREFERENCESCMDDATA };
35 
36  // En-masse setter
37  virtual void Set(
38  IXPPreferences::BlendDevice blendDevice,
39  PMReal const &displayEffectDPI,
40  ICMSSettings::renderingIntent,
41  PMReal const &angle,
42  PMReal const &altitude
43  ) = 0;
44 
45  virtual IXPPreferences::BlendDevice GetBlendDevice() const = 0;
46  virtual PMReal GetDisplayEffectDPI() const = 0;
47  virtual ICMSSettings::renderingIntent GetBlendRenderingIntent() const = 0;
48  virtual PMReal GetGlobalLightAngle() const = 0;
49  virtual PMReal GetGlobalLightAltitude() const = 0;
50 
51  virtual void SetBlendDevice(IXPPreferences::BlendDevice z) = 0;
52  virtual void SetDisplayEffectDPI(PMReal z) = 0;
53  virtual void SetBlendRenderingIntent(ICMSSettings::renderingIntent intent) = 0;
54  virtual void SetGlobalLightAngle(const PMReal& angle) = 0;
55  virtual void SetGlobalLightAltitude(const PMReal& altitude) = 0;
56 
57  virtual bool32 ShouldSetBlendDevice() const = 0;
58  virtual bool32 ShouldSetDisplayEffectDPI() const = 0;
59  virtual bool32 ShouldSetBlendRenderingIntent() const = 0;
60  virtual bool32 ShouldSetGlobalLightAngle() const = 0;
61  virtual bool32 ShouldSetGlobalLightAltitude() const = 0;
62 
63 };
64 
65 #endif