InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IEBookExport.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Gang Xiao
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: All information contained herein is, and remains
20 // the property of Adobe Systems Incorporated and its suppliers,
21 // if any. The intellectual and technical concepts contained
22 // herein are proprietary to Adobe Systems Incorporated and its
23 // suppliers and may be covered by U.S. and Foreign Patents,
24 // patents in process, and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 #ifndef __IEBookExport_h__
32 #define __IEBookExport_h__
33 
34 //#include "IPMUnknown.h"
35 
36 #include "EBookExportID.h"
37 
38 // ----- Forward -----
39 class IDocument;
40 class IBook;
41 typedef void * ExportSessionToken;
42 class IEBookExport : public IPMUnknown
43 {
44 public:
45  enum { kDefaultIID = IID_IEBOOKEXPORT };
46 
54  virtual ErrorCode ExportDocument(IPMStream *stream, IDocument * doc, UIFlags uiFlags = kFullUI) = 0;
55 
63  virtual ErrorCode ExportBook(IPMStream * stream, IBook * book, UIFlags uiFlags = kFullUI) = 0;
64 
73  virtual ErrorCode ExportBookWithSession(IPMStream * stream, IBook * book, UIFlags uiFlags,ExportSessionToken sessionToken) = 0;
74 };
75 
76 #endif