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 _FX_TEXTBREAK | 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_TBK_H_ |
8 #define _FX_TEXTBREAK | 8 #define XFA_SRC_FGAS_INCLUDE_FX_TBK_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_ucd.h" | 10 #include "core/include/fxcrt/fx_ucd.h" |
11 | 11 |
12 class IFX_Font; | 12 class IFX_Font; |
13 class CFX_Char; | 13 class CFX_Char; |
14 class IFX_TxtAccess; | 14 class IFX_TxtAccess; |
15 class CFX_TxtChar; | 15 class CFX_TxtChar; |
16 class CFX_TxtPiece; | 16 class CFX_TxtPiece; |
17 class IFX_TxtBreak; | 17 class IFX_TxtBreak; |
18 #define FX_TXTBREAKPOLICY_None 0x00 | 18 #define FX_TXTBREAKPOLICY_None 0x00 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 virtual int32_t GetDisplayPos( | 204 virtual int32_t GetDisplayPos( |
205 FX_LPCTXTRUN pTxtRun, | 205 FX_LPCTXTRUN pTxtRun, |
206 FXTEXT_CHARPOS* pCharPos, | 206 FXTEXT_CHARPOS* pCharPos, |
207 FX_BOOL bCharCode = FALSE, | 207 FX_BOOL bCharCode = FALSE, |
208 CFX_WideString* pWSForms = NULL, | 208 CFX_WideString* pWSForms = NULL, |
209 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; | 209 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; |
210 virtual int32_t GetCharRects(FX_LPCTXTRUN pTxtRun, | 210 virtual int32_t GetCharRects(FX_LPCTXTRUN pTxtRun, |
211 CFX_RectFArray& rtArray, | 211 CFX_RectFArray& rtArray, |
212 FX_BOOL bCharBBox = FALSE) const = 0; | 212 FX_BOOL bCharBBox = FALSE) const = 0; |
213 }; | 213 }; |
214 #endif | 214 |
| 215 #endif // XFA_SRC_FGAS_INCLUDE_FX_TBK_H_ |
OLD | NEW |