InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IFindChangeCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bryce Morsello
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 __IFINDCHANGECMDDATA__
25 #define __IFINDCHANGECMDDATA__
26 
27 #ifndef __IPMUnknown__
28 #include "IPMUnknown.h"
29 #endif
30 
31 #include "ITextWalker.h"
32 #include "IFindChangeService.h"
33 #include "TextWalkerServiceProviderID.h"
34 class IFindChangeOptions;
35 class RangeProgressBar;
36 // Note: Overset Text control user interface is removed from Find/Change panel.
37 // Its functionality always includes overset text.
38 // Wai 5/5/98
39 
44 {
45 public:
46  enum { kDefaultIID = IID_IFINDCHANGECMDDATA };
47 
53  virtual IFindChangeService::FindChangeResult GetFindChangeResult() const = 0;
59  virtual void SetFindChangeResult(IFindChangeService::FindChangeResult nResult) = 0;
60 
69  virtual UIDRef& GetRange( TextIndex& first, TextIndex& last) const = 0;
77  virtual void SetRange( const UIDRef& textStory, TextIndex first, TextIndex last) = 0;
78 
84  virtual void SetReplacementCount(int32 nCount) = 0;
90  virtual const int32 GetReplacementCount() const = 0;
91 
97  virtual ITextWalker* QueryTextWalker() = 0;
103  virtual void SetTextWalker(ITextWalker* TextWalker) = 0;
104 
105 };
106 
107 #endif