InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMoveColumnsCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: sandagra $
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 /*************************************************************************
16 * ADOBE CONFIDENTIAL
17 * ___________________
18 *
19 * Copyright 2013 Adobe Systems Incorporated
20 * All Rights Reserved.
21 *
22 * NOTICE: All information contained herein is, and remains
23 * the property of Adobe Systems Incorporated and its suppliers,
24 * if any. The intellectual and technical concepts contained
25 * herein are proprietary to Adobe Systems Incorporated and its
26 * suppliers and are protected by all applicable intellectual property
27 * laws, including trade secret and copyright laws.
28 * Dissemination of this information or reproduction of this material
29 * is strictly forbidden unless prior written permission is obtained
30 * from Adobe Systems Incorporated.
31 **************************************************************************/
32 //
33 // Data interface to specify a column move.
34 //
35 //========================================================================================
36 
37 #ifndef __IMoveColumnsCmdData__
38 #define __IMoveColumnsCmdData__
39 
40 #include "IPMUnknown.h"
41 #include "TablesID.h"
42 #include "TableTypes.h"
43 
44 class ITableModel;
45 
46 // ===================================================================================
47 // class IMoveColumnsCmdData
48 // ===================================================================================
52 {
53 public:
54 
55  enum { kDefaultIID = IID_IMOVECOLUMNSCMDDATA };
56 
65  virtual void Set(ITableModel* sourceTable, GridArea fromAr, int32 toC, Tables::ERelativePosition pos, bool16 duplicateFlag) = 0;
70  virtual GridArea GetFromArea(void) const = 0;
75  virtual int32 GetToColumn(void) const = 0;
80  virtual Tables::ERelativePosition GetRelativePos(void) const = 0;
85  virtual bool16 GetDuplicateFlag(void) const = 0;
90  virtual ITableModel* GetSourceTable(void) const = 0;
91 };
92 
93 #endif // __IMoveColumnsCmdData__