InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXMLImportOptionsPool.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 __IXMLImportOptionsPool__
25 #define __IXMLImportOptionsPool__
26 
27 
28 #include "IPMUnknown.h"
29 #include "XMLID.h"
30 
31 
49 {
50 public:
51  enum { kDefaultIID = IID_IXMLIMPORTOPTIONSPOOL };
52 
55 
62  virtual bool16 GetValue(const KeyType& key, bool16& value) const = 0;
63 
70  virtual bool16 GetValue(const KeyType& key, int32& value) const = 0;
71 
77  virtual bool16 GetValue(const KeyType& key, WideString& value) const = 0;
78 
84  virtual bool16 SetKeyValue(const KeyType& key, bool16 value) = 0;
85 
91  virtual bool16 SetKeyValue(const KeyType& key, int32 value) = 0;
92 
98  virtual bool16 SetKeyValue(const KeyType& key, const WideString& value) = 0;
99 
104  virtual bool16 RemoveKey(const KeyType& key) = 0;
105 
111  virtual ErrorCode Set(const WideString& data) = 0;
112 
116  virtual void Get(WideString& data) const = 0;
117 
120  virtual void Clear(void) = 0;
121 };
122 
123 
124 #endif // __IXMLImportOptionsPool__
125