InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXMLDupElementsCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Daniel Guenther
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 __IXMLDupElementsCmdData__
25 #define __IXMLDupElementsCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "XMLID.h"
29 class XMLReference;
30 
38 {
39  public:
40  enum { kDefaultIID = IID_IXMLDUPELEMENTSCMDDATA };
41 
46  virtual void SetSource(const XMLReference& sourceXMLRef) = 0;
47 
55  virtual void SetDestination(const XMLReference& destXMLRef, int32 destIndex) = 0;
56 
60  virtual const XMLReference& GetDestinationXMLRef(void) const = 0;
61 
66  virtual const XMLReference& GetSourceXMLRef(int32 index) const = 0;
67 
71  virtual int32 GetDestinationIndex() = 0;
72 
78  virtual int32 SourceSize() = 0;
79 
84  virtual void SetCreatedElements(const K2Vector<XMLReference>& duplicatedElements) = 0;
85 
90  virtual const K2Vector<XMLReference>& GetCreatedElements() = 0;
91 };
92 
93 
94 #endif // __IXMLDupElementsCmdData__