1 // Copyright 2014 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_FGAS_LAYOUT_FX_LINEBREAK_H_ 8 #define XFA_FGAS_LAYOUT_FX_LINEBREAK_H_ 9 10 #include "core/fxcrt/fx_system.h" 11 #include "core/fxcrt/fx_unicode.h" 12 13 enum class FX_LINEBREAKTYPE : uint8_t { 14 kUNKNOWN = 0x00, 15 kDIRECT_BRK = 0x1A, 16 kINDIRECT_BRK = 0x2B, 17 kCOM_INDIRECT_BRK = 0x3C, 18 kCOM_PROHIBITED_BRK = 0x4D, 19 kPROHIBITED_BRK = 0x5E, 20 kHANGUL_SPACE_BRK = 0x6F, 21 }; 22 23 FX_LINEBREAKTYPE GetLineBreakTypeFromPair(FX_BREAKPROPERTY curr_char, 24 FX_BREAKPROPERTY next_char); 25 26 #endif // XFA_FGAS_LAYOUT_FX_LINEBREAK_H_ 27