InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IFootnoteViewSuite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Kevin Van Wiel
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 // Note:
24 //
25 //========================================================================================
26 
27 #ifndef _ITextMiscellanySuite_
28 #define _ITextMiscellanySuite_
29 
30 #include "IPMUnknown.h"
31 #include "WritingModeUIID2.h"
32 #include "WritingModeID2.h"
33 #include "CTextEnum.h"
34 
35 class WideString;
36 class IPMFont;
37 class GraphicsData;
38 class IControlView;
39 class IActiveContext;
40 
45  {
46  //____________________________________________________________________________________________
47  // Data Types
48  //____________________________________________________________________________________________
49  public:
50  enum { kDefaultIID = IID_IFOOTNOTEVIEWSUITE };
51 
52  //____________________________________________________________________________________________
53  // Member functions
54  //____________________________________________________________________________________________
55  public:
60  virtual bool16 SelectionInFootnote(void) = 0;
61 
67  virtual bool16 MoveSelectionOutOfFootnote(void) = 0;
68 
75  virtual ErrorCode CollapseExpandAllFootnotes(void) = 0;
76 
82  virtual ErrorCode CollapseExpandFootnote(TextIndex anchorIndex) = 0;
83 
84 
91  virtual bool16 IsFootnoteCollapsed(TextIndex anchorIndex) = 0;
92 
99  virtual bool16 ShouldCollapseAllFootnotes() = 0;
100 
101  };
102 
103 #endif // _ITextMiscellanySuite_