InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICustomDataSummaryProvider.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 // Provider interface for allowing third parties a chance to add their own custom
25 // settings to the Print and PDF summaries, if desired. The providers will be called
26 // when the summary is generated. Their summary information is appended to the end.
27 //
28 //========================================================================================
29 
30 #ifndef __ICustomDataSummaryProvider__
31 #define __ICustomDataSummaryProvider__
32 
33 #include "PrintID.h"
34 #include "IPMUnknown.h"
35 
36 class IDocument;
38 class IPrintData;
39 class IPDFExportPrefs;
40 class IPDFSecurityPrefs;
41 
63 {
64 public:
65  enum { kDefaultIID = IID_ICUSTOMDATASUMMARYPROVIDER };
66 
74  virtual void ConvertToSummary( IGenericSettingsGroup* pRootGroup,
75  const IPrintData* pData,
76  const IDocument* pDoc,
77  bool16 bWorkingOnStyle
78  ) const = 0;
79 
88  virtual void ConvertToSummary( IGenericSettingsGroup* pRootGroup,
89  const IPDFExportPrefs* pData,
90  const IPDFSecurityPrefs* pSecurity,
91  const IDocument* pDoc,
92  bool16 bIncludeDescriptionAndWarning
93  ) const = 0;
94 };
95 
96 #endif