InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMissingFontSignalData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: daan Strebe
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 // Purpose: Data sent with the missing font signals
24 //
25 //========================================================================================
26 
27 #ifndef __IMISSINGFONTSIGNALDATA__
28 #define __IMISSINGFONTSIGNALDATA__
29 
30 #include "IPMUnknown.h"
31 
32 #include "IPMFont.h"
33 #include "PMString.h"
34 #include "IFontMgr.h"
35 #include "FontMgrID.h"
36 
37 
50 {
51  public:
52  enum { kDefaultIID = IID_IMISSINGFONTSIGNALDATA };
53 
62  virtual
63  void
64  SetFontByPSName (const PMString &fontName, IFontMgr::FontStyleBits styleBits, int32 writingScript, PMReal smallCapScale, bool16 forceFake)
65  = 0;
66 
72  virtual
73  const PMString &
74  GetFontPSName() const
75  = 0;
76 
80  virtual
81  IFontMgr::FontStyleBits
82  GetStyleBits() const
83  = 0;
84 
88  virtual
89  int32
90  GetWritingScript() const
91  = 0;
92 
96  virtual
97  PMReal
98  GetSmallCapScale() const
99  = 0;
100 
104  virtual
105  bool16
106  GetForceFake() const
107  = 0;
108 
113  virtual
114  void
115  SetResult (IPMFont *result)
116  = 0;
117 
122  virtual
123  IPMFont *
124  GetResult() const
125  = 0;
126 
130  virtual
131  bool16
132  HaveResult() const
133  = 0;
134 
137  virtual
138  void
139  ClearResult()
140  = 0;
141 };
142 
143 #endif // __IMISSINGFONTSIGNALDATA__
144