InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICreateOutlinesUtils.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bryce Morsello
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 
24 #ifndef __ICreateOutlinesUtils__
25 #define __ICreateOutlinesUtils__
26 
27 #include "IPMUnknown.h"
28 #include "charpathid.h"
29 
30 #include "TableTypes.h"
31 #include "UIDList.h"
32 #include "Utils.h"
33 
34 class ICommand ;
35 class IGraphicsPort ;
36 class ITableModel ;
37 class ITextModel ;
38 
47 {
48 public:
49  enum { kDefaultIID = IID_ICREATEOUTLINESUTILS } ;
50 
56  virtual bool16 IsCreateOutlinesPort( IGraphicsPort* gPort ) const = 0 ;
57 
66  virtual ICommand* CreateCOTextCmd( const UIDRef& textModel,
67  TextIndex start,
68  TextIndex end,
69  bool16 deleteOriginal ) const = 0 ;
70 
77  virtual ICommand* CreateCOFrameCmd( const UIDList& frames,
78  bool16 deleteOriginal ) const = 0 ;
79 
87  virtual ICommand* CreateCOTableCmd( const UIDRef& tableModel,
88  const GridArea& gridArea,
89  bool16 deleteOriginal ) const = 0 ;
90 
96  virtual UIDList FilterUIDList( const UIDList& sourceList ) const = 0 ;
97 } ;
98 
99 #endif