InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreflightAggregatedResultsExport.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 
25 #include "IPMUnknown.h"
26 #include "IPreflightAggregatedResults.h"
27 #include "PackageAndPreflightID.h"
28 #include "ScriptData.h"
29 
55 {
56 public:
57  enum { kDefaultIID = IID_IPREFLIGHTAGGREGATEDRESULTSEXPORT };
58 
59 public:
64  {
65  public:
68 
71 
74 
76  };
77 
78  typedef K2Vector<ReportFileTypeInfo> ReportFileTypeInfoVector;
79 
93  virtual ErrorCode GetExportFileParameters
94  (
95  const PMString& sDocName,
96  bool isBook,
97  const PMString& sProfileName,
98  IDFile& defaultFile,
99  ReportFileTypeInfoVector& fileTypes
100  ) const = 0;
101 
113  virtual ErrorCode ExportToFile
114  (
115  const PMString& sDocName,
116  bool isBook,
117  const PMString& sProfileName,
118  const IDFile& exportFile,
119  bool openAfterCreate
120  ) const = 0;
121 
122  /* Package the preflight result associated with this document's active process and returns the result as a list of script data.
123  @param sDocName IN The name of the document that was preflighted.
124  @param sProfileName IN The name of the profile that was used.
125  @param resultEntries OUT The preflight results.
126  */
127  virtual void PackageResults
128  (
129  const PMString& sDocName,
130  const PMString& sProfileName,
131  ScriptListData& resultEntries
132  ) const = 0;
133 
134 };
135