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_RTFBREAK | 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
8 #define _FX_RTFBREAK | 8 #define XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
| 9 |
9 class IFX_Unknown; | 10 class IFX_Unknown; |
10 class IFX_Font; | 11 class IFX_Font; |
11 class CFX_Char; | 12 class CFX_Char; |
12 class CFX_RTFChar; | 13 class CFX_RTFChar; |
13 class CFX_RTFBreakPiece; | 14 class CFX_RTFBreakPiece; |
14 class IFX_RTFBreak; | 15 class IFX_RTFBreak; |
15 #define FX_RTFBREAKPOLICY_None 0x00 | 16 #define FX_RTFBREAKPOLICY_None 0x00 |
16 #define FX_RTFBREAKPOLICY_SpaceBreak 0x01 | 17 #define FX_RTFBREAKPOLICY_SpaceBreak 0x01 |
17 #define FX_RTFBREAKPOLICY_NumberBreak 0x02 | 18 #define FX_RTFBREAKPOLICY_NumberBreak 0x02 |
18 #define FX_RTFBREAKPOLICY_InfixBreak 0x04 | 19 #define FX_RTFBREAKPOLICY_InfixBreak 0x04 |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 virtual int32_t GetDisplayPos( | 219 virtual int32_t GetDisplayPos( |
219 FX_LPCRTFTEXTOBJ pText, | 220 FX_LPCRTFTEXTOBJ pText, |
220 FXTEXT_CHARPOS* pCharPos, | 221 FXTEXT_CHARPOS* pCharPos, |
221 FX_BOOL bCharCode = FALSE, | 222 FX_BOOL bCharCode = FALSE, |
222 CFX_WideString* pWSForms = NULL, | 223 CFX_WideString* pWSForms = NULL, |
223 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; | 224 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; |
224 virtual int32_t GetCharRects(FX_LPCRTFTEXTOBJ pText, | 225 virtual int32_t GetCharRects(FX_LPCRTFTEXTOBJ pText, |
225 CFX_RectFArray& rtArray, | 226 CFX_RectFArray& rtArray, |
226 FX_BOOL bCharBBox = FALSE) const = 0; | 227 FX_BOOL bCharBBox = FALSE) const = 0; |
227 }; | 228 }; |
228 #endif | 229 |
| 230 #endif // XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
OLD | NEW |