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 FWL_EDIT_H_ | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_EDIT_H_ |
8 #define FWL_EDIT_H_ | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_EDIT_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "xfa/include/fwl/lightwidget/widget.h" | 12 #include "xfa/include/fwl/lightwidget/widget.h" |
13 | 13 |
14 class CFWL_WidgetImpProperties; | 14 class CFWL_WidgetImpProperties; |
15 class IFWL_Edit; | 15 class IFWL_Edit; |
16 | 16 |
17 #define FWL_CLASS_Edit L"FWL_EDIT" | 17 #define FWL_CLASS_Edit L"FWL_EDIT" |
18 #define FWL_CLASSHASH_Edit 2893987822 | 18 #define FWL_CLASSHASH_Edit 2893987822 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 void SetScrollOffset(FX_FLOAT fScrollOffset); | 161 void SetScrollOffset(FX_FLOAT fScrollOffset); |
162 FX_BOOL GetSuggestWords(CFX_PointF pointf, | 162 FX_BOOL GetSuggestWords(CFX_PointF pointf, |
163 std::vector<CFX_ByteString>& sSuggest); | 163 std::vector<CFX_ByteString>& sSuggest); |
164 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, | 164 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, |
165 const CFX_ByteStringC& bsReplace); | 165 const CFX_ByteStringC& bsReplace); |
166 | 166 |
167 protected: | 167 protected: |
168 IFWL_Edit(); | 168 IFWL_Edit(); |
169 }; | 169 }; |
170 | 170 |
171 #endif // FWL_EDIT_H_ | 171 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_EDIT_H_ |
OLD | NEW |