InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXMLImportOptions.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bruce Linker
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 __IXMLImportOptions__
25 #define __IXMLImportOptions__
26 
27 #include "XMLID.h"
28 #include "IPMUnknown.h"
29 
30 //========================================================================================
31 // CLASS IXMLImportOptions
32 //========================================================================================
37 {
38 public:
39  enum { kDefaultIID = IID_IXMLIMPORTOPTIONS };
40 
42  enum ImportStyle { kAppend = 0, kMerge, kPartial };
43 
44 
48  virtual bool16 GetImportIntoSelected() const = 0;
49 
53  virtual void SetImportIntoSelected( bool16 importIntoSelected ) = 0;
54 
58  virtual ImportStyle GetImportStyle() const = 0;
59 
63  virtual void SetImportStyle( ImportStyle importStyle ) = 0;
64 
70  virtual bool16 GetImportRuby(void) const = 0;
71 
75  virtual void SetImportRuby(bool16 importRuby) = 0;
76 
80  virtual bool16 ShouldUseImportFilter() const = 0;
81 
85  virtual void UseImportFilter( const bool16& useFilter = kTrue ) = 0;
86 
90  virtual void Copy( IXMLImportOptions* otherOptions ) = 0;
91 };
92 
93 
94 #endif