InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
INotePref.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Wai Cheuk
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 __INOTEPREF__
25 #define __INOTEPREF__
26 
27 #include "IPMUnknown.h"
28 #include "NotePrefID.h"
29 
35 class INotePref : public IPMUnknown
36 {
37 public:
39  enum BackgroundColorChoice {kGalleyColorBG, kNoteColorBG};
40 
42  enum NoteColorChoice {kUseUserColor, kUseNotePrefColor};
43 
44 
48  virtual void SetColorID(const int32 colorIndex) = 0;
49 
52  virtual const int32 GetColorID() const = 0;
53 
57  virtual void SetShowNoteTips(const bool16 showTips) = 0;
58 
61  virtual const bool16 GetShowNoteTips() const = 0;
62 
66  virtual void SetSpellCheckContent(const bool16 spellCheck) = 0;
67 
70  virtual const bool16 GetSpellCheckContent() const = 0;
71 
72 
76  virtual void SetFindReplaceContent(const bool16 findReplace) = 0;
77 
80  virtual const bool16 GetFindReplaceContent() const = 0;
81 
85  virtual void SetBackgroundColorChoice(const BackgroundColorChoice newChoice) = 0;
86 
94  virtual const BackgroundColorChoice GetBackgroundColorChoice() const = 0;
95 
96 
100  virtual void SetNoteColorChoice(const NoteColorChoice newChoice) = 0;
101 
106  virtual const NoteColorChoice GetNoteColorChoice() const = 0;
107 };
108 
109 #endif