OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FEE_IFDE_TXTEDTENGINE_H_ | 7 #ifndef XFA_FEE_IFDE_TXTEDTENGINE_H_ |
8 #define XFA_FEE_IFDE_TXTEDTENGINE_H_ | 8 #define XFA_FEE_IFDE_TXTEDTENGINE_H_ |
9 | 9 |
10 #include "core/include/fxge/fx_dib.h" | 10 #include "core/include/fxge/fx_dib.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 wDefChar(0xFEFF), | 103 wDefChar(0xFEFF), |
104 wLineBreakChar('\n'), | 104 wLineBreakChar('\n'), |
105 nCharRotation(0), | 105 nCharRotation(0), |
106 nLineEnd(0), | 106 nLineEnd(0), |
107 nHorzScale(100), | 107 nHorzScale(100), |
108 fCharSpace(0), | 108 fCharSpace(0), |
109 pEventSink(NULL) {} | 109 pEventSink(NULL) {} |
110 FX_FLOAT fPlateWidth; | 110 FX_FLOAT fPlateWidth; |
111 FX_FLOAT fPlateHeight; | 111 FX_FLOAT fPlateHeight; |
112 int32_t nLineCount; | 112 int32_t nLineCount; |
113 FX_DWORD dwLayoutStyles; | 113 uint32_t dwLayoutStyles; |
114 FX_DWORD dwAlignment; | 114 uint32_t dwAlignment; |
115 FX_DWORD dwMode; | 115 uint32_t dwMode; |
116 IFX_Font* pFont; | 116 IFX_Font* pFont; |
117 FX_FLOAT fFontSize; | 117 FX_FLOAT fFontSize; |
118 FX_ARGB dwFontColor; | 118 FX_ARGB dwFontColor; |
119 FX_FLOAT fLineSpace; | 119 FX_FLOAT fLineSpace; |
120 FX_FLOAT fTabWidth; | 120 FX_FLOAT fTabWidth; |
121 FX_BOOL bTabEquidistant; | 121 FX_BOOL bTabEquidistant; |
122 FX_WCHAR wDefChar; | 122 FX_WCHAR wDefChar; |
123 FX_WCHAR wLineBreakChar; | 123 FX_WCHAR wLineBreakChar; |
124 int32_t nCharRotation; | 124 int32_t nCharRotation; |
125 int32_t nLineEnd; | 125 int32_t nLineEnd; |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 virtual ~IFDE_TxtEdtParag() {} | 249 virtual ~IFDE_TxtEdtParag() {} |
250 virtual int32_t GetTextLength() const = 0; | 250 virtual int32_t GetTextLength() const = 0; |
251 virtual int32_t GetStartIndex() const = 0; | 251 virtual int32_t GetStartIndex() const = 0; |
252 virtual int32_t CountLines() const = 0; | 252 virtual int32_t CountLines() const = 0; |
253 virtual void GetLineRange(int32_t nLineIndex, | 253 virtual void GetLineRange(int32_t nLineIndex, |
254 int32_t& nStart, | 254 int32_t& nStart, |
255 int32_t& nCount) const = 0; | 255 int32_t& nCount) const = 0; |
256 }; | 256 }; |
257 | 257 |
258 #endif // XFA_FEE_IFDE_TXTEDTENGINE_H_ | 258 #endif // XFA_FEE_IFDE_TXTEDTENGINE_H_ |
OLD | NEW |