InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITrackChangesSettings.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 
24 #ifndef __ITrackChangesSettings__
25 #define __ITrackChangesSettings__
26 
27 #include "IPMUnknown.h"
28 #include "InCopySharedID.h"
29 
36 {
37 public:
38  enum { kDefaultIID = IID_ITRACKCHANGEAPPSETTINGS };
39 
41  {
46  };
47 
49  {
58  };
59 
61  {
66  };
67 
69  {
76  };
77 
82  virtual bool16 GetShowDeletedText() const = 0;
87  virtual void SetShowDeletedText(bool16 showDeletedText) = 0;
88 
93  virtual bool16 GetShowAddedText() const = 0;
98  virtual void SetShowAddedText(bool16 showAddedText) = 0;
99 
104  virtual bool16 GetShowMovedText() const = 0;
109  virtual void SetShowMovedText(bool16 showMovedText) = 0;
110 
115  virtual bool16 GetShowChangeBars() const = 0;
120  virtual void SetShowChangeBars(bool16 showChangeBars) = 0;
121 
126  virtual int32 GetChangeBarColorIndex() const = 0;
131  virtual void SetChangeBarColorIndex(int32 colorIndex) = 0;
132 
137  virtual bool16 GetUserCanTurnOnOffTrackChanges () const = 0;
142  virtual void SetUserCanTurnOnOffTrackChanges (bool16 canTOO) = 0;
143 
148  virtual bool16 GetUserCanAcceptRejectChanges () const = 0;
153  virtual void SetUserCanAcceptRejectChanges (bool16 canAR) = 0;
154 
159  virtual bool16 GetTrackingState () const = 0;
164  virtual void SetTrackingState (bool16 trackingState) = 0;
165 
170  virtual bool16 GetSpellChkDeletedText () const = 0;
175  virtual void SetSpellChkDeletedText (bool16 spellchkState) = 0;
176 
181  virtual bool16 GetPreventDupeColor () const = 0;
186  virtual void SetPreventDupeColor (bool16 preventDupeColor) = 0;
187 
192  virtual int32 GetAddedTextColorIndex() const = 0;
197  virtual void SetAddedTextColorIndex(int32 colorIndex) = 0;
202  virtual int32 GetAddedBGColorIndex() const = 0;
207  virtual void SetAddedBGColorIndex(int32 colorIndex) = 0;
208 
213  virtual int32 GetDeletedTextColorIndex() const = 0;
218  virtual void SetDeletedTextColorIndex(int32 colorIndex) = 0;
223  virtual int32 GetDeletedBGColorIndex() const = 0;
228  virtual void SetDeletedBGColorIndex(int32 colorIndex) = 0;
229 
234  virtual int32 GetMovedTextColorIndex() const = 0;
239  virtual void SetMovedTextColorIndex(int32 colorIndex) = 0;
244  virtual int32 GetMovedBGColorIndex() const = 0;
249  virtual void SetMovedBGColorIndex(int32 colorIndex) = 0;
250 
255  virtual int32 GetAddedTextMarking() const = 0;
260  virtual void SetAddedTextMarking(int32 marking) = 0;
261 
266  virtual int32 GetDeletedTextMarking() const = 0;
271  virtual void SetDeletedTextMarking(int32 marking) = 0;
272 
277  virtual int32 GetMovedTextMarking() const = 0;
282  virtual void SetMovedTextMarking(int32 marking) = 0;
283 
288  virtual int32 GetChangeBarLocation() const = 0;
293  virtual void SetChangeBarLocation(int32 location) = 0;
294 
304  virtual void SetAddedTextColorChoice(ChangeTextColorChoice colorChoice) = 0;
314  virtual void SetAddedBGColorChoice(ChangeBackgroundColorChoice colorChoice) = 0;
315 
325  virtual void SetDeletedTextColorChoice(ChangeTextColorChoice colorChoice) = 0;
335  virtual void SetDeletedBGColorChoice(ChangeBackgroundColorChoice colorChoice) = 0;
336 
346  virtual void SetMovedTextColorChoice(ChangeTextColorChoice colorChoice) = 0;
356  virtual void SetMovedBGColorChoice(ChangeBackgroundColorChoice colorChoice) = 0;
357 };
358 
359 
366 {
367  public:
368  enum { kDefaultIID = IID_ITRACKCHANGESTORYSETTINGS };
369 
374  virtual bool16 GetIsTracking() const = 0;
379  virtual void SetIsTracking(bool16 isTracking) = 0;
380 
389  virtual bool16 GetPreserveTrackChangeData() const = 0;
398  virtual void SetPreserveTrackChangeData(bool16 preserveData) = 0;
399 };
400 
401 #endif // __ITrackChangesSettings__