InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IReplaceFPOImage.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Greg St. Pierre
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 // ADOBE CONFIDENTIAL
24 //
25 //========================================================================================
26 
27 #ifndef __IReplaceFPOImage__
28 #define __IReplaceFPOImage__
29 
30 #include "ImageID.h"
31 
32 class IPMStream;
33 
35 {
36 public:
37  enum { kDefaultIID = IID_IREPLACEFPOIMAGE };
38 
39  enum Mode
40  {
41  kReplaceIfInteract, // Replace image only if interacts with XP
42  kReplaceAlways, // Replace image in all cases
43  kNeverReplace, // Never replace image
44  kUnsupportedImage // Image not supported by this implementation
45  };
46 
58  virtual Mode GetReplaceModeForImage(UIDRef const &image) const = 0;
59 
74  virtual IPMStream *ReplaceFPOImage(UIDRef const &fpoImage) = 0;
75 };
76 
77 #endif