InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISimpleImageStreamManager.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Dave Stephens
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 // A simple envelope/wrapper class around the IImageStreamManager designed to ease
24 // the setup of the IImageStreamManager when all you want to do is get an IImageStream
25 // hooked up to an image for the purpose of reading.
26 //
27 //========================================================================================
28 
29 #ifndef __ISimpleImageStreamManager__
30 #define __ISimpleImageStreamManager__
31 
32 #include "IPMUnknown.h"
33 
34 #include "IImageStream.h"
35 
36 class IImageAttributes;
38 class IImageStream;
39 
49 {
50 public:
51 
65  virtual ErrorCode Set (const UIDRef& imageRef, bool16 bUseHighRes, IImageAttributes* dstImageAttributes,
66  bool16 antiAliasing = kFalse, bool16 doDiffusion = kFalse, uint8 grayThreshold = 128) = 0;
67 
68 
76  virtual IImageStream* Open (void) = 0;
77 
81  virtual void Close (void) = 0;
82 
91 
92 };
93 
94 #endif