InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMoveRowsCmdData.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 row move.
34 //
35 //========================================================================================
36 
37 #ifndef __IMoveRowsCmdData__
38 #define __IMoveRowsCmdData__
39 
40 #include "IPMUnknown.h"
41 #include "TablesID.h"
42 #include "TableTypes.h"
43 
44 class ITableModel;
45 
46 
47 // ===================================================================================
48 // class IMoveRowsCmdData
49 // ===================================================================================
53 {
54 public:
55 
56  enum { kDefaultIID = IID_IMOVEROWSCMDDATA };
57 
66  virtual void Set(ITableModel* sourceTable, GridArea fromArea, int32 toR, Tables::ERelativePosition, bool16 duplicateFlag) = 0;
71  virtual GridArea GetFromArea(void) const = 0;
76  virtual int32 GetToRow(void) const = 0;
81  virtual Tables::ERelativePosition GetRelativePos(void) const = 0;
86  virtual bool16 GetDuplicateFlag(void) const = 0;
87  /*
88  Return table from which rows are to be moved
89  @return tablemodel from which rows are to be moved
90  */
91  virtual ITableModel* GetSourceTable(void) const = 0;
92 };
93 
94 #endif // __IMoveRowsCmdData__