InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITableCopyPasteCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Joe Shankar
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 
25 #ifndef __ITABLECOPYPASTECMDDATA__
26 #define __ITABLECOPYPASTECMDDATA__
27 
28 #include "IPMUnknown.h"
29 #include "TablesID.h"
30 #include "ITableModel.h"
31 
37 {
38 public:
39  enum { kDefaultIID = IID_ITABLECOPYPASTECMDDATA };
40 
49  virtual void Set(const UIDRef fromTable, const GridArea& fromArea, const UIDRef& toTable, const GridAddress& pasteAt, ITableModel::EWhatState what) = 0;
50 
55  virtual UIDRef GetFromTable() const = 0;
60  virtual GridArea GetFromArea() const = 0;
65  virtual UIDRef GetToTable() const = 0;
70  virtual GridAddress GetPasteAt() const = 0;
75  virtual ITableModel::EWhatState GetStateToPaste() const = 0;
76 
81  virtual void SetShouldClearRedundantRowsAndCols(const bool16 to) = 0;
82 
87  virtual bool16 ShouldClearRedundantRowsAndCols() const = 0;
88 
89 };
90 
91 #endif // __ITABLECOPYPASTECMDDATA__
92