InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAppPrefsImportOptions.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Joss
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 // ADOBE CONFIDENTIAL
24 //
25 //========================================================================================
26 
27 
28 #ifndef __IAppPrefsImportOptions__
29 #define __IAppPrefsImportOptions__
30 
31 #include "ISnippetExport.h"
32 #include "SnippetID.h"
33 
34 //========================================================================================
35 // IAppPrefsImportOptions Class
36 //========================================================================================
46 {
47 public:
48  enum { kDefaultIID = IID_IAPPPREFSIMPORTOPTIONS };
49 
50 
51  typedef enum { kReplaceListItems, kUseExistingListItems } ListImportMatchAction;
52 
61  virtual void SetHandleListItemsWithMatchingNames( ListImportMatchAction action ) = 0;
66  virtual ListImportMatchAction HandleListItemsWithMatchingNames( ) const = 0;
67 
76  virtual void SetDeleteNonImportedListItems( bool16 deleteNonImported ) = 0;
81  virtual bool16 DeleteNonImportedListItems( ) const = 0;
82 
83 
87  virtual void ModelSetHandleListItemsWithMatchingNames( ListImportMatchAction action ) = 0;
91  virtual void ModelSetDeleteNonImportedListItems( bool16 deleteNonImported ) = 0;
92 
93 };
94 
95 #endif //__IAppPrefsImportOptions__