InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPasteboardPrefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Brendan O'Shea
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 __IPasteboardPrefs__
25 #define __IPasteboardPrefs__
26 
27 #include "IPMUnknown.h"
28 #include "SpreadID.h"
29 
34 {
35 public:
36  enum { kDefaultIID = IID_IPASTEBOARDPREFERENCES };
37 
41  enum { kPasteboardSeperatorAmount = 36 }; // 1/2 an inch
42 
46 
51  virtual void SetPasteboardBorder( PMReal minXBorder, PMReal minYBorder) = 0;
52 
57  virtual void GetPasteboardBorder( PMReal* minXBorder, PMReal* minYBorder) const = 0;
58 
59  // Pasteboard color -- UNUSED in 3.0
60 
65  virtual void SetPasteboardColor(UID uiColorUID) = 0;
66 
72  virtual UIDRef GetPasteboardColor() const = 0;
73 
74  // Preview background color
75 
79  virtual void SetPreviewBackgroundColor(UID uiColorUID) = 0;
80 
85  virtual UIDRef GetPreviewBackgroundColor() const = 0;
86 
91  virtual void SetMatchPreviewColorToThemeColor(bool16) = 0;
92 
97  virtual bool16 GetMatchPreviewColorToThemeColor() = 0;
98 
99  // Bleed color
100 
104  virtual void SetBleedColor(UID uiColorUID) = 0;
105 
110  virtual UIDRef GetBleedColor() const = 0;
111 
112  // Slug color
113 
117  virtual void SetSlugColor(UID uiColorUID) = 0;
118 
123  virtual UIDRef GetSlugColor() const = 0;
124 };
125 
126 #endif