InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ILinkResourceRenditionData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Sanyam Jain
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2016 Adobe
18 // All Rights Reserved.
19 //
20 // NOTICE: Adobe permits you to use, modify, and distribute this file in
21 // accordance with the terms of the Adobe license agreement accompanying
22 // it. If you have received this file from a source other than Adobe,
23 // then your use, modification, or distribution of it requires the prior
24 // written permission of Adobe.
25 //
26 // Description:
27 // This class defines an interface used to maintain and access a linked resource.
28 //
29 //========================================================================================
30 
31 #ifndef __ILinkResourceRenditionData__
32 #define __ILinkResourceRenditionData__
33 
34 // ----- Includes -----
35 #include "IPMUnknown.h"
36 #include "LinksID.h"
37 
38 #include "ILinkResource.h"
39 
46 {
47 public:
48  enum { kDefaultIID = IID_ILINKRESOURCERENDITIONDATA };
49 
50  enum ResourceRenditionType
51  {
52  /* For placement only - usually a low-res replacement for a high-res original */
53  kFPO,
54 
55  /* The original linked asset */
56  kOriginal,
57  };
58 
63  virtual ResourceRenditionType GetRenditionType() const = 0;
64 
69  virtual void SetRenditionType(ResourceRenditionType renditionType) = 0;
70 };
71 
72 #endif // __ILinkResourceRenditionData__