| 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 _FX_LINEBREAK | 7 #ifndef _FX_LINEBREAK |
| 8 #define _FX_LINEBREAK | 8 #define _FX_LINEBREAK |
| 9 enum FX_LINEBREAKTYPE { | 9 enum FX_LINEBREAKTYPE { |
| 10 FX_LBT_UNKNOWN = 0x00, | 10 FX_LBT_UNKNOWN = 0x00, |
| 11 FX_LBT_DIRECT_BRK = 0x1A, | 11 FX_LBT_DIRECT_BRK = 0x1A, |
| 12 FX_LBT_INDIRECT_BRK = 0x2B, | 12 FX_LBT_INDIRECT_BRK = 0x2B, |
| 13 FX_LBT_COM_INDIRECT_BRK = 0x3C, | 13 FX_LBT_COM_INDIRECT_BRK = 0x3C, |
| 14 FX_LBT_COM_PROHIBITED_BRK = 0x4D, | 14 FX_LBT_COM_PROHIBITED_BRK = 0x4D, |
| 15 FX_LBT_PROHIBITED_BRK = 0x5E, | 15 FX_LBT_PROHIBITED_BRK = 0x5E, |
| 16 FX_LBT_HANGUL_SPACE_BRK = 0x6F, | 16 FX_LBT_HANGUL_SPACE_BRK = 0x6F, |
| 17 }; | 17 }; |
| 18 #define FX_LBUN FX_LBT_UNKNOWN | 18 #define FX_LBUN FX_LBT_UNKNOWN |
| 19 #define FX_LBDB FX_LBT_DIRECT_BRK | 19 #define FX_LBDB FX_LBT_DIRECT_BRK |
| 20 #define FX_LBIB FX_LBT_INDIRECT_BRK | 20 #define FX_LBIB FX_LBT_INDIRECT_BRK |
| 21 #define FX_LBCB FX_LBT_COM_INDIRECT_BRK | 21 #define FX_LBCB FX_LBT_COM_INDIRECT_BRK |
| 22 #define FX_LBCP FX_LBT_COM_PROHIBITED_BRK | 22 #define FX_LBCP FX_LBT_COM_PROHIBITED_BRK |
| 23 #define FX_LBPB FX_LBT_PROHIBITED_BRK | 23 #define FX_LBPB FX_LBT_PROHIBITED_BRK |
| 24 #define FX_LBHS FX_LBT_HANGUL_SPACE_BRK | 24 #define FX_LBHS FX_LBT_HANGUL_SPACE_BRK |
| 25 void» FX_GetLineBreakPositions(FX_LPCWSTR pwsText, FX_LINEBREAKTYPE *pBrkType,
FX_INT32 iLength); | 25 void» FX_GetLineBreakPositions(FX_LPCWSTR pwsText, FX_LINEBREAKTYPE *pBrkType,
int32_t iLength); |
| 26 void» FX_GetLineBreakPositions(FX_LPCWSTR pwsText, FX_INT32 iLength, CFX_Int32
MassArray &bp); | 26 void» FX_GetLineBreakPositions(FX_LPCWSTR pwsText, int32_t iLength, CFX_Int32M
assArray &bp); |
| 27 #endif | 27 #endif |
| OLD | NEW |