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_SRC_FGAS_INCLUDE_FX_RBK_H_ | 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
8 #define XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ | 8 #define XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_ucd.h" | 10 #include "core/include/fxcrt/fx_ucd.h" |
11 #include "core/include/fxge/fx_ge.h" | 11 #include "core/include/fxge/fx_ge.h" |
| 12 #include "xfa/src/fgas/include/fx_mem.h" |
| 13 #include "xfa/src/fgas/include/fx_tbk.h" |
12 #include "xfa/src/fgas/include/fx_ucd.h" | 14 #include "xfa/src/fgas/include/fx_ucd.h" |
| 15 #include "xfa/src/fgas/include/fx_utl.h" |
13 | 16 |
14 class IFX_Unknown; | 17 class IFX_Unknown; |
15 class IFX_Font; | 18 class IFX_Font; |
16 class IFX_RTFBreak; | 19 class IFX_RTFBreak; |
17 | 20 |
18 #define FX_RTFBREAKPOLICY_None 0x00 | 21 #define FX_RTFBREAKPOLICY_None 0x00 |
19 #define FX_RTFBREAKPOLICY_SpaceBreak 0x01 | 22 #define FX_RTFBREAKPOLICY_SpaceBreak 0x01 |
20 #define FX_RTFBREAKPOLICY_NumberBreak 0x02 | 23 #define FX_RTFBREAKPOLICY_NumberBreak 0x02 |
21 #define FX_RTFBREAKPOLICY_InfixBreak 0x04 | 24 #define FX_RTFBREAKPOLICY_InfixBreak 0x04 |
22 #define FX_RTFBREAKPOLICY_TabBreak 0x08 | 25 #define FX_RTFBREAKPOLICY_TabBreak 0x08 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 FXTEXT_CHARPOS* pCharPos, | 228 FXTEXT_CHARPOS* pCharPos, |
226 FX_BOOL bCharCode = FALSE, | 229 FX_BOOL bCharCode = FALSE, |
227 CFX_WideString* pWSForms = NULL, | 230 CFX_WideString* pWSForms = NULL, |
228 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; | 231 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; |
229 virtual int32_t GetCharRects(const FX_RTFTEXTOBJ* pText, | 232 virtual int32_t GetCharRects(const FX_RTFTEXTOBJ* pText, |
230 CFX_RectFArray& rtArray, | 233 CFX_RectFArray& rtArray, |
231 FX_BOOL bCharBBox = FALSE) const = 0; | 234 FX_BOOL bCharBBox = FALSE) const = 0; |
232 }; | 235 }; |
233 | 236 |
234 #endif // XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ | 237 #endif // XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
OLD | NEW |