Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IFontTable.h
Go to the documentation of this file.
1 /******************************************************************************
2 * ADOBE CONFIDENTIAL
3 * ___________________
4 *
5 * Copyright [2013] Adobe Systems Incorporated
6 * All Rights Reserved.
7 *
8 * NOTICE: All information contained herein is, and remains
9 * the property of Adobe Systems Incorporated and its suppliers,
10 * if any. The intellectual and technical concepts contained
11 * herein are proprietary to Adobe Systems Incorporated and its
12 * suppliers and are protected by all applicable intellectual
13 * property laws, including trade secret and copyright laws.
14 * Dissemination of this information or reproduction of this material
15 * is strictly forbidden unless prior written permission is obtained
16 * from Adobe Systems Incorporated.
17 ******************************************************************************/
18 
26 #ifndef IFONT_TABLE_H_
27 #define IFONT_TABLE_H_
28 
29 #include "FCMPreConfig.h"
30 #include "FCMPluginInterface.h"
31 #include "IFCMUnknown.h"
33 
34 
35 /* -------------------------------------------------- Forward Decl */
36 
37 
38 /* -------------------------------------------------- Enums */
39 
40 
41 /* -------------------------------------------------- Macros / Constants */
42 
43 namespace DOM
44 {
45  namespace Service
46  {
47  namespace FontTable
48  {
56  {0x88871ced, 0xe055, 0x4502, {0xbb, 0xfd, 0x28, 0x78, 0x4a, 0x54, 0xff, 0xd8}};
57  }
58  }
59 }
60 
61 
62 /* -------------------------------------------------- Structs / Unions */
63 
64 
65 /* -------------------------------------------------- Class Decl */
66 
67 namespace DOM
68 {
69  namespace Service
70  {
71  namespace FontTable
72  {
79 
80 
88  virtual FCM::Result _FCMCALL GetEMSquare(FCM::U_Int16& emSquare) = 0;
89 
90 
102  virtual FCM::Result _FCMCALL GetCopyrightInfo(
103  FCM::StringRep16* ppCopyrightInfo) = 0;
104 
105 
120  virtual FCM::Result _FCMCALL GetGlyphs(
121  FrameElement::OrientationMode orientationMode,
122  PIFCMList& pGlyphList) = 0;
123 
124 
137  virtual FCM::Result _FCMCALL GetAscent(
138  FrameElement::OrientationMode orientationMode,
139  FCM::Double& ascent) = 0;
140 
141 
154  virtual FCM::Result _FCMCALL GetDescent(
155  FrameElement::OrientationMode orientationMode,
156  FCM::Double& descent) = 0;
157 
158 
173  virtual FCM::Result _FCMCALL GetKerningPairs(
174  FrameElement::OrientationMode orientationMode,
175  PIFCMList& pKerningPairList) = 0;
176 
178  }
179  }
180 }
181 
182 
183 /* -------------------------------------------------- Inline / Functions */
184 
185 
186 #include "FCMPostConfig.h"
187 
188 #endif // IFONT_TABLE_H_
189 
#define BEGIN_DECLARE_INTERFACE(ifx, iid)
Used to begin the interface ifx with ID iid, which inherits from IFCMUnknown.
Definition: FCMMacros.h:147
The definitions contained in this namespace define a framework called Flash Component Model (FCM)...
Definition: IGroup.h:36
Represents a font table containing information about a font family.
Definition: IFontTable.h:78
U_Int16 * StringRep16
Used to define a UTF16 (unicode) encoded string.
Definition: FCMTypes.h:161
This file contains interface for IFCMUnknown. All FCM interfaces inherit from IFCMUnknown. This interface is similar to Microsoft's COM IUnknown. Primary purpose of this interface is to facilitate a way to obtain pointers to other interfaces through QueryInterface method.
Provides interfaces and other definitions to access the FLA authored contents in the form of a DOM (D...
This file contains core definitions of the framework Flash Component Model (FCM). ...
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
U_Int32 Result
Type to define a result. This is usually the return type for most APIs.
Definition: FCMTypes.h:126
Represents a 128 bit or 16-byte GUID (Globally Unique IDentifier) value.
Definition: FCMTypes.h:189
unsigned _int16 U_Int16
Type to define an unsigned 16-bit value.
Definition: FCMTypes.h:67
FCM::ConstFCMIID IID_IFONT_TABLE
Defines the universally-unique interface ID for IFontTable.
Definition: IFontTable.h:55
OrientationMode
This defines orientation mode of the static text element.
Definition: ITextBehaviour.h:48
double Double
Type to define a IEEE double-precision floating point number.
Definition: FCMTypes.h:118
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165
This file contains the interface for ITextBehaviour. ITextElement interface represents the type of th...