InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IExportEPSCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: David Berggren
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 // Purpose:
24 // Command data for exporting an EPS or SEP file. Used for
25 // the kExportEPSCmdBoss command.
26 //
27 //========================================================================================
28 
29 #ifndef __IExportEPSCmdData__
30 #define __IExportEPSCmdData__
31 
32 #include "IPMUnknown.h"
33 #include "IDocument.h"
34 #include "IDFile.h"
35 #include "PrintID.h"
36 typedef void* ExportSessionToken;
37 
42 {
43 public:
46  enum { kDefaultIID = IID_IEXPORTEPSCMDDATA };
47 
54  virtual void Set(const IDFile& fileToExportTo, IDocument* iDoc, const int32 format, ExportSessionToken sessionToken) = 0;
55 
59  virtual void GetFile(IDFile* fileToExportTo) const = 0;
60 
64  virtual IDocument* GetIDoc() const = 0;
65 
69  virtual int32 GetFormat() const = 0;
70 
77  virtual void SetWithStream(IPMStream *iStream, IDocument* iDoc, const int32 format) = 0;
78 
82  virtual IPMStream* GetStream() const = 0;
83 
87  virtual ExportSessionToken GetSessionToken() const = 0;
88 };
89 
90 #endif