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" |
| 11 #include "core/include/fxge/fx_ge.h" |
| 12 #include "xfa/src/fgas/include/fx_ucd.h" |
| 13 |
10 class IFX_Unknown; | 14 class IFX_Unknown; |
11 class IFX_Font; | 15 class IFX_Font; |
12 class CFX_Char; | 16 class CFX_Char; |
13 class CFX_RTFChar; | |
14 class CFX_RTFBreakPiece; | 17 class CFX_RTFBreakPiece; |
15 class IFX_RTFBreak; | 18 class IFX_RTFBreak; |
| 19 |
16 #define FX_RTFBREAKPOLICY_None 0x00 | 20 #define FX_RTFBREAKPOLICY_None 0x00 |
17 #define FX_RTFBREAKPOLICY_SpaceBreak 0x01 | 21 #define FX_RTFBREAKPOLICY_SpaceBreak 0x01 |
18 #define FX_RTFBREAKPOLICY_NumberBreak 0x02 | 22 #define FX_RTFBREAKPOLICY_NumberBreak 0x02 |
19 #define FX_RTFBREAKPOLICY_InfixBreak 0x04 | 23 #define FX_RTFBREAKPOLICY_InfixBreak 0x04 |
20 #define FX_RTFBREAKPOLICY_TabBreak 0x08 | 24 #define FX_RTFBREAKPOLICY_TabBreak 0x08 |
21 #define FX_RTFBREAKPOLICY_OrphanPositionedTab 0x10 | 25 #define FX_RTFBREAKPOLICY_OrphanPositionedTab 0x10 |
22 #define FX_RTFBREAK_None 0x00 | 26 #define FX_RTFBREAK_None 0x00 |
23 #define FX_RTFBREAK_PieceBreak 0x01 | 27 #define FX_RTFBREAK_PieceBreak 0x01 |
24 #define FX_RTFBREAK_LineBreak 0x02 | 28 #define FX_RTFBREAK_LineBreak 0x02 |
25 #define FX_RTFBREAK_ParagraphBreak 0x03 | 29 #define FX_RTFBREAK_ParagraphBreak 0x03 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 FXTEXT_CHARPOS* pCharPos, | 225 FXTEXT_CHARPOS* pCharPos, |
222 FX_BOOL bCharCode = FALSE, | 226 FX_BOOL bCharCode = FALSE, |
223 CFX_WideString* pWSForms = NULL, | 227 CFX_WideString* pWSForms = NULL, |
224 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; | 228 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; |
225 virtual int32_t GetCharRects(FX_LPCRTFTEXTOBJ pText, | 229 virtual int32_t GetCharRects(FX_LPCRTFTEXTOBJ pText, |
226 CFX_RectFArray& rtArray, | 230 CFX_RectFArray& rtArray, |
227 FX_BOOL bCharBBox = FALSE) const = 0; | 231 FX_BOOL bCharBBox = FALSE) const = 0; |
228 }; | 232 }; |
229 | 233 |
230 #endif // XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ | 234 #endif // XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
OLD | NEW |