Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ITextStyle.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 ITEXT_STYLE_H_
27 #define ITEXT_STYLE_H_
28 
29 #include "FCMPreConfig.h"
30 #include "FCMPluginInterface.h"
31 #include "IFCMUnknown.h"
32 #include "Utils/DOMTypes.h"
33 
34 
35 /* -------------------------------------------------- Forward Decl */
36 
37 
38 /* -------------------------------------------------- Enums */
39 
40 namespace DOM
41 {
42  namespace FrameElement
43  {
50  {
53 
54 
57 
58 
61  };
62  }
63 }
64 
65 
66 /* -------------------------------------------------- Macros / Constants */
67 
68 namespace DOM
69 {
70  namespace FrameElement
71  {
79  {0xc8538de2, 0x7d59, 0x4e0b, {0xb1, 0xed, 0xef, 0x4a, 0x5c, 0x55, 0xcc, 0x9}};
80 
81 
85  FCM::CStringRep8 const REGULAR_STYLE_STR = "RegularStyle";
86 
87 
91  FCM::CStringRep8 const ITALIC_STYLE_STR = "ItalicStyle";
92 
93 
97  FCM::CStringRep8 const BOLD_STYLE_STR = "BoldStyle";
98 
99 
103  FCM::CStringRep8 const BOLD_ITALIC_STYLE_STR = "BoldItalicStyle";
104  }
105 }
106 
107 
108 /* -------------------------------------------------- Structs / Unions */
109 
110 
111 /* -------------------------------------------------- Class Decl */
112 
113 namespace DOM
114 {
115  namespace FrameElement
116  {
123 
124 
135  virtual FCM::Result _FCMCALL GetFontStyle(FCM::StringRep8* ppFontStyle) = 0;
136 
137 
147  virtual FCM::Result _FCMCALL GetLetterSpacing(FCM::S_Int16& letterSpacing) = 0;
148 
149 
158  virtual FCM::Result _FCMCALL GetFontSize(FCM::U_Int16& fontSize) = 0;
159 
160 
172  virtual FCM::Result _FCMCALL GetFontName(FCM::StringRep16* ppFontName) = 0;
173 
174 
186  virtual FCM::Result _FCMCALL IsAutoKernEnabled(FCM::Boolean& autoKern) = 0;
187 
188 
197  virtual FCM::Result _FCMCALL GetFontColor(Utils::COLOR& fontColor) = 0;
198 
199 
209  virtual FCM::Result _FCMCALL GetBaseLineShiftStyle(
210  BaseLineShiftStyle& baseLineShiftStyle) = 0;
211 
212 
223  virtual FCM::Result _FCMCALL IsRotated(FCM::Boolean& rotated) = 0;
224 
225 
235  virtual FCM::Result _FCMCALL GetLinkTarget(FCM::StringRep16* ppLinkTarget) = 0;
236 
237 
247  virtual FCM::Result _FCMCALL GetLink(FCM::StringRep16* ppLink) = 0;
248 
250 
251  }
252 }
253 
254 
255 /* -------------------------------------------------- Inline / Functions */
256 
257 
258 #include "FCMPostConfig.h"
259 
260 #endif // ITEXT_STYLE_H_
261 
FCM::CStringRep8 const ITALIC_STYLE_STR
Defines the 'italic' text style.
Definition: ITextStyle.h:91
BaseLineShiftStyle
This enumerates the base line shift styles.
Definition: ITextStyle.h:49
FCM::ConstFCMIID IID_ITEXT_STYLE
Defines the universally-unique interface ID for ITextStyle.
Definition: ITextStyle.h:78
#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
signed _int16 S_Int16
Type to define a signed 16-bit value.
Definition: FCMTypes.h:74
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...
U_Int8 Boolean
Type to define a boolean.
Definition: FCMTypes.h:140
This file contains core definitions of the framework Flash Component Model (FCM). ...
FCM::CStringRep8 const BOLD_ITALIC_STYLE_STR
Defines the 'bold-italic' text style.
Definition: ITextStyle.h:103
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
FCM::CStringRep8 const BOLD_STYLE_STR
Defines the 'bold' text style.
Definition: ITextStyle.h:97
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
Defines an interface that represents the properties that describe characters.
Definition: ITextStyle.h:122
FCM::CStringRep8 const REGULAR_STYLE_STR
Defines the 'regular' text style.
Definition: ITextStyle.h:85
unsigned _int16 U_Int16
Type to define an unsigned 16-bit value.
Definition: FCMTypes.h:67
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
char * StringRep8
Used to define a unicode (UTF8) encoded string.
Definition: FCMTypes.h:175