Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: xfa/fde/ifde_txtedtengine.h

Issue 2570033003: Remove unused CFWL_Edit flags. (Closed)
Patch Set: Rebase to master Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fde/cfde_txtedtpage.cpp ('k') | xfa/fwl/cfwl_edit.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/cfgas_fontmgr.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 CFWL_Edit; 15 class CFWL_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)
22 #define FDE_TEXTEDITMODE_NoRedoUndo (1L << 5)
23 #define FDE_TEXTEDITMODE_FIELD_TAB (1L << 6)
24 #define FDE_TEXTEDITMODE_FIELD_AUTO (1L << 7)
25 #define FDE_TEXTEDITMODE_Validate (1L << 8) 22 #define FDE_TEXTEDITMODE_Validate (1L << 8)
26 #define FDE_TEXTEDITMODE_Password (1L << 9) 23 #define FDE_TEXTEDITMODE_Password (1L << 9)
27 24
28 #define FDE_TEXTEDITALIGN_Left (0L << 0) 25 #define FDE_TEXTEDITALIGN_Left 0
29 #define FDE_TEXTEDITALIGN_Center (1L << 0) 26 #define FDE_TEXTEDITALIGN_Center (1L << 0)
30 #define FDE_TEXTEDITALIGN_Right (2L << 0) 27 #define FDE_TEXTEDITALIGN_Right (2L << 0)
31 #define FDE_TEXTEDITALIGN_Normal (1L << 3) 28 #define FDE_TEXTEDITALIGN_Normal (1L << 3)
32 #define FDE_TEXTEDITALIGN_Justified (1L << 4) 29 #define FDE_TEXTEDITALIGN_Justified (1L << 4)
33 #define FDE_TEXTEDITALIGN_Distributed (1L << 5)
34 30
35 #define FDE_TEXTEDITLAYOUT_DocVertical (1L << 0)
36 #define FDE_TEXTEDITLAYOUT_CharVertial (1L << 1)
37 #define FDE_TEXTEDITLAYOUT_LineReserve (1L << 2)
38 #define FDE_TEXTEDITLAYOUT_RTL (1L << 3)
39 #define FDE_TEXTEDITLAYOUT_CombText (1L << 4) 31 #define FDE_TEXTEDITLAYOUT_CombText (1L << 4)
40 #define FDE_TEXTEDITLAYOUT_ExpandTab (1L << 5)
41 #define FDE_TEXTEDITLAYOUT_ArabicContext (1L << 6)
42 #define FDE_TEXTEDITLAYOUT_ArabicShapes (1L << 7)
43 #define FDE_TEXTEDITLAYOUT_LastLineHeight (1L << 8) 32 #define FDE_TEXTEDITLAYOUT_LastLineHeight (1L << 8)
44 33
45 enum FDE_TXTEDTMOVECARET { 34 enum FDE_TXTEDTMOVECARET {
46 MC_MoveNone = 0, 35 MC_MoveNone = 0,
47 MC_Left, 36 MC_Left,
48 MC_Right, 37 MC_Right,
49 MC_Up, 38 MC_Up,
50 MC_Down, 39 MC_Down,
51 MC_WordBackward, 40 MC_WordBackward,
52 MC_WordForward, 41 MC_WordForward,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 FDE_TXTEDT_TEXTCHANGE_INFO(); 104 FDE_TXTEDT_TEXTCHANGE_INFO();
116 ~FDE_TXTEDT_TEXTCHANGE_INFO(); 105 ~FDE_TXTEDT_TEXTCHANGE_INFO();
117 106
118 int32_t nChangeType; 107 int32_t nChangeType;
119 CFX_WideString wsInsert; 108 CFX_WideString wsInsert;
120 CFX_WideString wsDelete; 109 CFX_WideString wsDelete;
121 CFX_WideString wsPrevText; 110 CFX_WideString wsPrevText;
122 }; 111 };
123 112
124 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ 113 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_
OLDNEW
« no previous file with comments | « xfa/fde/cfde_txtedtpage.cpp ('k') | xfa/fwl/cfwl_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698