InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IImportXMLData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Lin Xia
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 // This interface is used for action components to update the state of their actions.
24 // It is NOT a standard boss interface - it does not inherit from IPMUnknown!
25 //
26 //========================================================================================
27 
28 #ifndef __IImportXMLData__
29 #define __IImportXMLData__
30 
31 #include "XMLID.h"
32 
33 class IDataBase;
34 class IDataLink;
35 class XMLReference;
36 
40 class IImportXMLData : public IPMUnknown
41 {
42 public:
43  enum { kDefaultIID = IID_IIMPORTXMLDATA };
44 
49  virtual void Set(IImportXMLData *data) = 0;
50 
58  virtual void Set(IDataBase *db, const IDFile &importSource, const XMLReference& importDestination, UIFlags flags) = 0;
59 
64  virtual void SetImportDestination(const XMLReference& importDestination) = 0;
65 
70  virtual void SetImportSource(const IDFile &importSource) = 0;
71 
76  virtual void SetFlags( UIFlags flags ) = 0;
77 
82  virtual IDataBase *GetDataBase() = 0;
87  virtual IDFile &GetImportSource() = 0;
92  virtual XMLReference &GetImportDestination() = 0;
97  virtual UIFlags GetFlags() = 0;
98 };
99 
100 #endif // __IImportXMLData__