InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXHTMLExport.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 __IXHTMLExport_h__
32 #define __IXHTMLExport_h__
33 
34 //#include "IPMUnknown.h"
35 
36 #include "EBookExportID.h"
37 
38 // ----- Forward -----
39 class IDocument;
40 class ITableModel;
41 class ITextModel;
42 class UIDRef;
43 class RangeData;
44 class GridArea;
45 
46 class IXHTMLExport : public IPMUnknown
47 {
48 public:
49  enum { kDefaultIID = IID_IXHTMLEXPORT };
50 
58  virtual ErrorCode ExportDocument(IPMStream *stream, IDocument * doc, UIFlags uiFlags = kFullUI) = 0;
59 
67  virtual ErrorCode ExportPageitem(IPMStream *stream, const UIDList & items, UIFlags uiFlags = kFullUI) = 0;
68 
77  virtual ErrorCode ExportText(IPMStream *stream, ITextModel * textModel, const RangeData & range, UIFlags uiFlags = kFullUI) = 0;
78 
87  virtual ErrorCode ExportTable(IPMStream *stream, ITableModel * table, GridArea & area, UIFlags uiFlags = kFullUI) = 0;
88 };
89 
90 #endif