InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGenStlEdtCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Phillips
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 __IGenStlEdtCmdData__
25 #define __IGenStlEdtCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "K2Vector.h"
29 #include "GenericSettingsID.h"
30 
31 class IDFile;
32 
34 {
35  public:
36  enum { kDefaultIID = IID_IGENSTLEDTCMDDATA };
37 
38  // Sets/gets the IID of the list mgr to use.
39  virtual PMIID GetListMgrIID() const = 0;
40  virtual void SetListMgrIID(PMIID iid) = 0;
41 
42  // Sets/gets the list of indices to which the command applies.
43  // NOTE: If the list is empty, the command applies to ALL styles.
44  // Currently this is only used on Export.
45  virtual void GetStyleIndexList(K2Vector<int32>& list) const = 0;
46  virtual void SetStyleIndexList(const K2Vector<int32>& list) = 0;
47 
48  // Specifies the import or export file. If theFile is an empty string,
49  // the command will prompt the user for the file.
50  virtual const IDFile* GetTargetFile() const = 0;
51  virtual void SetTargetFile(const IDFile* theFile) = 0;
52 };
53 
54 #endif