InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreflightOptions.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 "PackageAndPreflightID.h"
27 #include "IPMStream.h"
28 
39 {
40 public:
41  enum { kDefaultIID = IID_IPREFLIGHTOPTIONS };
42 
43 public:
44 
49  virtual void SetPreflightOff (bool16 onOff) = 0;
50 
54  virtual bool16 GetPreflightOff () const = 0;
55 
61  typedef enum { kUseEmbeddedProfile = 0, kUseWorkingProfile } PreflightProfilePolicy;
62 
67  virtual void SetPreflightProfilePolicy (PreflightProfilePolicy profilePolicy) = 0;
68 
72 
79  virtual void SetUseProfile (const PMString& profileName) = 0;
80 
83  virtual PMString GetUseProfile () const = 0;
84 
91  virtual void SetUsingEmbeddedProfile(bool16 usingEmbedded) = 0;
92 
99  virtual bool16 GetUsingEmbeddedProfile() const = 0;
100 
107  virtual void SetEmbedProfileInNewDocument (bool16 embed) = 0;
108 
112  virtual bool16 GetEmbedProfileInNewDocument () const = 0;
113 
119  typedef enum { kAllLayers = 0, kVisibleLayers, kVisiblePrintableLayers } LayerOptions;
120 
125  virtual void SetIncludeLayers (LayerOptions includeLayerOption) = 0;
126 
129  virtual LayerOptions GetIncludeLayers () const = 0;
130 
136  virtual void SetIncludeObjectsOnPasteboard (bool16 onOff) = 0;
137 
140  virtual bool16 GetIncludeObjectsOnPasteboard () const = 0;
141 
147  virtual void SetIncludeNonPrintingObjects (bool16 onOff) = 0;
148 
151  virtual bool16 GetIncludeNonPrintingObjects () const = 0;
152 
158  typedef enum { kAllPages = 0, kPageRange } PreflightScope;
159 
164  virtual void SetScope (PreflightScope scope) = 0;
165 
170  virtual PreflightScope GetScope () const = 0;
171 
178  virtual void SetPageRange (const PMString& pageRange) = 0;
179 
184  virtual PMString GetPageRange() const = 0;
185 
189  virtual void CopyFrom (const IPreflightOptions* iOther) = 0;
190 };
191 
192