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_FGAS_LAYOUT_FGAS_RTFBREAK_H_ | 7 #ifndef XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ |
8 #define XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ | 8 #define XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_basic.h" | 10 #include "core/fxcrt/fx_basic.h" |
11 #include "core/fxcrt/include/fx_ucd.h" | 11 #include "core/fxcrt/fx_ucd.h" |
12 #include "xfa/fgas/crt/fgas_memory.h" | 12 #include "xfa/fgas/crt/fgas_memory.h" |
13 #include "xfa/fgas/crt/fgas_utils.h" | 13 #include "xfa/fgas/crt/fgas_utils.h" |
14 #include "xfa/fgas/layout/fgas_textbreak.h" | 14 #include "xfa/fgas/layout/fgas_textbreak.h" |
15 #include "xfa/fgas/layout/fgas_unicode.h" | 15 #include "xfa/fgas/layout/fgas_unicode.h" |
16 | 16 |
17 class CFGAS_GEFont; | 17 class CFGAS_GEFont; |
18 | 18 |
19 #define FX_RTFBREAKPOLICY_None 0x00 | 19 #define FX_RTFBREAKPOLICY_None 0x00 |
20 #define FX_RTFBREAKPOLICY_SpaceBreak 0x01 | 20 #define FX_RTFBREAKPOLICY_SpaceBreak 0x01 |
21 #define FX_RTFBREAKPOLICY_NumberBreak 0x02 | 21 #define FX_RTFBREAKPOLICY_NumberBreak 0x02 |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 FX_CHARTYPE m_eCharType; | 315 FX_CHARTYPE m_eCharType; |
316 uint32_t m_dwIdentity; | 316 uint32_t m_dwIdentity; |
317 CFX_RTFLine m_RTFLine1; | 317 CFX_RTFLine m_RTFLine1; |
318 CFX_RTFLine m_RTFLine2; | 318 CFX_RTFLine m_RTFLine2; |
319 CFX_RTFLine* m_pCurLine; | 319 CFX_RTFLine* m_pCurLine; |
320 int32_t m_iReady; | 320 int32_t m_iReady; |
321 int32_t m_iTolerance; | 321 int32_t m_iTolerance; |
322 }; | 322 }; |
323 | 323 |
324 #endif // XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ | 324 #endif // XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ |
OLD | NEW |