InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
WalkerScopeOptions.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Raveendra Madala
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 __WALKERSCOPEOPTIONS_H
25 #define __WALKERSCOPEOPTIONS_H
26 
33 {
34 public:
35  // default ctor
37  {
38  fIncludeMasterPages = kTrue;
39  fIncludeLockedLayers = kTrue;
40  fIncludeHiddenLayers = kTrue;
41  fIncludeLockedStories = kTrue;
42  fIncludeFootnotes = kTrue;
43  fSearchBackwards = kFalse;
44  }
45  // default dtor
47  {
48  }
59  WalkerScopeOptions(bool16 includeMasterPages,bool16 includeLockedLayers,bool16 includeHiddenLayers,bool16 includeLockedStories,bool16 includeFootnotes, bool16 searchBackwards)
60  {
61  fIncludeMasterPages = includeMasterPages;
62  fIncludeLockedLayers = includeLockedLayers;
63  fIncludeHiddenLayers = includeHiddenLayers;
64  fIncludeLockedStories = includeLockedStories;
65  fIncludeFootnotes = includeFootnotes;
66  fSearchBackwards = searchBackwards;
67  }
73  bool16 GetIncludeMasterPages() const
74  {
75  return fIncludeMasterPages;
76  }
82  void SetIncludeMasterPages(bool16 inIncludeMasterPages)
83  {
84  fIncludeMasterPages = inIncludeMasterPages;
85  }
91  bool16 GetIncludeLockedLayers() const
92  {
93  return fIncludeLockedLayers;
94  }
100  void SetIncludeLockedLayers(bool16 inIncludeLockedLayers)
101  {
102  fIncludeLockedLayers = inIncludeLockedLayers;
103  }
109  bool16 GetIncludeHiddenLayers() const
110  {
111  return fIncludeHiddenLayers;
112  }
118  void SetIncludeHiddenLayers(bool16 inIncludeHiddenLayers)
119  {
120  fIncludeHiddenLayers = inIncludeHiddenLayers;
121  }
127  bool16 GetIncludeLockedStories() const
128  {
129  return fIncludeLockedStories;
130  }
136  void SetIncludeLockedStories(bool16 inIncludeLockedStories)
137  {
138  fIncludeLockedStories = inIncludeLockedStories;
139  }
145  bool16 GetIncludeFootnotes() const
146  {
147  return fIncludeFootnotes;
148  }
154  void SetIncludeFootnotes(bool16 inIncludeFootnotes)
155  {
156  fIncludeFootnotes = inIncludeFootnotes;
157  }
163  bool16 GetSearchBackwards() const
164  {
165  return fSearchBackwards;
166  }
172  void SetSearchBackwards(bool16 inSearchBackwards)
173  {
174  fSearchBackwards = inSearchBackwards;
175  }
176 private:
177  bool16 fIncludeMasterPages; // data member for storing include master pages option
178  bool16 fIncludeLockedLayers; // data member for storing include locked layers option
179  bool16 fIncludeHiddenLayers; // data member for storing include hidden layers option
180  bool16 fIncludeLockedStories; // data member for storing include locked stories option
181  bool16 fIncludeFootnotes; // data member for storing include footnotes option
182  bool16 fSearchBackwards; // data member for storing search direction
183 };
184 
185 #endif