InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAdaptiveTransform.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Sachin Singhal
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 2018 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: All information contained herein is, and remains
18 // the property of Adobe Systems Incorporated and its suppliers,
19 // if any. The intellectual and technical concepts contained
20 // herein are proprietary to Adobe Systems Incorporated and its
21 // suppliers and may be covered by U.S. and Foreign Patents,
22 // patents in process, and are protected by trade secret or copyright law.
23 // Dissemination of this information or reproduction of this material
24 // is strictly forbidden unless prior written permission is obtained
25 // from Adobe Systems Incorporated.
26 //
27 //========================================================================================
28 
29 #ifndef __IAdaptiveTransform__
30 #define __IAdaptiveTransform__
31 
32 #include "IPMUnknown.h"
33 #include "AutoLayoutID.h"
34 #include "UIDList.h"
35 #include "ErrorUtils.h"
36 
37 #include <set>
38 
42 {
43 public:
44  /* Default IID to be used by UseDefaultIID() */
45  enum { kDefaultIID = IID_IADAPTIVETRANSFORM };
46 
51  virtual ErrorCode PreProcess() = 0;
52 
56  virtual ErrorCode Process() = 0;
57 
61  virtual ErrorCode PostProcess() = 0;
62 
66  virtual void Finish() = 0;
67 
68  //anichopr: Please remove this.
69  virtual std::set<PMReal> GetAllFontsSizes() = 0;
70 };
71 
72 #endif // __IAdaptiveTransform__