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_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ | 7 #ifndef XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ |
8 #define XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ | 8 #define XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "xfa/fxfa/include/cxfa_eventparam.h" |
12 #include "xfa/fxfa/include/fxfa.h" | 13 #include "xfa/fxfa/include/fxfa.h" |
13 #include "xfa/fxfa/parser/xfa_document.h" | 14 #include "xfa/fxfa/parser/xfa_document.h" |
14 | 15 |
15 class CXFA_FFDocView; | 16 class CXFA_FFDocView; |
16 enum class FWL_WidgetHit; | 17 enum class FWL_WidgetHit; |
17 | 18 |
18 class CXFA_FFWidgetHandler { | 19 class CXFA_FFWidgetHandler { |
19 public: | 20 public: |
20 CXFA_FFWidgetHandler(CXFA_FFDocView* pDocView); | 21 CXFA_FFWidgetHandler(CXFA_FFDocView* pDocView); |
21 ~CXFA_FFWidgetHandler(); | 22 ~CXFA_FFWidgetHandler(); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 uint32_t dwFlags, | 120 uint32_t dwFlags, |
120 FX_FLOAT fInsets[4]) const; | 121 FX_FLOAT fInsets[4]) const; |
121 CXFA_Node* CreateValueNode(XFA_ELEMENT eValue, CXFA_Node* pParent) const; | 122 CXFA_Node* CreateValueNode(XFA_ELEMENT eValue, CXFA_Node* pParent) const; |
122 CXFA_Document* GetObjFactory() const; | 123 CXFA_Document* GetObjFactory() const; |
123 CXFA_Document* GetXFADoc() const; | 124 CXFA_Document* GetXFADoc() const; |
124 | 125 |
125 CXFA_FFDocView* m_pDocView; | 126 CXFA_FFDocView* m_pDocView; |
126 }; | 127 }; |
127 | 128 |
128 #endif // XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ | 129 #endif // XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ |
OLD | NEW |