| 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_FEE_FX_WORDBREAK_FX_WORDBREAK_IMPL_H_ | 7 #ifndef XFA_FEE_FX_WORDBREAK_FX_WORDBREAK_IMPL_H_ |
| 8 #define XFA_SRC_FEE_FX_WORDBREAK_FX_WORDBREAK_IMPL_H_ | 8 #define XFA_FEE_FX_WORDBREAK_FX_WORDBREAK_IMPL_H_ |
| 9 | 9 |
| 10 #include <cstdint> | 10 #include <cstdint> |
| 11 | 11 |
| 12 #include "core/include/fxcrt/fx_string.h" | 12 #include "core/include/fxcrt/fx_string.h" |
| 13 #include "core/include/fxcrt/fx_system.h" | 13 #include "core/include/fxcrt/fx_system.h" |
| 14 #include "xfa/src/fee/fx_wordbreak/fx_wordbreak.h" | 14 #include "xfa/fee/fx_wordbreak/fx_wordbreak.h" |
| 15 #include "xfa/src/fee/fx_wordbreak/fx_wordbreak_impl.h" | 15 #include "xfa/fee/fx_wordbreak/fx_wordbreak_impl.h" |
| 16 #include "xfa/src/fee/ifde_txtedtengine.h" | 16 #include "xfa/fee/ifde_txtedtengine.h" |
| 17 | 17 |
| 18 extern const FX_WORD gs_FX_WordBreak_Table[16]; | 18 extern const FX_WORD gs_FX_WordBreak_Table[16]; |
| 19 extern const uint8_t gs_FX_WordBreak_CodePointProperties[(0xFFFF - 1) / 2 + 1]; | 19 extern const uint8_t gs_FX_WordBreak_CodePointProperties[(0xFFFF - 1) / 2 + 1]; |
| 20 enum FX_WordBreakProp { | 20 enum FX_WordBreakProp { |
| 21 FX_WordBreakProp_None = 0, | 21 FX_WordBreakProp_None = 0, |
| 22 FX_WordBreakProp_CR, | 22 FX_WordBreakProp_CR, |
| 23 FX_WordBreakProp_LF, | 23 FX_WordBreakProp_LF, |
| 24 FX_WordBreakProp_NewLine, | 24 FX_WordBreakProp_NewLine, |
| 25 FX_WordBreakProp_Extend, | 25 FX_WordBreakProp_Extend, |
| 26 FX_WordBreakProp_Format, | 26 FX_WordBreakProp_Format, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 ~CFX_WordBreak(); | 68 ~CFX_WordBreak(); |
| 69 FX_BOOL FindNextBreakPos(IFX_CharIter* pIter, | 69 FX_BOOL FindNextBreakPos(IFX_CharIter* pIter, |
| 70 FX_BOOL bPrev, | 70 FX_BOOL bPrev, |
| 71 FX_BOOL bFromNext = TRUE); | 71 FX_BOOL bFromNext = TRUE); |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 IFX_CharIter* m_pPreIter; | 74 IFX_CharIter* m_pPreIter; |
| 75 IFX_CharIter* m_pCurIter; | 75 IFX_CharIter* m_pCurIter; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 #endif // XFA_SRC_FEE_FX_WORDBREAK_FX_WORDBREAK_IMPL_H_ | 78 #endif // XFA_FEE_FX_WORDBREAK_FX_WORDBREAK_IMPL_H_ |
| OLD | NEW |