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_LAYOUT_FGAS_TEXTBREAK_H_ | 7 #ifndef XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_H_ |
8 #define XFA_SRC_FGAS_LAYOUT_FGAS_TEXTBREAK_H_ | 8 #define XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_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/crt/fgas_utils.h" | 12 #include "xfa/fgas/crt/fgas_utils.h" |
13 #include "xfa/src/fgas/layout/fgas_unicode.h" | 13 #include "xfa/fgas/layout/fgas_unicode.h" |
14 | 14 |
15 class IFX_Font; | 15 class IFX_Font; |
16 class CFX_Char; | 16 class CFX_Char; |
17 class IFX_TxtAccess; | 17 class IFX_TxtAccess; |
18 class CFX_TxtChar; | 18 class CFX_TxtChar; |
19 class CFX_TxtPiece; | 19 class CFX_TxtPiece; |
20 class IFX_TxtBreak; | 20 class IFX_TxtBreak; |
21 | 21 |
22 #define FX_TXTBREAKPOLICY_None 0x00 | 22 #define FX_TXTBREAKPOLICY_None 0x00 |
23 #define FX_TXTBREAKPOLICY_Pagination 0x01 | 23 #define FX_TXTBREAKPOLICY_Pagination 0x01 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 const FX_TXTRUN* pTxtRun, | 212 const FX_TXTRUN* pTxtRun, |
213 FXTEXT_CHARPOS* pCharPos, | 213 FXTEXT_CHARPOS* pCharPos, |
214 FX_BOOL bCharCode = FALSE, | 214 FX_BOOL bCharCode = FALSE, |
215 CFX_WideString* pWSForms = NULL, | 215 CFX_WideString* pWSForms = NULL, |
216 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; | 216 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; |
217 virtual int32_t GetCharRects(const FX_TXTRUN* pTxtRun, | 217 virtual int32_t GetCharRects(const FX_TXTRUN* pTxtRun, |
218 CFX_RectFArray& rtArray, | 218 CFX_RectFArray& rtArray, |
219 FX_BOOL bCharBBox = FALSE) const = 0; | 219 FX_BOOL bCharBBox = FALSE) const = 0; |
220 }; | 220 }; |
221 | 221 |
222 #endif // XFA_SRC_FGAS_LAYOUT_FGAS_TEXTBREAK_H_ | 222 #endif // XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_H_ |
OLD | NEW |