InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXMLCreateTableElementCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Will Lin
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 __IXMLCreateTableElementCmdData__
25 #define __IXMLCreateTableElementCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "XMLID.h"
29 #include "XMLReference.h"
30 #include "TableTagData.h"
31 
32 
39 {
40 public:
41  enum { kDefaultIID = IID_IXMLCREATETABLEELEMENTCMDDATA };
42 
48  virtual void Set(const TableTagData& tableTagData, const UIDRef& storyUIDRef, TextIndex textIndex) = 0;
49 
54  virtual void Set(const TableTagData& tableTagData, const UIDRef& tableModelUIDRef) = 0;
55 
59  virtual const XMLReference& GetCreatedTableElement() const = 0;
60 
61 
65  virtual void SetCreatedTableElement(const XMLReference& newItem) = 0;
66 
70  virtual const TableTagData &GetTableTagData() const = 0;
71 
75  virtual const UIDRef& GetTableModelUIDRef(void) const = 0;
76 
81  virtual bool16 TagTableModelOnly(void) const = 0;
82 
89  virtual void SetTagTableModelOnly(bool16 tagTableModelOnly) = 0;
90 };
91 
92 #endif // __IXMLCreateTableElementCmdData__
93