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_FWL_LIGHTWIDGET_CFWL_EDIT_H_ | 7 #ifndef XFA_FWL_LIGHTWIDGET_CFWL_EDIT_H_ |
8 #define XFA_FWL_LIGHTWIDGET_CFWL_EDIT_H_ | 8 #define XFA_FWL_LIGHTWIDGET_CFWL_EDIT_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "xfa/fwl/basewidget/ifwl_edit.h" | 12 #include "xfa/fwl/core/ifwl_edit.h" |
13 #include "xfa/fwl/lightwidget/cfwl_widget.h" | 13 #include "xfa/fwl/lightwidget/cfwl_widget.h" |
14 | 14 |
15 class CFWL_WidgetProperties; | 15 class CFWL_WidgetProperties; |
16 class IFDE_TxtEdtDoRecord; | 16 class IFDE_TxtEdtDoRecord; |
17 | 17 |
18 class CFWL_Edit : public CFWL_Widget { | 18 class CFWL_Edit : public CFWL_Widget { |
19 public: | 19 public: |
20 CFWL_Edit(); | 20 CFWL_Edit(); |
21 ~CFWL_Edit() override; | 21 ~CFWL_Edit() override; |
22 | 22 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 FX_BOOL Paste(const CFX_WideString& wsPaste); | 62 FX_BOOL Paste(const CFX_WideString& wsPaste); |
63 FX_BOOL Delete(); | 63 FX_BOOL Delete(); |
64 void SetScrollOffset(FX_FLOAT fScrollOffset); | 64 void SetScrollOffset(FX_FLOAT fScrollOffset); |
65 FX_BOOL GetSuggestWords(CFX_PointF pointf, | 65 FX_BOOL GetSuggestWords(CFX_PointF pointf, |
66 std::vector<CFX_ByteString>& sSuggest); | 66 std::vector<CFX_ByteString>& sSuggest); |
67 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, | 67 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, |
68 const CFX_ByteStringC& bsReplace); | 68 const CFX_ByteStringC& bsReplace); |
69 }; | 69 }; |
70 | 70 |
71 #endif // XFA_FWL_LIGHTWIDGET_CFWL_EDIT_H_ | 71 #endif // XFA_FWL_LIGHTWIDGET_CFWL_EDIT_H_ |
OLD | NEW |