InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IInCopyPrintDialogCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Cindy Chen
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 // The command data interface for the book printing command in K2.
25 //
26 // Purpose:
27 // The data interface for print dialog command in InCopy.
28 //
29 //========================================================================================
30 
31 #ifndef __IInCopyPrintDialogCmdData__
32 #define __IInCopyPrintDialogCmdData__
33 
34 #include "IPMUnknown.h"
35 #include "IInCopyLayoutPrintData.h"
36 #include "IInCopyGalleyPrintData.h"
37 #include "IInCopyGalleySettingData.h"
38 #include "IPrintData.h"
39 #include "UIDRef.h"
40 
44 {
45 public:
47  enum {
48  kLayoutPanel = 1,
49  kGalleyPanel = 0
50  };
51 
55  virtual void SetPrintData(IPrintData *iPrintData) = 0;
56 
60  virtual void SetLayoutPrintData(IInCopyLayoutPrintData *iPrintData) = 0;
61 
65  virtual void SetGalleyPrintData(IInCopyGalleyPrintData *iPrintData) = 0;
66 
70  virtual void SetGalleySettingData(IInCopyGalleySettingData *iData) = 0;
71 
75  virtual void SetDocUIDRef(const UIDRef& docUIDRef) = 0;
76 
77 
81  virtual void SetCurrentPanel(const int32 panel) = 0;
82 
86  virtual void SetReturnCode(const ErrorCode returnCode) = 0;
87 
91  virtual void SetMultiStories(const bool16 multi) = 0;
92 
97  virtual IInCopyLayoutPrintData* GetLayoutPrintData() const = 0;
98 
103  virtual IPrintData* GetPrintData() const = 0;
104 
109  virtual IInCopyGalleyPrintData* GetGalleyPrintData() const = 0;
110 
115  virtual IInCopyGalleySettingData* GetGalleySettingData() const = 0;
116 
121  virtual const UIDRef& GetDocUIDRef() const = 0;
122 
123 
128  virtual int32 GetCurrentPanel() const = 0;
129 
134  virtual bool16 GetMultiStories() const = 0;
135 
140  virtual ErrorCode GetReturnCode() const = 0;
141 };
142 
143 #endif // __IPrintBookCmdData__