InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPrintPort.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 // Interface off the print port, so drawing routines have access to the
25 // print client items and print object interfaces.
26 //
27 //========================================================================================
28 
29 #ifndef __IPrintPort__
30 #define __IPrintPort__
31 
32 #include "IPMUnknown.h"
33 #include "PMString.h"
34 
35 class IPrintData;
36 class IInkList;
37 
43 class IPrintPort : public IPMUnknown
44 {
45 public:
46 
50  virtual IPrintData *GetPrintData() = 0;
51 
55  virtual IInkList *GetInkList() = 0;
56 
60  virtual void GetCurrentInk(PMString& currentInk) = 0;
61 
65  virtual void Set(IPrintData *iPrtData) = 0;
66 
70  virtual void Set(IInkList *iInkList) = 0;
71 
75  virtual void Set(PMString& currentInk) = 0;
76 
77 };
78 
79 #endif