Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IFontTableGeneratorService.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 
27 #ifndef IFONT_TABLE_GENERATOR_SERVICE_H_
28 #define IFONT_TABLE_GENERATOR_SERVICE_H_
29 
30 #include "FCMPreConfig.h"
31 #include "FCMPluginInterface.h"
32 #include "IFCMUnknown.h"
33 #include "Utils/DOMTypes.h"
34 
35 
36 /* -------------------------------------------------- Forward Decl */
37 
38 namespace DOM
39 {
40  namespace Service
41  {
42  namespace FontTable
43  {
44  FORWARD_DECLARE_INTERFACE(IFontTable);
45  }
46  }
47 
48 
49  namespace LibraryItem
50  {
51  FORWARD_DECLARE_INTERFACE(IFontItem);
52  }
53 
54 
55  FORWARD_DECLARE_INTERFACE(IFLADocument);
56 }
57 
58 
59 /* -------------------------------------------------- Enums */
60 
61 
62 /* -------------------------------------------------- Macros / Constants */
63 
64 namespace DOM
65 {
66  namespace Service
67  {
68  namespace FontTable
69  {
77  {0xdfa12563, 0x76b3, 0x4f88, {0x9e, 0x4, 0xfd, 0x15, 0xc, 0xb6, 0x39, 0x68}};
78  }
79  }
80 }
81 
82 
83 /* -------------------------------------------------- Structs / Unions */
84 
85 /* -------------------------------------------------- Class Decl */
86 
87 namespace DOM
88 {
89  namespace Service
90  {
91  namespace FontTable
92  {
99 
100 
121  virtual FCM::Result _FCMCALL CreateFontTable(
122  const PIFLADocument& pFlaDoc,
123  FCM::CStringRep16 pCharacterString,
124  FCM::CStringRep16 pFontName,
125  FCM::CStringRep8 pFontStyle,
126  PIFontTable& pFontTable) = 0;
127 
128 
142  virtual FCM::Result _FCMCALL CreateFontTableForFontItem(
143  const LibraryItem::PIFontItem& pFontItem,
144  PIFontTable& pFontTable) = 0;
145 
147  }
148  }
149 }
150 
151 
152 /* -------------------------------------------------- Inline / Functions */
153 
154 
155 #include "FCMPostConfig.h"
156 
157 #endif // IFONT_TABLE_GENERATOR_SERVICE_H_
158 
#define FORWARD_DECLARE_INTERFACE(ifx)
Used to forward declare an interface ifx.
Definition: FCMMacros.h:114
#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
FCM::ConstFCMIID IID_IFONT_TABLE_GENERATOR_SERVICE
Defines the universally-unique interface ID for IFontTableGeneratorService.
Definition: IFontTableGeneratorService.h:76
Defines the interface to generate the font table for a font.
Definition: IFontTableGeneratorService.h:98
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
This file contains the types used for DOM traversal and access.
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
const U_Int16 * CStringRep16
Used to define a constant UTF16 (unicode) encoded string.
Definition: FCMTypes.h:168
const char * CStringRep8
Used to define a constant unicode (UTF8) encoded string.
Definition: FCMTypes.h:182
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165