Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IParagraph.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 IPARAGRAPH_H_
27 #define IPARAGRAPH_H_
28 
29 #include "FCMPreConfig.h"
30 #include "FCMPluginInterface.h"
31 #include "IFCMUnknown.h"
32 
33 
34 /* -------------------------------------------------- Forward Decl */
35 
36 
37 /* -------------------------------------------------- Enums */
38 
39 namespace DOM
40 {
41  namespace FrameElement
42  {
48  enum AlignMode
49  {
55 
61 
64 
67  };
68  }
69 }
70 
71 
72 /* -------------------------------------------------- Macros / Constants */
73 
74 namespace DOM
75 {
76  namespace FrameElement
77  {
85  {0xbb9b73ea, 0x6f7, 0x4ac8, {0xb5, 0x1b, 0x2e, 0x5a, 0x47, 0xbf, 0xc3, 0xb1}};
86  }
87 }
88 
89 
90 /* -------------------------------------------------- Structs / Unions */
91 
92 namespace DOM
93 {
94  namespace FrameElement
95  {
102  {
108 
111 
114 
117 
120 
123  };
124  }
125 }
126 
127 
128 /* -------------------------------------------------- Class Decl */
129 
130 namespace DOM
131 {
132  namespace FrameElement
133  {
140 
141 
151  virtual FCM::Result _FCMCALL GetStartIndex(FCM::U_Int32& startIndex) = 0;
152 
153 
162  virtual FCM::Result _FCMCALL GetLength(FCM::U_Int32& length) = 0;
163 
164 
176  virtual FCM::Result _FCMCALL GetTextRuns(PIFCMList& pTextRunList) = 0;
177 
178 
190  virtual FCM::Result _FCMCALL GetParagraphStyle(PARAGRAPH_STYLE& paragraphStyle) = 0;
191 
193 
194  }
195 }
196 
197 
198 /* -------------------------------------------------- Inline / Functions */
199 
200 
201 #include "FCMPostConfig.h"
202 
203 #endif // IPARAGRAPH_H_
204 
FCM::U_Int32 structSize
Definition: IParagraph.h:107
unsigned _int32 U_Int32
Type to define an unsigned 32-bit value.
Definition: FCMTypes.h:81
#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::S_Int16 leftMargin
Definition: IParagraph.h:119
signed _int16 S_Int16
Type to define a signed 16-bit value.
Definition: FCMTypes.h:74
Describes the paragraph layout data of the text element.
Definition: IParagraph.h:101
Definition: IParagraph.h:66
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.
AlignMode
This defines alignment mode of text.
Definition: IParagraph.h:48
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). ...
FCM::ConstFCMIID IID_IPARAGRAPH
Defines the universally-unique interface ID for IParagraph.
Definition: IParagraph.h:84
Definition: IParagraph.h:54
#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
FCM::S_Int16 rightMargin
Definition: IParagraph.h:122
FCM::S_Int16 lineSpacing
Definition: IParagraph.h:116
AlignMode alignment
Definition: IParagraph.h:110
Definition: IParagraph.h:63
FCM::S_Int16 indent
Definition: IParagraph.h:113
IParagraph interface represents paragraph of text.
Definition: IParagraph.h:139
Definition: IParagraph.h:60
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165