InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IIndexPageEntryCmdData.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 Index Page Entry
24 //
25 //========================================================================================
26 
27 #ifndef __IIndexPageEntryCmdData__
28 #define __IIndexPageEntryCmdData__
29 
30 #include "IPMUnknown.h"
31 #include "IndexingID.h"
32 #include "UIDRef.h"
33 #include "IIndexPageEntryData.h"
34 
35 class IndexTopicEntry;
36 
42 {
43  public:
44  enum { kDefaultIID = IID_IINDEXPAGEENTRYCMDDATA };
45 
52  virtual void GetPageRangeType(IIndexPageEntryData::PageRangeType& type, UID& nextStyleUID, int32& nParOrPage) const = 0;
53 
61  virtual void SetPageRangeType(const IIndexPageEntryData::PageRangeType type, const UID nextStyleUID, const int32 nParOrPage) = 0;
62 
66  virtual UID GetStyleUID() const = 0;
67 
71  virtual void SetStyleUID(const UID styleUID) = 0;
72 
77  virtual void GetPageRange(int32& startPage, int32& endPage) const = 0;
78 
84  virtual void SetPageRange(const int32 startPage, const int32 endPage) = 0;
85 
91  virtual void GetMarkerPlace(IIndexPageEntryData::MarkerPlace& place) const = 0;
92 
97  virtual void SetMarkerPlace(const IIndexPageEntryData::MarkerPlace place) = 0;
98 };
99 
100 #endif // __IIndexPageEntryCmdData__