InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreflightArtworkTextInfo.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Phillips
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 
24 
25 #include "IPMUnknown.h"
26 #include "PackageAndPreflightID.h"
27 #include "GraphicTypes.h"
28 #include "IPreflightArtworkImage.h"
29 
31 
39 {
40 public:
41  enum { kDefaultIID = IID_IPREFLIGHTARTWORKTEXTINFO };
42 
44  typedef enum
45  {
46  kFontType_Invalid,
47  kFontType_Type1,
48  kFontType_TrueType,
49  kFontType_CID,
50  kFontType_ATC,
51  kFontType_Bitmap,
52  kFontType_OpenTypeCFF,
53  kFontType_OpenTypeCID,
54  kFontType_OpenTypeTT,
55  kFontType_Type3,
56  kFontType_SVG
57  } FontType;
58 
62  typedef enum
63  {
64  kFontTech_Invalid,
65  kFontTech_Type1,
66  kFontTech_TrueType,
67  kFontTech_CID,
68  kFontTech_Bitmap,
69  kFontTech_ATC,
70  kFontTech_Type3,
72 
73 public:
79  virtual PMMatrix GetCharMatrix() const = 0;
80 
87  virtual PMMatrix GetTextMatrix() const = 0;
88 
92  virtual uint32 GetNumGlyphs() const = 0;
93 
101  virtual int32 GetNthGlyph(uint32 n, PMPoint* pWhere, bool* pIsValid) const = 0;
102 
106  virtual FontType GetFontType() const = 0;
107 
111  virtual FontTechnology GetFontTechnology() const = 0;
112 
116  virtual bool GetFontIsProtected() const = 0;
117 
122  virtual bool GetFontIsReal() const = 0;
123 
134  virtual PMString GetFontName() const = 0;
135 
138  virtual bool GetFontIsCFF() const = 0;
139 
142  virtual bool GetFontIsSING() const = 0;
143 
146  virtual bool GetFontHasOutlines() const = 0;
147 
150  virtual bool GetFontIsEmbedded() const = 0;
151 
154  virtual bool GetFontIsMultipleMaster() const = 0;
155 
156 };