InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMakeNewSelectionSuite.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 // ADOBE CONFIDENTIAL
24 //
25 // Used to create an initial selection when none exists already. Only necessary when creating a
26 // window initially usually. Otherwise use the IGenericTextSelectionSuite or ICTextNavigationSuite.
27 // Unlike most suites which will not be queryable when there is no selection this one is available
28 // in the no selection state.
29 //
30 //========================================================================================
31 
32 #ifndef __IMakeNewSelectionSuite__
33 #define __IMakeNewSelectionSuite__
34 
35 //________________________________________________________________________________________________
36 // INCLUDES
37 //________________________________________________________________________________________________
38 #include "ShuksanID.h"
39 #include "IPMUnknown.h"
40 #include "WritingModeUIID2.h"
41 #include "WritingModeID2.h"
42 
43 
51 {
52 public:
53  enum { kDefaultIID = IID_IMAKENEWSELECTIONSUITE };
54 
60  virtual bool16 InitializeSelection(const UIDRef& storyRef) = 0;
61 };
62 
63 #endif // __IMakeNewSelectionSuite__