InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITrackChangeSuite.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 __ITrackChangeSuite__
25 #define __ITrackChangeSuite__
26 
27 #include "IPMUnknown.h"
28 #include "InCopySharedID.h"
29 #include "redlineiterator.h"
30 #include "ITextModel.h"
31 #include "RangeData.h"
32 
40 {
41 public:
42  enum { kDefaultIID = IID_ITRACKCHANGESUITE };
43 
48  virtual bool16 CanAccept() const = 0;
49 
54  virtual bool16 CanReject() const = 0;
55 
60  virtual bool16 Accept() = 0;
61 
66  virtual bool16 Reject() = 0;
67 
72  virtual bool16 AcceptAndNext() = 0;
73 
78  virtual bool16 RejectAndNext() = 0;
79 
84  virtual bool16 AcceptAll() = 0;
85 
90  virtual bool16 RejectAll() = 0;
91 
96  virtual bool16 AcceptAllByUser() = 0;
97 
102  virtual bool16 RejectAllByUser() = 0;
103 
108  virtual bool16 AcceptAllStories() = 0;
109 
114  virtual bool16 RejectAllStories() = 0;
115 
120  virtual bool16 AcceptAllStoriesByUser() = 0;
121 
126  virtual bool16 RejectAllStoriesByUser() = 0;
127 
132  virtual bool16 GotoNextChange() = 0;
133 
138  virtual bool16 GotoPreviousChange() = 0;
139 
146  virtual bool16 DeletedTextSelectionToPrimaryIndex(bool16 onlyWhenDeletedTextIsHidden = kTrue) = 0;
147 
155  virtual bool16 FindPreviousChange(RedlineIterator * iterator) = 0;
156 
164  virtual bool16 FindNextChange(RedlineIterator * iterator) = 0;
165 
175  virtual bool16 FindNextChangeInStory(RedlineIterator * iterator, const ITextModel* model, const RangeData& range) = 0;
176 };
177 
178 #endif