InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITrackChangesPrefsCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michele Goodwin
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 // ADOBE CONFIDENTIAL
24 //
25 //========================================================================================
26 
27 #ifndef __ITrackChangesPrefsCmdData__
28 #define __ITrackChangesPrefsCmdData__
29 
30 #include "IPMUnknown.h"
31 #include "InCopySharedID.h"
32 #include "ITrackChangesSettings.h"
33 
35 
42 {
43 public:
69  virtual void Set( bool16 showAddedText,
70  bool16 showDeletedText,
71  bool16 showMovedText,
72  bool16 showChangeBar,
73  int32 cbColorIndex,
74  bool16 spellchkDeletedText,
75  bool16 preventDupeColor,
76  int32 addedTextColorIndex,
77  int32 addedBGColorIndex,
78  int32 deletedTextColorIndex,
79  int32 deletedBGColorIndex,
80  int32 movedTextColorIndex,
81  int32 movedBGColorIndex,
82  int32 addedTextMarking,
83  int32 deletedTextMarking,
84  int32 movedTextMarking,
85  int32 cbLocation,
92  ) = 0;
93 
98  virtual void SetShowAddedText(const bool16 showAdded) = 0;
103  virtual void SetShowDeletedText(const bool16 showDeleted) = 0;
108  virtual void SetShowMovedText(const bool16 showMoved) = 0;
113  virtual void SetShowChangeBars(const bool16 showChangeBars) = 0;
118  virtual void SetChangeBarColorIndex(const int32 val) = 0;
123  virtual void SetSpellChkDeletedText(const bool16 val) = 0;
128  virtual void SetPreventDupeColor(const bool16 val) = 0;
133  virtual void SetAddedTextColorIndex(const int32 colorIndex) = 0;
138  virtual void SetAddedBGColorIndex(const int32 colorIndex) = 0;
143  virtual void SetDeletedTextColorIndex(const int32 colorIndex) = 0;
148  virtual void SetDeletedBGColorIndex(const int32 colorIndex) = 0;
153  virtual void SetMovedTextColorIndex(const int32 colorIndex) = 0;
158  virtual void SetMovedBGColorIndex(const int32 colorIndex) = 0;
163  virtual void SetAddedTextMarking(const int32 marking) = 0;
168  virtual void SetDeletedTextMarking(const int32 marking) = 0;
173  virtual void SetMovedTextMarking(const int32 marking) = 0;
178  virtual void SetChangeBarLocation(const int32 location) = 0;
209 
214  virtual const bool16 GetShowAddedText() const = 0;
219  virtual const bool16 GetShowDeletedText() const = 0;
224  virtual const bool16 GetShowMovedText() const = 0;
229  virtual const bool16 GetShowChangeBars() const = 0;
234  virtual const int32 GetChangeBarColorIndex() const = 0;
239  virtual const bool16 GetSpellChkDeletedText() const = 0;
244  virtual const bool16 GetPreventDupeColor() const = 0;
249  virtual const int32 GetAddedTextColorIndex() const = 0;
254  virtual const int32 GetAddedBGColorIndex() const = 0;
259  virtual const int32 GetDeletedTextColorIndex() const = 0;
264  virtual const int32 GetDeletedBGColorIndex() const = 0;
269  virtual const int32 GetMovedTextColorIndex() const = 0;
274  virtual const int32 GetMovedBGColorIndex() const = 0;
279  virtual const int32 GetAddedTextMarking() const = 0;
284  virtual const int32 GetDeletedTextMarking() const = 0;
289  virtual const int32 GetMovedTextMarking() const = 0;
294  virtual const int32 GetChangeBarLocation() const = 0;
325 };
326 
327 
328 #endif // __ITrackChangesPrefsCmdData__