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_FDE_IFDE_TXTEDTENGINE_H_ | 7 #ifndef XFA_FDE_IFDE_TXTEDTENGINE_H_ |
8 #define XFA_FDE_IFDE_TXTEDTENGINE_H_ | 8 #define XFA_FDE_IFDE_TXTEDTENGINE_H_ |
9 | 9 |
10 #include "core/fxge/fx_dib.h" | 10 #include "core/fxge/fx_dib.h" |
11 #include "xfa/fgas/font/fgas_font.h" | 11 #include "xfa/fgas/font/cfgas_fontmgr.h" |
12 | 12 |
13 class CFDE_TxtEdtEngine; | 13 class CFDE_TxtEdtEngine; |
14 class IFDE_TxtEdtPage; | 14 class IFDE_TxtEdtPage; |
15 class IFWL_Edit; | 15 class IFWL_Edit; |
16 | 16 |
17 #define FDE_TEXTEDITMODE_MultiLines (1L << 0) | 17 #define FDE_TEXTEDITMODE_MultiLines (1L << 0) |
18 #define FDE_TEXTEDITMODE_AutoLineWrap (1L << 1) | 18 #define FDE_TEXTEDITMODE_AutoLineWrap (1L << 1) |
19 #define FDE_TEXTEDITMODE_ReadOnly (1L << 2) | 19 #define FDE_TEXTEDITMODE_ReadOnly (1L << 2) |
20 #define FDE_TEXTEDITMODE_LimitArea_Vert (1L << 3) | 20 #define FDE_TEXTEDITMODE_LimitArea_Vert (1L << 3) |
21 #define FDE_TEXTEDITMODE_LimitArea_Horz (1L << 4) | 21 #define FDE_TEXTEDITMODE_LimitArea_Horz (1L << 4) |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 FDE_TXTEDT_TEXTCHANGE_INFO(); | 115 FDE_TXTEDT_TEXTCHANGE_INFO(); |
116 ~FDE_TXTEDT_TEXTCHANGE_INFO(); | 116 ~FDE_TXTEDT_TEXTCHANGE_INFO(); |
117 | 117 |
118 int32_t nChangeType; | 118 int32_t nChangeType; |
119 CFX_WideString wsInsert; | 119 CFX_WideString wsInsert; |
120 CFX_WideString wsDelete; | 120 CFX_WideString wsDelete; |
121 CFX_WideString wsPrevText; | 121 CFX_WideString wsPrevText; |
122 }; | 122 }; |
123 | 123 |
124 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ | 124 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ |
OLD | NEW |