InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICreateLowResImageCmdData.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 // Data Interface for the CreateLowResImageCmd. Use this interface to pass information
24 // and options to the CreateLowResImageCmd.
25 //
26 //========================================================================================
27 
28 #ifndef __ICreateLowResImageCmdData__
29 #define __ICreateLowResImageCmdData__
30 
31 #include "IPMUnknown.h"
32 #include "AGMImageAccessor.h"
33 
34 class IImageAttributes;
35 class IPMStream;
36 class IImageStream;
37 
56 {
57 public:
58 
62  typedef struct {
63  IDataBase* lowResImageDB;
68  bool8 embedStream;
69  int32 embedSize;
77 
78 
85  virtual void Init( const lowResDataStruct *data ) = 0;
86 
91  virtual const lowResDataStruct * GetLowResInfo() const = 0;
92 
100  virtual void Init( const AGMImageAccessor *imageAccessor, uint32 resolution) = 0;
101 
109  virtual bool8 GetImageAccessor(const AGMImageAccessor **imageAccessor, uint32 *resolution) const = 0;
110 };
111 
112 #endif