InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICapitalizeTopicEntryCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bertrand Lechevalier
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 // Purpose: Command data interface for capitalizing a topic entry
24 //
25 //========================================================================================
26 
27 #ifndef __ICapitalizeTopicEntryCmdData__
28 #define __ICapitalizeTopicEntryCmdData__
29 
30 #include "IPMUnknown.h"
31 #include "IndexingID.h"
32 #include "UIDRef.h"
33 
34 class IndexTopicEntry;
35 
39 {
40  public:
41  enum { kDefaultIID = IID_ICAPITALIZETOPICENTRYCMDDATA };
42 
45  enum CapitalizeOption { kSelected, kSelectedAndChildren, kAllLevel1, kAll };
46 
50  virtual const CapitalizeOption& GetCapitalizeOption() const = 0;
51 
55  virtual void SetCapitalizeOption(const CapitalizeOption& capitalizeOption) = 0;
56 
60  virtual const UIDRef& GetTopicListUIDRef() const = 0;
61 
65  virtual void SetTopicListUIDRef(const UIDRef& topicListUIDRef) = 0;
66 
70  virtual const UIDRef& GetSelectedTopicSectionUIDRef() const = 0;
71 
75  virtual void SetSelectedTopicSectionUIDRef(const UIDRef& selectedTopicSectionUIDRef) = 0;
76 
80  virtual const int32 GetSelectedTopicId() const = 0;
81 
85  virtual void SetSelectedTopicId(const int32 selectedTopicId) = 0;
86 };
87 
88 #endif // __ICapitalizeTopicEntryCmdData__