InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
INotePrefCmdData.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 __INotePrefCmdData__
25 #define __INotePrefCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "NotePrefID.h"
29 #include "INotePref.h"
30 
31 class INotePref;
32 
36 {
37 public:
38 
48  virtual void Set(const UIDRef& doc,
49  int32 colorIndex,
50  bool16 showTips,
51  bool16 spellCheckNote,
52  bool16 findReplaceNote,
54  INotePref::NoteColorChoice noteColorChoice) = 0;
55 
56 
60  virtual void SetDocument(const UIDRef& doc) = 0;
61 
65  virtual void SetColorID(const int32 val) = 0;
66 
67 
72  virtual const UIDRef& GetDocument() const = 0;
73 
78  virtual const int32 GetColorID() const = 0;
79 
84  virtual const bool16 GetShowNoteTips() const = 0;
85 
90  virtual const bool16 GetSpellCheckContent() const = 0;
91 
96  virtual const bool16 GetFindReplaceContent() const = 0;
97 
103 
108  virtual const INotePref::NoteColorChoice GetNoteColorChoice() const = 0;
109 
110 };
111 
112 
113 
114 
115 #endif // __INotePrefCmdData__