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