| 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 #include "xfa/fee/fx_wordbreak/fx_wordbreak_impl.h" | 7 #include "xfa/fee/fx_wordbreak/fx_wordbreak_impl.h" |
| 8 | 8 |
| 9 FX_WordBreakProp FX_GetWordBreakProperty(FX_WCHAR wcCodePoint) { | 9 FX_WordBreakProp FX_GetWordBreakProperty(FX_WCHAR wcCodePoint) { |
| 10 uint32_t dwProperty = | 10 uint32_t dwProperty = |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 return TRUE; | 226 return TRUE; |
| 227 } | 227 } |
| 228 } | 228 } |
| 229 } | 229 } |
| 230 ePreType = eCurType; | 230 ePreType = eCurType; |
| 231 eCurType = eNextType; | 231 eCurType = eNextType; |
| 232 bFirst = FALSE; | 232 bFirst = FALSE; |
| 233 } while (!pIter->IsEOF(!bPrev)); | 233 } while (!pIter->IsEOF(!bPrev)); |
| 234 return TRUE; | 234 return TRUE; |
| 235 } | 235 } |
| 236 IFX_WordBreak* FX_WordBreak_Create() { | |
| 237 return new CFX_WordBreak; | |
| 238 } | |
| OLD | NEW |