• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef XFA_FDE_CFDE_WORDBREAK_DATA_H_
8 #define XFA_FDE_CFDE_WORDBREAK_DATA_H_
9 
10 #include <stdint.h>
11 
12 enum class WordBreakProperty : uint8_t {
13   kNone = 0,
14   kCR,
15   kLF,
16   kNewLine,
17   kExtend,
18   kFormat,
19   kKataKana,
20   kALetter,
21   kMidLetter,
22   kMidNum,
23   kMidNumLet,
24   kNumeric,
25   kExtendNumLet,
26 };
27 
28 extern const uint16_t gs_FX_WordBreak_Table[];
29 extern const uint8_t gs_FX_WordBreak_CodePointProperties[];
30 
31 #endif  // XFA_FDE_CFDE_WORDBREAK_DATA_H_
32