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