InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IIndexXRefEntryCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michel Hutinel
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: Interface data for creating, editing an XRef Page Entry
24 //
25 //========================================================================================
26 
27 #ifndef __IIndexXRefEntryCmdData__
28 #define __IIndexXRefEntryCmdData__
29 
30 #include "IPMUnknown.h"
31 #include "IndexingID.h"
32 #include "UIDRef.h"
33 #include "IIndexXRefEntryData.h"
34 
35 class IndexTopicEntry;
36 
43 {
44  public:
45  enum { kDefaultIID = IID_IINDEXXREFENTRYCMDDATA };
46 
52  virtual IIndexXRefEntryData::XRefType GetXRefType(WideString* customString = NULL) const = 0;
53 
60  virtual void SetXRefType(const IIndexXRefEntryData::XRefType xRefType, const WideString* customString = NULL) = 0;
61 
65  virtual const IndexTopicEntry& GetRefedTopicEntry() const = 0;
66 
72  virtual void SetRefedTopicEntry(const IndexTopicEntry& refedTopicEntry) = 0;
73 
77  virtual const UID GetRefedTopicSectionUID() const = 0;
78 
84  virtual void SetRefedTopicSectionUID(const UID refedTopicSectionUID) = 0;
85 
89  virtual int32 GetRefedTopicNodeId() const = 0;
90 
95  virtual void SetRefedTopicNodeId(int32 refedTopicNodeId) = 0;
96 };
97 
98 #endif // __IIndexXRefEntryCmdData__