InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDCSInfo.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 // Holds the information associated with a DCS (Desktop Color Separation) file.
25 // This interface hangs off the kDCSItemBoss. A DCS item is created when a DCS
26 // file is imported in pieces mode. This interface holds the information used
27 // by the OPI print engine when printing a DCS item.
28 //
29 //========================================================================================
30 
31 #ifndef __IDCSInfo__
32 #define __IDCSInfo__
33 
34 #include "IPMUnknown.h"
35 #include "PMString.h"
36 #include "EPSTagTableData.h"
37 
38 class IDCSInfo : public IPMUnknown
39 {
40 public:
41 
42  // Set methods
43 
44  virtual void SetEmpty(void) = 0;
45  virtual void SetInfoFlag(const INFOFLAGS flag) = 0;
46  virtual void AppendPlate(const CString plateName, const CString plateFile) = 0;
47  virtual void AppendPlate(const CString plateName, const double plateOffset, const double plateLength) = 0;
48 
49  // Access method
50 
51  virtual uint16 PlateCount(void) const = 0;
52  virtual INFOFLAGS InfoFlag(void) const = 0;
53  virtual PMString PlateName(uint16 index) const = 0;
54  virtual PMString PlateFile(uint16 index) const = 0;
55  virtual PMString PlateFile(PMString plateName) const = 0;
56  virtual uint32 PlateOffset(uint16 index) const = 0;
57  virtual uint32 PlateOffset(PMString plateName) const = 0;
58  virtual uint32 PlateLength(uint16 index) const = 0;
59  virtual uint32 PlateLength(PMString plateName) const = 0;
60  virtual bool16 IsEmpty(void) const = 0;
61 
62  // Copy method
63 
64  virtual void CopyDCSInfo (const IDCSInfo* otherInfo) = 0;
65 };
66 
67 #endif