InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITableTarget.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Danielle Bessette
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:
24 //
25 //========================================================================================
26 
27 #ifndef __ITableTarget__
28 #define __ITableTarget__
29 
30 #include "TablesID.h"
31 #include "TableTypes.h"
32 
33 class ITableModel;
34 class IFrameAnchorGeom;
35 class ICellFocus;
36 
40 class ITableTarget : public IPMUnknown
41 {
42 public:
43  enum { kDefaultIID = IID_ITABLETARGET };
44 
49  virtual void SetModel(const ITableModel* model) = 0;
50 
55  virtual void SetModel(const UIDRef& tableRef) = 0;
56 
60  virtual ITableModel* QueryModel() const = 0;
61 
65  virtual UIDRef GetModel() const = 0;
66 
71  virtual void SetRange(const GridArea& cells) = 0;
72 
76  virtual const GridArea& GetRange() const = 0;
77 
88  virtual void SetTargetUnManaged(const ITableModel* model, const GridArea& cells) = 0;
89 
93  virtual void Clear (void) = 0;
94 
98  virtual bool16 HasContent (void) const = 0;
99 
103  virtual void Initialize (IDataBase* db) = 0;
104 };
105 
106 #endif // __ITableTarget__