Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IFontItem.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_ITEM_H_
27 #define IFONT_ITEM_H_
28 
29 #include "FCMPreConfig.h"
30 #include "FCMPluginInterface.h"
31 #include "Utils/DOMTypes.h"
32 
33 
34 /* -------------------------------------------------- Forward Decl */
35 
36 
37 /* -------------------------------------------------- Enums */
38 
39 
40 /* -------------------------------------------------- Macros / Constants */
41 
42 namespace DOM
43 {
44  namespace LibraryItem
45  {
53  {0x731bcb32, 0x50db, 0x4a6c, {0x97, 0x50, 0x9e, 0x6c, 0xef, 0x8d, 0xf1, 0xaf}};
54  }
55 }
56 
57 
58 /* -------------------------------------------------- Structs / Unions */
59 
60 
61 /* -------------------------------------------------- Class Decl */
62 
63 namespace DOM
64 {
65  namespace LibraryItem
66  {
73 
74 
85  virtual FCM::Result _FCMCALL GetFontName(FCM::StringRep16* ppFontName) = 0;
86 
87 
99  virtual FCM::Result _FCMCALL GetFontStyle(FCM::StringRep8* ppFontStyle) = 0;
100 
101 
110  virtual FCM::Result _FCMCALL GetFontSize(FCM::U_Int16& size) = 0;
111 
112 
124  virtual FCM::Result _FCMCALL GetEmbeddedCharacters(
125  FCM::StringRep16* ppEmbeddedCharacters) = 0;
126 
127 
141  virtual FCM::Result _FCMCALL GetEmbeddedRanges(FCM::StringRep16* ppEmbeddedRanges) = 0;
142 
144  }
145 };
146 
147 
148 /* -------------------------------------------------- Inline / Functions */
149 
150 
151 #include "FCMPostConfig.h"
152 
153 #endif // IFONT_ITEM_H_
154 
#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
U_Int16 * StringRep16
Used to define a UTF16 (unicode) encoded string.
Definition: FCMTypes.h:161
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
unsigned _int16 U_Int16
Type to define an unsigned 16-bit value.
Definition: FCMTypes.h:67
FCM::ConstFCMIID IID_IFONT_ITEM
Defines the universally-unique interface ID for IFontItem.
Definition: IFontItem.h:52
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165
Defines the interface that represents a font symbol in Library.
Definition: IFontItem.h:72
char * StringRep8
Used to define a unicode (UTF8) encoded string.
Definition: FCMTypes.h:175