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_SRC_FXFA_SRC_APP_XFA_FFWIDGETHANDLER_H_ | 7 #ifndef XFA_SRC_FXFA_SRC_APP_XFA_FFWIDGETHANDLER_H_ |
8 #define XFA_SRC_FXFA_SRC_APP_XFA_FFWIDGETHANDLER_H_ | 8 #define XFA_SRC_FXFA_SRC_APP_XFA_FFWIDGETHANDLER_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "xfa/include/fxfa/fxfa.h" | 12 #include "xfa/include/fxfa/fxfa.h" |
| 13 #include "xfa/src/fxfa/src/common/xfa_document.h" |
13 | 14 |
14 class CXFA_FFDocView; | 15 class CXFA_FFDocView; |
15 | 16 |
16 class CXFA_FFWidgetHandler : public IXFA_WidgetHandler { | 17 class CXFA_FFWidgetHandler : public IXFA_WidgetHandler { |
17 public: | 18 public: |
18 CXFA_FFWidgetHandler(CXFA_FFDocView* pDocView); | 19 CXFA_FFWidgetHandler(CXFA_FFDocView* pDocView); |
19 ~CXFA_FFWidgetHandler(); | 20 ~CXFA_FFWidgetHandler(); |
20 virtual IXFA_Widget* CreateWidget(IXFA_Widget* hParent, | 21 virtual IXFA_Widget* CreateWidget(IXFA_Widget* hParent, |
21 XFA_WIDGETTYPE eType, | 22 XFA_WIDGETTYPE eType, |
22 IXFA_Widget* hBefore = NULL); | 23 IXFA_Widget* hBefore = NULL); |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 virtual FX_BOOL Redo(IXFA_Widget* hWidget); | 167 virtual FX_BOOL Redo(IXFA_Widget* hWidget); |
167 virtual FX_BOOL GetSuggestWords(IXFA_Widget* hWidget, | 168 virtual FX_BOOL GetSuggestWords(IXFA_Widget* hWidget, |
168 CFX_PointF pointf, | 169 CFX_PointF pointf, |
169 std::vector<CFX_ByteString>& sSuggest); | 170 std::vector<CFX_ByteString>& sSuggest); |
170 virtual FX_BOOL ReplaceSpellCheckWord(IXFA_Widget* hWidget, | 171 virtual FX_BOOL ReplaceSpellCheckWord(IXFA_Widget* hWidget, |
171 CFX_PointF pointf, | 172 CFX_PointF pointf, |
172 const CFX_ByteStringC& bsReplace); | 173 const CFX_ByteStringC& bsReplace); |
173 }; | 174 }; |
174 | 175 |
175 #endif // XFA_SRC_FXFA_SRC_APP_XFA_FFWIDGETHANDLER_H_ | 176 #endif // XFA_SRC_FXFA_SRC_APP_XFA_FFWIDGETHANDLER_H_ |
OLD | NEW |